1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-11-05 01:40:40 +01:00

Added salt

This commit is contained in:
TenPlus1 2018-02-08 13:03:24 +00:00
parent 8e18a4e4aa
commit c55a63ce16
3 changed files with 28 additions and 2 deletions

View File

@ -13,7 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t
Changelog:
1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting)
1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water
1.30 - Added Garlic, Pepper and Onions thanks to Grizzly Adam for sharing textures
1.29 - Updating functions so requires Minetest 0.4.16 and above to run
1.28 - Added chili peppers and bowl of chili, optimized code and fixed a few bugs, added porridge

View File

@ -13,4 +13,30 @@ minetest.register_craft({
cooktime = 3,
output = "farming:sugar 2",
recipe = "default:papyrus",
})
})
--= Salt
minetest.register_node("farming:salt", {
description = ("Salt"),
inventory_image = "farming_salt.png",
wield_image = "farming_salt.png",
drawtype = "plantlike",
paramtype = "light",
tiles = {"farming_salt.png"},
groups = {vessel = 1, salt = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
})
minetest.register_craft({
type = "cooking",
cooktime = 15,
output = "farming:salt",
recipe = "bucket:bucket_water",
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})

BIN
textures/farming_salt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B