mirror of
https://github.com/Lokrates/Biofuel.git
synced 2024-08-19 19:34:04 +02:00
Add craft recipes for added vial and can.
This commit is contained in:
parent
90deb360ba
commit
f4ddec574c
22
biofuel.lua
22
biofuel.lua
@ -11,6 +11,12 @@ minetest.register_craftitem("biofuel:phial", {
|
||||
inventory_image = "biofuel_phial.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "biofuel:phial 4",
|
||||
recipe = {{"default:glass"},
|
||||
{"default:glass"}},
|
||||
})
|
||||
|
||||
--Vial of Biofuel
|
||||
minetest.register_craftitem("biofuel:phial_fuel", {
|
||||
description = S("Vial of Biofuel"),
|
||||
@ -55,6 +61,22 @@ minetest.register_craftitem("biofuel:can", {
|
||||
inventory_image = "biofuel_fuel_can.png"
|
||||
})
|
||||
|
||||
if minetest.get_modpath("technic") then
|
||||
minetest.register_craft({
|
||||
output = "biofuel:can",
|
||||
recipe = {{"technic:water_can"}}
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
output = "biofuel:can",
|
||||
recipe = {
|
||||
{"default:steel_ingot","default:bronze_ingot","default:steel_ingot"},
|
||||
{"default:steel_ingot","","default:steel_ingot"},
|
||||
{"default:steel_ingot","default:steel_ingot","default:steel_ingot"}
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("biofuel:fuel_can", {
|
||||
description = S("Canister of Biofuel"),
|
||||
inventory_image = "biofuel_fuel_can.png"
|
||||
|
Loading…
Reference in New Issue
Block a user