mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-08 16:33:58 +01:00
update pipeworks to use modern homedecor-style crafting chain
craft 6 any leaves -> oil extract, cook oil -> paraffin, cook paraffin -> plastic old "plastic base" is aliased to paraffin.
This commit is contained in:
parent
7cf5e3cfb9
commit
39b56074ad
64
crafts.lua
64
crafts.lua
@ -87,47 +87,65 @@ minetest.register_craft( {
|
|||||||
|
|
||||||
if minetest.get_modpath("homedecor") == nil then
|
if minetest.get_modpath("homedecor") == nil then
|
||||||
|
|
||||||
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
minetest.register_craftitem(":homedecor:oil_extract", {
|
||||||
description = "Plastic sheet",
|
description = "Oil extract",
|
||||||
inventory_image = "homedecor_plastic_sheeting.png",
|
inventory_image = "homedecor_oil_extract.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":homedecor:plastic_base", {
|
minetest.register_craftitem(":homedecor:paraffin", {
|
||||||
description = "Unprocessed Plastic base",
|
description = "Unprocessed paraffin",
|
||||||
wield_image = "homedecor_plastic_base.png",
|
inventory_image = "homedecor_paraffin.png",
|
||||||
inventory_image = "homedecor_plastic_base_inv.png",
|
})
|
||||||
|
|
||||||
|
minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin")
|
||||||
|
|
||||||
|
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
||||||
|
description = "Plastic sheet",
|
||||||
|
inventory_image = "homedecor_plastic_sheeting.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = 'homedecor:plastic_base 4',
|
output = "homedecor:oil_extract 4",
|
||||||
recipe = { "group:leaves",
|
recipe = {
|
||||||
"group:leaves",
|
"group:leaves",
|
||||||
"group:leaves",
|
"group:leaves",
|
||||||
"group:leaves",
|
"group:leaves",
|
||||||
"group:leaves",
|
"group:leaves",
|
||||||
"group:leaves"
|
"group:leaves",
|
||||||
|
"group:leaves"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "homedecor:plastic_sheeting",
|
output = "homedecor:paraffin",
|
||||||
recipe = "homedecor:plastic_base",
|
recipe = "homedecor:oil_extract",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = 'fuel',
|
type = "cooking",
|
||||||
recipe = 'homedecor:plastic_base',
|
output = "homedecor:plastic_sheeting",
|
||||||
burntime = 30,
|
recipe = "homedecor:paraffin",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = 'fuel',
|
type = "fuel",
|
||||||
recipe = 'homedecor:plastic_sheeting',
|
recipe = "homedecor:oil_extract",
|
||||||
burntime = 30,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:paraffin",
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:plastic_sheeting",
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
|
BIN
textures/homedecor_oil_extract.png
Normal file
BIN
textures/homedecor_oil_extract.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 383 B |
BIN
textures/homedecor_paraffin.png
Normal file
BIN
textures/homedecor_paraffin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 600 B |
Binary file not shown.
Before Width: | Height: | Size: 440 B |
Binary file not shown.
Before Width: | Height: | Size: 569 B |
Loading…
Reference in New Issue
Block a user