1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-28 11:55:29 +01:00

Rename the game mod farming to _farming

Because of conflicts with farming(redo)
This commit is contained in:
Ombridride
2014-10-30 23:26:29 +01:00
parent 9660a2fc60
commit 65b06ed4ca
41 changed files with 0 additions and 0 deletions

View File

@@ -1,27 +0,0 @@
farming.register_hoe(name, hoe definition)
-> Register a new hoe, see [hoe definition]
farming.register_plant(name, Plant definition)
-> Register a new growing plant, see [Plant definition]
Hoe Definition
{
description = "", -- Description for tooltip
inventory_image = "unknown_item.png", -- Image to be used as wield- and inventory image
max_uses = 30, -- Uses until destroyed
recipe = { -- Craft recipe
{"air", "air", "air"},
{"", "group:stick"},
{"", "group:stick"},
}
}
Plant definition
{
description = "", -- Description of seed item
inventory_image = "unknown_item.png", -- Image to be used as seed's wield- and inventory image
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
}