Remove weird constants in default

This commit is contained in:
PilzAdam 2014-12-07 15:17:09 +01:00 committed by Novatux
parent 2c0f716a13
commit c654c9fd11
6 changed files with 28 additions and 20 deletions

View file

@ -23,5 +23,5 @@ Plant definition
steps = 8, -- How many steps the plant has to grow, until it can be harvested
^ Always provide a plant texture for ech step, format: modname_plantname_i.png (i = stepnumber)
minlight = 13, -- Minimum light to grow
maxlight = LIGHT_MAX -- Maximum light to grow
maxlight = default.LIGHT_MAX -- Maximum light to grow
}

View file

@ -13,7 +13,7 @@ farming.register_plant("farming:wheat", {
inventory_image = "farming_wheat_seed.png",
steps = 8,
minlight = 13,
maxlight = LIGHT_MAX,
maxlight = default.LIGHT_MAX,
fertility = {"grassland"}
})
minetest.register_craftitem("farming:flour", {
@ -46,7 +46,7 @@ farming.register_plant("farming:cotton", {
inventory_image = "farming_cotton_seed.png",
steps = 8,
minlight = 13,
maxlight = LIGHT_MAX,
maxlight = default.LIGHT_MAX,
fertility = {"grassland", "desert"}
})