From 127ae80dd100b348b95f6850e3854f6ab0de8323 Mon Sep 17 00:00:00 2001 From: Scott Date: Fri, 20 May 2016 18:59:36 -0400 Subject: 1-3 minute growtime for seeds, seeds removed from inventory on spawn, limit to distance seeds can be planted --- gamemode/itemsystem/items/bananaseeds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/itemsystem/items/bananaseeds.lua') diff --git a/gamemode/itemsystem/items/bananaseeds.lua b/gamemode/itemsystem/items/bananaseeds.lua index 5b692cf..80b8379 100644 --- a/gamemode/itemsystem/items/bananaseeds.lua +++ b/gamemode/itemsystem/items/bananaseeds.lua @@ -9,7 +9,7 @@ ITEM.UniqueData = false --Things needed to make something plantable -ITEM.GrowTime = 1 +ITEM.GrowTime = math.random( 60, 180 ) ITEM.OnGrow = function(self, aor, owner) local plant = GAMEMODE.MakeGenericPlant( owner, self:GetPos() + Vector( 0, 0, -3 ), "models/props/de_dust/du_palm_tree01_skybx.mdl" ) plant.Children = 0 -- cgit v1.2.3-70-g09d2