From 702ad26499ccad6fb037d1a1f0d26d56230ca00b Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sat, 22 Feb 2014 02:21:16 +0100 Subject: added code for spawning several apartments simultaneously --- init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.lua') 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 = {}; -- cgit v1.2.3