572
edits
(Statue special case) |
No edit summary |
||
Line 317: | Line 317: | ||
-- Check for the special statue case | -- Check for the special statue case | ||
local STATUE_OF = 'Statue of ' | local STATUE_OF = 'Statue of ' | ||
if | if string.sub(name, 1, string.len(STATUE_OF)) == STATUE_OF then | ||
local building = Shared.clone(GameData.getEntityByName(Township.buildings, 'STATUE_NAME')) | local building = Shared.clone(GameData.getEntityByName(Township.buildings, 'STATUE_NAME')) | ||
building.name = name | building.name = name |
edits