shockspacer
Member
- Dec 16, 2018
- 125
- 32
- 38
Sorry Kevin, one more thing.
I don't know if its me or if its actually broken, but the fairy encounters don't seem to be working right for me either.
in MagEncounterFairy the game keeps jumping straight to line 15 even though I fulfill the requirements for it to trigger line 8.
if $ARGS[0] = '': (this is line 4)
knowsfairy['day'] = daystart'fairy_chat' (this is line 5)
if knowsfairy = 1:
if fairyshoo = 0:
act 'Look for the fairy to chat': gt 'MagEncounterFairy', 'fairy_chat' (this is line 8)
act 'Just be on your way': gt $loc, $loc_arg
else
if pcs_mana >= ((pcs_intel * pcs_magik + pcs_magik * 100 + pcs_vital * 10 + rikudo) / 2): act 'Be nice and chat with the fairy': gt 'MagEncounterFairy', 'fairy_chat'
if pcs_mana >= ((pcs_intel * pcs_magik + pcs_magik * 100 + pcs_vital * 10 + rikudo) / 4): act 'Just ignore the fairy': gt $loc, $loc_arg
act 'Shoo the pesky fairy away': gt 'MagEncounterFairy', 'fairy_shoo'
end
elseif pcs_magik + rand (1,10) >= 8: (this is line 15)
act 'Investigate the strange glow': gt 'MagEncounterFairy', 'fairy_chat_no1'
I've checked the two triggering variables knowsfairy is at one, and fairyshoo is at 0. I'm not familiar with the whatever language QSP is written in though, so I'm not exactly sure what line 4 and 5 does.
PS: could you by any chance also enlighten me on what does the ! symbol do in QSP? Such as in the following line:
if pcs_skin < 80 and fairyday ! daystart and fairyshoo = 0:
I don't know if its me or if its actually broken, but the fairy encounters don't seem to be working right for me either.
in MagEncounterFairy the game keeps jumping straight to line 15 even though I fulfill the requirements for it to trigger line 8.
if $ARGS[0] = '': (this is line 4)
knowsfairy['day'] = daystart'fairy_chat' (this is line 5)
if knowsfairy = 1:
if fairyshoo = 0:
act 'Look for the fairy to chat': gt 'MagEncounterFairy', 'fairy_chat' (this is line 8)
act 'Just be on your way': gt $loc, $loc_arg
else
if pcs_mana >= ((pcs_intel * pcs_magik + pcs_magik * 100 + pcs_vital * 10 + rikudo) / 2): act 'Be nice and chat with the fairy': gt 'MagEncounterFairy', 'fairy_chat'
if pcs_mana >= ((pcs_intel * pcs_magik + pcs_magik * 100 + pcs_vital * 10 + rikudo) / 4): act 'Just ignore the fairy': gt $loc, $loc_arg
act 'Shoo the pesky fairy away': gt 'MagEncounterFairy', 'fairy_shoo'
end
elseif pcs_magik + rand (1,10) >= 8: (this is line 15)
act 'Investigate the strange glow': gt 'MagEncounterFairy', 'fairy_chat_no1'
I've checked the two triggering variables knowsfairy is at one, and fairyshoo is at 0. I'm not familiar with the whatever language QSP is written in though, so I'm not exactly sure what line 4 and 5 does.
PS: could you by any chance also enlighten me on what does the ! symbol do in QSP? Such as in the following line:
if pcs_skin < 80 and fairyday ! daystart and fairyshoo = 0: