circuit blocks make wired floor in water
This commit is contained in:
parent
86404dbc5b
commit
456ebc334b
@ -834,6 +834,12 @@ const TILE_TYPES = {
|
|||||||
level.transmute_tile(other, 'splash');
|
level.transmute_tile(other, 'splash');
|
||||||
level.transmute_tile(me, 'gravel');
|
level.transmute_tile(me, 'gravel');
|
||||||
}
|
}
|
||||||
|
else if (other.type.name === 'circuit_block') {
|
||||||
|
level.transmute_tile(me, 'floor');
|
||||||
|
me.wire_directions = other.wire_directions;
|
||||||
|
level.transmute_tile(other, 'splash');
|
||||||
|
|
||||||
|
}
|
||||||
else if (other.type.is_real_player) {
|
else if (other.type.is_real_player) {
|
||||||
level.fail('drowned', me, other);
|
level.fail('drowned', me, other);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user