Lesson 3:  Interests & Skill Bar

Interests  (continued)

Open your interestbookcase.iff in IFF, and then go into the BHAV section. If you'll notice, there are behaviors in there for studying cooking and mechanical, and each has a test behvior.

First we're going to explore these behaviors to give you a better understanding of how the bookcase works, and then we'll put our discoveries into practice.

We start by going to the TTAB section, and since we are working with an expensive bookcase, we open #129. I know there are two there that say "Expensive", but ours is the "Expensive" one — the short and wide one:


Fig. 1.1

Inside we see that the behavior for Study Cooking is #4102 and the check tree is #4103. Let's mosey on over to #4102 to take a peek inside.


Fig. 1.2

The only private call in there is to "do read" and that one is behavior #4116 according to the information in the Data Box. Let's go over there now to see what's up. If anything looks promising we should make note of it.

Rewrite #4116 so you can read it easier, and look for the private calls — there are 6 in all.

"private get book" = This is telling the Sim to get the book from the bookcase, so that's not important to us.

"private set fun" = We're not messing with incentives, so this couldn't possibly be it.

"private read sitting down" = We should investigate because it sounds like where the actual "reading" or action is taking place.