Make speed indicator in Rotary Macerator formspec translatable
This commit is contained in:
parent
a3e17ea5a1
commit
4b2b0e4836
@ -37,7 +37,7 @@ rotaryMacerator.getFormspec=function(pos)
|
|||||||
or "image[4.9,2.8;1,1;gui_furnace_arrow_bg.png^[transformR270]"),
|
or "image[4.9,2.8;1,1;gui_furnace_arrow_bg.png^[transformR270]"),
|
||||||
"list[context;dst;6,2.8;1,1;]",
|
"list[context;dst;6,2.8;1,1;]",
|
||||||
"list[context;upgrades;9,0.9;1,4]",
|
"list[context;upgrades;9,0.9;1,4]",
|
||||||
"label[0.5,2.8;Speed: "..rpm.."]",
|
"label[0.5,2.8;"..minetest.formspec_escape(S("Speed: @1",rpm)).."]",
|
||||||
"listring[context;src]",
|
"listring[context;src]",
|
||||||
"listring[context;modifier]",
|
"listring[context;modifier]",
|
||||||
"listring[context;powerStorage]",
|
"listring[context;powerStorage]",
|
||||||
@ -60,7 +60,7 @@ rotaryMacerator.getFormspec=function(pos)
|
|||||||
mcl_formspec.get_itemslot_bg(6,2.8,1,1),
|
mcl_formspec.get_itemslot_bg(6,2.8,1,1),
|
||||||
"list[context;upgrades;9,0.9;1,4]",
|
"list[context;upgrades;9,0.9;1,4]",
|
||||||
mcl_formspec.get_itemslot_bg(9,0.9,1,4),
|
mcl_formspec.get_itemslot_bg(9,0.9,1,4),
|
||||||
"label[0.5,2.8;Speed: "..rpm.."]",
|
"label[0.5,2.8;"..minetest.formspec_escape(S("Speed: @1",rpm)).."]",
|
||||||
"listring[context;src]",
|
"listring[context;src]",
|
||||||
"listring[context;modifier]",
|
"listring[context;modifier]",
|
||||||
"listring[context;powerStorage]",
|
"listring[context;powerStorage]",
|
||||||
|
Loading…
Reference in New Issue
Block a user