ILH :: LESSON 2 - Personalities, Skills & Interests

Personality (continued)

And there you have it. Here are all the comfort and energy statements we were looking for, and all the lovely beds that Maxis so conveniently packed into one bed Tree Table. Isn't that just so nice?

We should know by now how to determine which bed is ours, but if you've forgotten, here's a reminder: It's the bed that contains your Hex Cookie number in the middle of the GUID. What? You can't remember what yours is? Shame on you!! Go to the OBJD section and look it up under GUID, and then write down 100 times "My Hex Cookie Number is Blah Blah Blah."

Moving right along, now that we've determined which bed is which, rewrite all the statements so as to make things easier to read. Take a look at the screen:


Fig. 1.13

We need only worry about statements 0 through 2. Statement 0 identifies our chair and then jumps to statement 2 where energy is injected.

Statement 2 jumps to statement 3 where comfort is injected and the routine ends, signified by the True/Error return lines. See? So to add our nice point, we can add it anywhere between statements 0 and 2 (after the start of the routine and before the end of it). We're going to add it right after the bed is identified (after statement 0).

Right click anywhere and select "Add" from the menu. Doing so will give us a new statement #13:


Fig. 1.14