Lesson 3:  Interests & Skill Bar

Interests  (continued)

"private put book" = Nope. That's just instructions telling the Sim to put the book away.

"private set fun" = Again? We don't really care about fun motivation.

"private read standing up" = Once again, we should really look into this one.

"Read Sitting Down" is #4106 and that is probably the one we should look into first. Open #4106 and let's take a look.

There are two privates here. The first is "store original points" and while it is talking about points, it doesn't say anything about adding them. Plus, I don't like the sound of "store" and "original", so my gut feeling is, forget that one. For now.

Next we have "private finished reading?". I like that one. Usually points are given once the reading action is complete, right? I think so. So next we'll look at #4118.

Aha! There's only one private call in there and guess what it does? By golly, you're right! It adds... POINTS! Woo hoo! (does the Eureka dance) Ahem.


Fig. 1.3

Anyway, I'm pretty sure that's it, so I'm going there. Open #4109 "add points" and rewrite so we can look inside.

There are 54 statements total in this behavior. Half of them deal with learning cooking and the other half deal with learning mechanical. As far as the specific lines dealing with the above-said skills, there are 7 for for cooking and likewise 7 for mechanical. The ones we are interested in all say something about cooking. Like this:


Fig. 1.4