diff options
-rw-r--r-- | README.txt | 2 | ||||
-rw-r--r-- | sugar.lua | 28 | ||||
-rw-r--r-- | textures/farming_salt.png | bin | 0 -> 254 bytes |
3 files changed, 28 insertions, 2 deletions
@@ -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 @@ -13,4 +13,30 @@ minetest.register_craft({ cooktime = 3, output = "farming:sugar 2", recipe = "default:papyrus", -})
\ No newline at end of file +}) + + +--= 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"}} +}) diff --git a/textures/farming_salt.png b/textures/farming_salt.png Binary files differnew file mode 100644 index 0000000..0aa733a --- /dev/null +++ b/textures/farming_salt.png |