From 1d750263411f9bf1f45b0622f9c8d60a99ad8587 Mon Sep 17 00:00:00 2001 From: Nicholas Hayashi Date: Thu, 15 Jul 2021 00:00:12 -0400 Subject: [PATCH] todo --- src/tower.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tower.lua b/src/tower.lua index ead3dfb..9fb4fb1 100644 --- a/src/tower.lua +++ b/src/tower.lua @@ -481,6 +481,7 @@ function tower_type_is_buildable_on(hex, tile, tower_type) local mobs_blocking = table.count(blocking_mobs) ~= 0 local blocked = mobs_blocking or towers_blocking + -- @TODO i think the howitzer and gattler should not be placeable next to other towers other than the wall and moat, and perhaps not next to mountains either if tower_type == TOWER_TYPE.GATTLER then return not (blocked or has_water or has_mountain)