aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index c636fec..81d6800 100644
--- a/init.lua
+++ b/init.lua
@@ -26,6 +26,7 @@
--]]
-- Changelog:
+-- 22.02.14 Added code for spawning several apartments at the same time.
-- 18.02.14 Added support for further nodes (shops, travelnet, ..).
-- Cleaned up formspec that contains apartment information.
-- Introduced diffrent categories so that i.e. a shop and an apartment can be rented at the same time.
@@ -42,6 +43,8 @@ minetest.register_privilege("apartment_unrent", { description = "allows to throw
apartment = {}
+dofile(minetest.get_modpath("apartment")..'/handle_schematics.lua');
+
-- will contain information about all apartments of the server in the form:
-- { apartment_descr = { pos={x=0,y=0,z=0}, original_owner='', owner=''}
apartment.apartments = {};