diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-02-08 13:03:24 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-02-08 13:03:24 +0000 |
commit | c55a63ce16284413dcf120be1876a9cd05dfe7df (patch) | |
tree | f36b916b1d7d898615b9efc6eb473d9a805bc81c /sugar.lua | |
parent | 8e18a4e4aa3a544c3ea0f4d382610e93e706de20 (diff) |
Added salt
Diffstat (limited to 'sugar.lua')
-rw-r--r-- | sugar.lua | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -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"}} +}) |