mirror of
https://github.com/Dragonop/claycrafter.git
synced 2024-11-26 01:03:50 +01:00
Update recipes to use groups
Modifies all crafting recipes to use groups instead of fixed items, including adding a new crafting recipe to craft glasses of water using water sources Special thanks to @mruncreative for showing insterest and inspiring me to do this changes (Resolves #14)
This commit is contained in:
parent
84008fa3e2
commit
d1415aebff
30
items.lua
30
items.lua
@ -7,9 +7,9 @@ else
|
||||
minetest.register_craft({
|
||||
output = "claycrafter:compressed_dirt",
|
||||
recipe = {
|
||||
{"default:dirt", "default:dirt", "default:dirt"},
|
||||
{"default:dirt", "default:dirt", "default:dirt"},
|
||||
{"default:dirt", "default:dirt", "default:dirt"}
|
||||
{"group:dirt", "group:dirt", "group:dirt"},
|
||||
{"group:dirt", "group:dirt", "group:dirt"},
|
||||
{"group:dirt", "group:dirt", "group:dirt"}
|
||||
}
|
||||
})
|
||||
minetest.register_node("claycrafter:compressed_dirt", {
|
||||
@ -47,12 +47,24 @@ minetest.register_node("claycrafter:glass_of_water", {
|
||||
minetest.register_craft({
|
||||
output = "claycrafter:glass_of_water 8",
|
||||
recipe = {
|
||||
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"},
|
||||
{"vessels:drinking_glass", "bucket:bucket_water", "vessels:drinking_glass"},
|
||||
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"}
|
||||
{"group:vessel", "group:vessel", "group:vessel"},
|
||||
{"group:vessel", "group:water_bucket", "group:vessel"},
|
||||
{"group:vessel", "group:vessel", "group:vessel"}
|
||||
},
|
||||
replacements = {
|
||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||
{"group:water_bucket", "bucket:bucket_empty"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "claycrafter:glass_of_water 8",
|
||||
recipe = {
|
||||
{"group:vessel", "group:vessel", "group:vessel"},
|
||||
{"group:vessel", "group:water", "group:vessel"},
|
||||
{"group:vessel", "group:vessel", "group:vessel"}
|
||||
},
|
||||
replacements = {
|
||||
{"group:water_bucket", "bucket:bucket_empty"},
|
||||
}
|
||||
})
|
||||
|
||||
@ -60,7 +72,7 @@ minetest.register_craft({
|
||||
output = "claycrafter:claycrafter",
|
||||
recipe = {
|
||||
{"group:wood", "default:steel_ingot", "group:wood"},
|
||||
{"group:wood", "default:glass", "group:wood"},
|
||||
{"default:stick", "bucket:bucket_water", "default:stick"}
|
||||
{"group:wood", "group:glass", "group:wood"},
|
||||
{"group:stick", "group:water_bucket", "group:stick"}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user