Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 315: Line 315:


-- Gets a Township building by name, e.g. Hunters Cabin
-- Gets a Township building by name, e.g. Hunters Cabin
function p._GetBuildingByID(name)
function p._GetBuildingByName(name)
GameData.getEntityByName(Township.buildings, name)
GameData.getEntityByName(Township.buildings, name)
end
end
572

edits