Could anyone check if this is right or wrong?
The idea is the following: A mob tells to burn 4 piles of wood that are in the area, these 4 piles can be burnt in whatever orden the player wishes, then the player must return to the mob.
These 4 piles are the same object and upon triggering the room intercept, the local pile of wood is burnt and the qbit is added.
First the character activates the quest:
Code: Select all
>speech_prog yes aye
if quest(0,5,$n) == 0
nod $n
sayto $n Alright, do not forgot to torch them.
mpmset $n quest 0 5 1
endif
~
Each of these progs are in a different room each one:
>intercept_prog torch
mpechoat $n The big pile of wood burns in a huge fire as $n torch it
mpechoaround $n The big pile of wood burns in a huge fire as $n torchs it
if quest(0,5,$n) == 1
mpmset $n quest 1 5 1
~
>intercept_prog torch
mpechoat $n The big pile of wood burns in a huge fire as $n torch it
mpechoaround $n The big pile of wood burns in a huge fire as $n torchs it
if quest(0,5,$n) == 1
mpmset $n quest 2 5 1
endif
~
>intercept_prog torch
mpechoat $n The big pile of wood burns in a huge fire as $n torch it
mpechoaround $n The big pile of wood burns in a huge fire as $n torchs it
if quest(0,5,$n) == 1
mpmset $n quest 3 5 1
endif
~
>intercept_prog torch
mpechoat $n The big pile of wood burns in a huge fire as $n torch it
mpechoaround $n The big pile of wood burns in a huge fire as $n torchs it
if quest(0,5,$n) == 1
mpmset $n quest 4 5 1
endif
~
Code: Select all
>greet_prog 100
if quest(0,5,$n) == 0
sayto $n Would you like to help me?
endif
if quest(0,5,$n) == 1
if quest(1,5,$n) == 1
if quest(2,5,$n) == 1
if quest(3,5,$n) == 1
if quest(4,5,$n) == 1
sayto $n God Job!
mpmset $n quest 5 5 1
else
if quest(0,5,$n) == 1
sayto $n Please remember to finish your task!
endif
endif
~