summaryrefslogtreecommitdiff
path: root/lib/core/building.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-11 20:12:00 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-19 18:36:20 +0200
commit4b70bb3c271fc00a4e2246f31747a5020e72a9b2 (patch)
treea15d4ed1f5fcf0b9a65366562c2ade5e92a3da9a /lib/core/building.lua
parenta00ed11376064353475b29c23b6deebc1cc1dfc9 (diff)
Lua: Remove dead building.lua
Diffstat (limited to 'lib/core/building.lua')
-rw-r--r--lib/core/building.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/core/building.lua b/lib/core/building.lua
deleted file mode 100644
index 8e88888a..00000000
--- a/lib/core/building.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-__building_actions = {}
-
-function add_building_action(a)
- assert(a.index, "No building action index")
- assert(a.action, "No building action action")
- __building_actions[a.index] = a.action
-end
-
-function __bact_activate(bact)
- if __building_actions[bact] then
- return __building_actions[bact]()
- end
-end
-
-add_hook_script(HOOK_BUILDING_ACTION, "__bact_activate", "__bact_activate")