Code: Select all
A0C00Y07, Commoners, N, 0, 0, Passed with issues. Does not check victory condition correctly. Does not confine enemy spawns to target building.
Anyway, Jay has some fixes in his recent PR that should fix this one.
Code: Select all
A0C00Y07, Commoners, N, 0, 0, Passed with issues. Does not check victory condition correctly. Does not confine enemy spawns to target building.
While you did get it working in that the quest does terminate. It still does not seem to be working as I would expect.
Code: Select all
-- Quest start-up:
start timer _oneday_ (time limit of 24 hours)
log 1010 step 0
pc at _house_ set _S.01_ (once the PC steps inside the house, S.01 will activate)
create npc at _house_
Code: Select all
_S.01_ task:
pick one of _S.04_ _S.05_ _S.06_ _S.07_
_S.04_ task:
create foe _bats_ every 3 minutes 8 times with 25% success
_S.05_ task:
create foe _rats_ every 3 minutes 10 times with 25% success
_S.06_ task:
create foe _scorpions_ every 3 minutes 4 times with 25% success
_S.07_ task:
create foe _spiders_ every 3 minutes 4 times with 25% success
Code: Select all
_S.03_ task:
killed 6 _bats_
killed 3 _spiders_
killed 7 _rats_
killed 3 _scorpions_
Code: Select all
_mondead_ task:
killed 4 _rats_
killed 4 _monster_
say 1020
Code: Select all
_questdone_ task:
clicked npc _qgiver_
give pc _gold_
Code: Select all
_pcgetsgold_ task:
when _questdone_ and _S.03_
give pc _gold_
end quest
Code: Select all
_slain1_ task:
killed 8 _rat_
start task _spawn2_
_spawn2_ task:
create foe _spider_ every 8 minutes with 25% success