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/sprout.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/itemsystem/items/sprout.lua') diff --git a/gamemode/itemsystem/items/sprout.lua b/gamemode/itemsystem/items/sprout.lua index 3afb731..3aab4c5 100644 --- a/gamemode/itemsystem/items/sprout.lua +++ b/gamemode/itemsystem/items/sprout.lua @@ -6,7 +6,7 @@ ITEM.Description = "Something you can craft with!" ITEM.Icon = "test.png" ITEM.UniqueData = false -ITEM.GrowTime = 1 +ITEM.GrowTime = math.random( 60, 180 ) ITEM.OnGrow = function(self, aor, owner) local ent = ents.Create( "gms_tree" ) ent:SetPos( self:GetPos() ) -- cgit v1.2.3-70-g09d2