Only the player can step on thieves

This commit is contained in:
Eevee (Evelyn Woods) 2020-09-09 17:28:19 -06:00
parent 420b497cf2
commit 274fa7c3c5

View File

@ -373,6 +373,8 @@ const TILE_TYPES = {
},
thief_tools: {
draw_layer: LAYER_TERRAIN,
blocks_monsters: true,
blocks_blocks: true,
on_arrive(me, level, other) {
if (other.inventory) {
for (let [name, count] of Object.entries(other.inventory)) {
@ -385,6 +387,8 @@ const TILE_TYPES = {
},
thief_keys: {
draw_layer: LAYER_TERRAIN,
blocks_monsters: true,
blocks_blocks: true,
on_arrive(me, level, other) {
if (other.inventory) {
for (let [name, count] of Object.entries(other.inventory)) {