diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-12-20 23:45:59 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-20 23:45:59 -0500 |
commit | d30b33ba24e52d7299119013894ae97523558f78 (patch) | |
tree | 6d456b9f29c464a1d7d8701378697184a4e49a2a | |
parent | 881cbe70ced1176001d984cdcb454a4f6a86f2b5 (diff) |
Combine some concatenations
-rw-r--r-- | register.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/register.lua b/register.lua index abe9d01..f901774 100644 --- a/register.lua +++ b/register.lua @@ -165,16 +165,16 @@ unified_inventory.register_page("craftguide", { formspec = formspec.."label[6,3.75;"..method.."]" if allow_auto_craft then formspec = formspec.."label[6,1.95;Copy to craft grid:]" - formspec = formspec.."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]" - formspec = formspec.."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]" + .."button[6,2.5;0.6,0.5;craftguide_craft_1;1]" + .."button[6.6,2.5;0.6,0.5;craftguide_craft_10;10]" + .."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]" end end if alternates > 1 then formspec = formspec.."label[0,2.6;Recipe " ..tostring(alternate).." of " ..tostring(alternates).."]" - formspec = formspec.."button[0,3.15;2,1;alternate;Alternate]" + .."button[0,3.15;2,1;alternate;Alternate]" end end |