Add few more lava furnace recipes; add lava furnace bg
This commit is contained in:
parent
e388dc8538
commit
f2dfe1b8dd
@ -150,6 +150,7 @@ local function common_formspec(pos, meta)
|
||||
local lavaPercent = math.round(currLava / lavaCap * 100)
|
||||
return "formspec_version[6]"..
|
||||
"size[10.5,11]"..
|
||||
"background9[0,0;1,1;logistica_lava_furnace_bg.png;true;8]"..
|
||||
"list[current_player;main;0.4,5.9;8,4;0]"..
|
||||
"list[context;fuel;0.4,4.5;1,1;0]"..
|
||||
"list[context;src;2.2,2.3;1,1;0]"..
|
||||
@ -157,6 +158,12 @@ local function common_formspec(pos, meta)
|
||||
"list[context;input;4.3,0.9;2,1;0]"..
|
||||
"label[0.5,1.1;Lava]"..
|
||||
"label[4.7,0.5;Additives]"..
|
||||
"listring[context;dst]"..
|
||||
"listring[current_player;main]"..
|
||||
"listring[context;src]"..
|
||||
"listring[current_player;main]"..
|
||||
"listring[context;fuel]"..
|
||||
"listring[current_player;main]"..
|
||||
get_lava_img(currLava, lavaPercent)
|
||||
end
|
||||
|
||||
|
@ -1,8 +1,33 @@
|
||||
local L = function(str) return "logistica:"..str end
|
||||
|
||||
logistica.register_lava_furnace_recipe("default:silver_sand", {
|
||||
output = "logistica:silverin",
|
||||
output = L("silverin"),
|
||||
lava = 50,
|
||||
additive = "default:ice",
|
||||
additive_use_chance = 90,
|
||||
additive_use_chance = 50,
|
||||
time = 2.5
|
||||
})
|
||||
|
||||
logistica.register_lava_furnace_recipe(L("silverin"), {
|
||||
output = L("silverin_plate 4"),
|
||||
lava = 100,
|
||||
additive = "default:steel_ingot",
|
||||
additive_use_chance = 100,
|
||||
time = 5
|
||||
})
|
||||
|
||||
logistica.register_lava_furnace_recipe(L("silverin_slice"), {
|
||||
output = L("silverin_circuit"),
|
||||
lava = 150,
|
||||
additive = "default:mese_crystal_fragment",
|
||||
additive_use_chance = 100,
|
||||
time = 10
|
||||
})
|
||||
|
||||
logistica.register_lava_furnace_recipe("default:glass", {
|
||||
output = L("silverin_mirror_box"),
|
||||
lava = 100,
|
||||
additive = L("silverin_slice 6"),
|
||||
additive_use_chance = 100,
|
||||
time = 4
|
||||
})
|
||||
|
BIN
textures/logistica_lava_furnace_bg.png
Normal file
BIN
textures/logistica_lava_furnace_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
x
Reference in New Issue
Block a user