From dc8e1ce5b216bcd6972152e7b6fc3ced09ada6db Mon Sep 17 00:00:00 2001 From: "Tai @ Flex" Date: Thu, 29 Sep 2016 16:16:21 +0100 Subject: [PATCH] move config to spawndefs --- spawndefs.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/spawndefs.lua b/spawndefs.lua index 64eb772..62bc279 100644 --- a/spawndefs.lua +++ b/spawndefs.lua @@ -1,3 +1,17 @@ + +spawnstep.proximity = 5 -- radius range of player detection, around trap node +spawnstep.spawnrange = 7 -- radius range of where the mob will spawn + +spawnstep.interval = 1 -- how frequently to try to spawn a new mob (seconds) + +spawnstep.maxmobs = 4 -- maxiumum number of mobs to allow in area defined by spawn range, around the trap node + +spawnstep.tiles = { -- define the tiles for the trap node + "default_stone.png^default_mese_crystal.png" +} + +-- ++++++++++++++++++++ + spawnstep.mobnodes = { dirtmonster = { node="default:dirt",