Исправлен мод heroturrets

Добавлен мод blueprint-sandboxes
Добавляет метку версии в zzzparanoidal (#72)
This commit is contained in:
2024-08-16 10:59:02 +03:00
parent b5ed31105c
commit 46d69f3a45
56 changed files with 4537 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
-- Custom Planners to add/remove Resources
local Tiles = {}
Tiles.name = BPSB.pfx .. "sandbox-tiles"
Tiles.pfx = BPSB.pfx .. "sbt-"
local pfxLength = string.len(Tiles.pfx)
-- Whether the Thing is a Tile Planner
function Tiles.IsTilePlanner(name)
return string.sub(name, 1, pfxLength) == Tiles.pfx
end
-- Extract the Resource Name from a Tile Planner
function Tiles.GetResourceName(name)
return string.sub(name, pfxLength + 1)
end
return Tiles