mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-08-19 21:04:12 +02:00
Combine some concatenations
This commit is contained in:
parent
881cbe70ce
commit
d30b33ba24
@ -165,16 +165,16 @@ unified_inventory.register_page("craftguide", {
|
|||||||
formspec = formspec.."label[6,3.75;"..method.."]"
|
formspec = formspec.."label[6,3.75;"..method.."]"
|
||||||
if allow_auto_craft then
|
if allow_auto_craft then
|
||||||
formspec = formspec.."label[6,1.95;Copy to craft grid:]"
|
formspec = formspec.."label[6,1.95;Copy to craft grid:]"
|
||||||
formspec = formspec.."button[6,2.5;0.6,0.5;craftguide_craft_1;1]"
|
.."button[6,2.5;0.6,0.5;craftguide_craft_1;1]"
|
||||||
formspec = formspec.."button[6.6,2.5;0.6,0.5;craftguide_craft_10;10]"
|
.."button[6.6,2.5;0.6,0.5;craftguide_craft_10;10]"
|
||||||
formspec = formspec.."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]"
|
.."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if alternates > 1 then
|
if alternates > 1 then
|
||||||
formspec = formspec.."label[0,2.6;Recipe "
|
formspec = formspec.."label[0,2.6;Recipe "
|
||||||
..tostring(alternate).." of "
|
..tostring(alternate).." of "
|
||||||
..tostring(alternates).."]"
|
..tostring(alternates).."]"
|
||||||
formspec = formspec.."button[0,3.15;2,1;alternate;Alternate]"
|
.."button[0,3.15;2,1;alternate;Alternate]"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user