Allow monsters to pass through chips in order to kill a player

This commit is contained in:
Eevee (Evelyn Woods) 2021-03-04 13:50:19 -07:00
parent b7e05f2eb9
commit fae19ab37b

View File

@ -59,7 +59,7 @@ export class Tile {
// Extremely awkward special case: items don't block monsters if the cell also contains an
// item modifier (i.e. "no" sign) or a real player
// TODO would love to get this outta here
if (this.type.is_item) {
if (this.type.is_item || this.type.is_chip) {
let item_mod = this.cell.get_item_mod();
if (item_mod && item_mod.type.item_modifier)
return false;