summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/sprout.lua
diff options
context:
space:
mode:
authorScott <scotth0828@gmail.com>2016-05-20 18:59:36 -0400
committerScott <scotth0828@gmail.com>2016-05-20 18:59:36 -0400
commit127ae80dd100b348b95f6850e3854f6ab0de8323 (patch)
treeefaa6c7d35b55c27103f330ea58031b445827660 /gamemode/itemsystem/items/sprout.lua
parentbff19ab32709fe1c19500d6ac72cfa805f023f98 (diff)
downloadgmstranded-127ae80dd100b348b95f6850e3854f6ab0de8323.tar.gz
gmstranded-127ae80dd100b348b95f6850e3854f6ab0de8323.tar.bz2
gmstranded-127ae80dd100b348b95f6850e3854f6ab0de8323.zip
1-3 minute growtime for seeds, seeds removed from inventory on spawn, limit to distance seeds can be planted
Diffstat (limited to 'gamemode/itemsystem/items/sprout.lua')
-rw-r--r--gamemode/itemsystem/items/sprout.lua2
1 files changed, 1 insertions, 1 deletions
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() )