From caf695acfee1c1b1606f6101c94181d1b1a6f8a3 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 3 Sep 2020 10:44:19 -0600 Subject: [PATCH] Put thin walls on the terrain layer for now --- js/tiletypes.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index 0161654..e5da2e8 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -41,24 +41,25 @@ const TILE_TYPES = { level.transmute_tile(me, 'wall'); }, }, + // FIXME these should be OVERLAY by cc2 rules, but the cc1 tiles are opaque and cover everything else thinwall_n: { - draw_layer: LAYER_OVERLAY, + draw_layer: LAYER_TERRAIN, thin_walls: new Set(['north']), }, thinwall_s: { - draw_layer: LAYER_OVERLAY, + draw_layer: LAYER_TERRAIN, thin_walls: new Set(['south']), }, thinwall_e: { - draw_layer: LAYER_OVERLAY, + draw_layer: LAYER_TERRAIN, thin_walls: new Set(['east']), }, thinwall_w: { - draw_layer: LAYER_OVERLAY, + draw_layer: LAYER_TERRAIN, thin_walls: new Set(['west']), }, thinwall_se: { - draw_layer: LAYER_OVERLAY, + draw_layer: LAYER_TERRAIN, thin_walls: new Set(['south', 'east']), }, fake_wall: {