From 177244f9bb57ce07c226fa257766389ded75922c Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 4 May 2015 23:00:33 -0700 Subject: Make the act of growing cost extra water. --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index cd65e0c..0880299 100644 --- a/init.lua +++ b/init.lua @@ -75,6 +75,8 @@ crops.can_grow = function(pos) return false end end + -- growing costs water! + meta:set_int("crops_water", math.max(0, water - 10)) -- allow the plant to grow return true -- cgit v1.2.3