From 8bfa30677e6dc34624380e99b8e4e051d9a468c6 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Fri, 30 Oct 2015 17:38:17 +0100 Subject: [PATCH] Add description to spawners --- ghost/init.lua | 3 ++- sheep/init.lua | 3 ++- zombie/init.lua | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ghost/init.lua b/ghost/init.lua index 91988a8..c8be621 100644 --- a/ghost/init.lua +++ b/ghost/init.lua @@ -35,7 +35,7 @@ local def = { }, modes = { - idle = {chance = 0.65, duration = 3, update_yaw = 6},--dur = 8 is gut + idle = {chance = 0.65, duration = 3, update_yaw = 6}, fly = {chance = 0.25, duration = 2.5, moving_speed = 2, max_height = 25, target_offset = 2.1}, fly_2 = {chance = 0.1, duration = 4, moving_speed = 1.6, update_yaw = 3, max_height = 25, target_offset = 2.5}, -- special modes @@ -94,6 +94,7 @@ local def = { }, spawner = { + description = "Ghost Spawner", range = 8, number = 6, light = {min = 0, max = 8}, diff --git a/sheep/init.lua b/sheep/init.lua index 0423300..a057c66 100644 --- a/sheep/init.lua +++ b/sheep/init.lua @@ -125,6 +125,7 @@ local def = { }, --[[spawner = { + description = "Sheep Spawner", range = 8, player_range = 20, number = 6, @@ -156,7 +157,7 @@ local def = { self.target = clicker self.mode = "follow" self.modetimer = 0 - + if not self.tamed then self.fed_cnt = (self.fed_cnt or 0) + 1 end diff --git a/zombie/init.lua b/zombie/init.lua index 66d934b..74b1e4e 100644 --- a/zombie/init.lua +++ b/zombie/init.lua @@ -99,6 +99,7 @@ local def = { }, spawner = { + description = "Zombie Spawner", range = 8, number = 6, light = {min = 0, max = 8},