BGforgeNet / Fallout2_Unofficial_Patch

Fallout 2 Unofficial Patch, updated
https://forums.bgforge.net/viewforum.php?f=39
135 stars 10 forks source link

Options are not displayed for Tubby #91

Closed dzmitry-rudnouski closed 2 years ago

dzmitry-rudnouski commented 2 years ago

What happened

Please help me understand why 2 options are not displayed: https://github.com/BGforgeNet/Fallout2_Unofficial_Patch/blob/master/scripts_src/den/dctubby.ssl#L326,L327 IQ=3 (or 4 with smooth_talker), it's greater than -003.

Savegame

SLOT01.zip

Lexx2k commented 2 years ago

-003 is just a different way of turning this into a dumb dialog option.

dzmitry-rudnouski commented 2 years ago

Found the answer. NOption is macros for giQ_Option. And here is iq_test parameter description. Int: When Int is positive (1 to 10), then this means "player has Int or equal", so 4 means that the player requires 4 int or more to see this answer option. When Int is negative (-1 to -9), this means that the player needs ot have less or equal. So -3 means "player has 3 of Int or less"