aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2014-02-22 02:21:16 +0100
committerSokomine <wegwerf@anarres.dyndns.org>2014-02-22 02:21:16 +0100
commit702ad26499ccad6fb037d1a1f0d26d56230ca00b (patch)
tree6dcbcab68cecd2a18d4ad932fbba04440e20ee00 /init.lua
parent51fa051a2c91b99dc15aa18cec283991d04b0710 (diff)
downloadapartment-702ad26499ccad6fb037d1a1f0d26d56230ca00b.tar.gz
apartment-702ad26499ccad6fb037d1a1f0d26d56230ca00b.tar.bz2
apartment-702ad26499ccad6fb037d1a1f0d26d56230ca00b.zip
added code for spawning several apartments simultaneously
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 = {};