circuit blocks make wired floor in water

This commit is contained in:
Timothy Stiles 2021-02-14 22:10:30 +11:00
parent 86404dbc5b
commit 456ebc334b

View File

@ -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);
} }