In your if loop checking for an enemy, build a fence at x,y.
hero.buildXY("fence", x, y)
Then use maybeBuildTrap()
at all of the entrances in the while true loop.
1 Like
your supposed to use firetraps because more peasants want to enter the village and get ambushed by the ogres who were trapped out ofthe village by the fences
Right… I forgot that this level you need to build fire-traps.
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.