running over unfound traps results in this:
Code: Select all
Lua Error: /engine/interface/PlayerRun.lua:78: attempt to index field 'running' (a nil value)
At [C]:-1
At /engine/interface/PlayerRun.lua:78 runStep
At /mod/class/Player.lua:96 act
At /engine/GameEnergyBased.lua:52 tick
At /engine/GameTurnBased.lua:23 tick
At /mod/class/Game.lua:215
and it doesnt display the damage message (from the trap), it does stop you running (and says that you took damage).
also, traps should be changed/updated so that it doesnt count as the player/npc attacking itself (but they should still take damage).
maybe change the poison message to: "poison courses through @target@'s veins" or something
and burning to "@target@ continues to burn."
and disease to a variation of "@target@'s flesh rots." (changes depending on disease type)
not sure how you do possessives though
Oliphant am I, and I never lie.