minetown guards outside the town proper
Pat forwarded a message from the newsgroup in March that the town guards enforce rules even outside the town proper. Fix: On room-based town levels, check if the location is in a room containing subrooms (roomno will often have a subroom id instead). On the other levels (e.g. minetn-5), there are no subrooms, so the whole level is fair game. Currently, this is valid. If fancier towns are added in the future, more flags or use of regions may be required to tell where the town border actually is. These checks are done in a new in_town function.
This commit is contained in:
@@ -166,6 +166,7 @@ in some situations, if hero stood still, a hostile dwarf would switch back
|
||||
uncontrolled teleports did not handle leashed pets
|
||||
minetown fountain warnings shouldn't prevent finding gems/coins in fountain
|
||||
order of container and objects was different for mazelike and roomfilled levels
|
||||
minetown guards only enforce town rules inside the town proper
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user