diff --git a/crops/soy.lua b/crops/soy.lua index cb71c67..fa184cb 100644 --- a/crops/soy.lua +++ b/crops/soy.lua @@ -24,6 +24,38 @@ minetest.register_craft({ recipe = {"farming:soy_pod"} }) +-- soy sauce +minetest.register_node("farming:soy_sauce", { + description = S("Soy Sauce"), + drawtype = "plantlike", + tiles = {"farming_soy_sauce.png"}, + inventory_image = "farming_soy_sauce.png", + wield_image = "farming_soy_sauce.png", + paramtype = "light", + walkable = false, + selection_box = { + type = "fixed", + fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} + }, + groups = { + vessel = 1, food_soy_sauce = 1, dig_immediate = 3, attached_node = 1 + }, + sounds = default.node_sound_glass_defaults() +}) + +minetest.register_craft( { + type = "shapeless", + output = "farming:soy_sauce", + recipe = { + "group:food_soy", "group:food_soy", "group:food_juicer", + "bucket:bucket_river_water", "vessels:glass_bottle", "group:food_salt" + }, + replacements = { + {"bucket:bucket_river_water", "bucket:bucket_empty"}, + {"group:food_juicer", "farming:juicer"} + } +}) + -- soy milk minetest.register_node("farming:soy_milk", { description = S("Soy Milk"), diff --git a/textures/farming_soy_sauce.png b/textures/farming_soy_sauce.png new file mode 100644 index 0000000..f32caec Binary files /dev/null and b/textures/farming_soy_sauce.png differ