Browse Source

todo

master
Nicholas Hayashi 3 years ago
parent
commit
1d75026341
  1. 1
      src/tower.lua

1
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 mobs_blocking = table.count(blocking_mobs) ~= 0
local blocked = mobs_blocking or towers_blocking 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 if tower_type == TOWER_TYPE.GATTLER then
return not (blocked or has_water or has_mountain) return not (blocked or has_water or has_mountain)

Loading…
Cancel
Save