summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-05-07 21:27:41 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-05-07 21:27:41 -0700
commit27fb2fa79b9ec6b93aa8a40c6f892f10ead38c12 (patch)
treeb70a08827e5fb95366050e7cdb6d55e44eecb8e9 /init.lua
parent123c866c8436ea8b6198c02acfbdd1eae4e69a79 (diff)
Fix settings - this actually works OK.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 1a35830..211f8fd 100644
--- a/init.lua
+++ b/init.lua
@@ -12,11 +12,16 @@ of the license, or (at your option) any later version.
crops = {}
crops.plants = {}
+crops.settings = {}
local settings_easy = {
chance = 4,
interval = 30,
light = 8,
+ watercan = 25,
+ watercan_max = 90,
+ watercan_uses = 20,
+ max_damage = 25
}
local settings_normal = {
chance = 8,
@@ -27,13 +32,16 @@ local settings_normal = {
watercan_uses = 20,
max_damage = 50
}
-local settings_hard = {
+local settings_difficult = {
chance = 16,
interval = 30,
light = 13,
+ watercan = 25,
+ watercan_max = 100,
+ watercan_uses = 20,
+ max_damage = 100
}
-
local worldpath = minetest.get_worldpath()
local modpath = minetest.get_modpath(minetest.get_current_modname())