From f190377014b6868ba55ab6db711fee9050732065 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sun, 26 Oct 2014 17:58:59 +0100 Subject: [PATCH] add gatesideonly icon, make Redstone Output use localizations, update en_US.lang --- .../assets/buildcraft/lang/en_US.lang | 10 ++++++++++ .../items/triggers/redstone_gate_side_only.png | Bin 0 -> 320 bytes .../core/statements/ActionRedstoneOutput.java | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 buildcraft_resources/assets/buildcraft/textures/items/triggers/redstone_gate_side_only.png diff --git a/buildcraft_resources/assets/buildcraft/lang/en_US.lang b/buildcraft_resources/assets/buildcraft/lang/en_US.lang index 510a36b9..eac08686 100644 --- a/buildcraft_resources/assets/buildcraft/lang/en_US.lang +++ b/buildcraft_resources/assets/buildcraft/lang/en_US.lang @@ -47,6 +47,13 @@ color.red=Red color.white=White color.yellow=Yellow +direction.north=North +direction.west=West +direction.east=East +direction.south=South +direction.up=Top +direction.down=Bottom + fillerpattern.clear=Clear fillerpattern.fill=Fill fillerpattern.flatten=Flatten @@ -68,6 +75,7 @@ gate.action.machine.loop=Loop gate.action.pulsar.constant=Energy Pulsar gate.action.pulsar.single=Single Energy Pulse gate.action.pipe.wire=%s Pipe Signal +gate.action.redstone.signal=Redstone Signal gate.action.robot.goto_station=Goto Station gate.action.pipe.valve.open=Open gate.action.pipe.valve.input_only=Input Only @@ -101,6 +109,8 @@ gate.material.emerald=Emerald gate.name=%s %s Gate gate.name.basic=Basic Gate +gate.parameter.redstone.gateSideOnly=Gate Side Only + gate.trigger.engine.blue=Engine Blue gate.trigger.engine.green=Engine Green gate.trigger.engine.yellow=Engine Yellow diff --git a/buildcraft_resources/assets/buildcraft/textures/items/triggers/redstone_gate_side_only.png b/buildcraft_resources/assets/buildcraft/textures/items/triggers/redstone_gate_side_only.png new file mode 100644 index 0000000000000000000000000000000000000000..e42c9465168dc56690794a37428def0c70ad5239 GIT binary patch literal 320 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G^tAk28_ZrvZCAbW|YuPggKE-3*fYrgjZKzW91WA1MhgTe~DWM4flFoR+ literal 0 HcmV?d00001 diff --git a/common/buildcraft/core/statements/ActionRedstoneOutput.java b/common/buildcraft/core/statements/ActionRedstoneOutput.java index f0436ae1..76c22b0f 100644 --- a/common/buildcraft/core/statements/ActionRedstoneOutput.java +++ b/common/buildcraft/core/statements/ActionRedstoneOutput.java @@ -9,6 +9,7 @@ package buildcraft.core.statements; import buildcraft.api.gates.IActionParameter; +import buildcraft.core.utils.StringUtils; public class ActionRedstoneOutput extends BCActionPassive { @@ -18,7 +19,7 @@ public class ActionRedstoneOutput extends BCActionPassive { @Override public String getDescription() { - return "Redstone Signal"; + return StringUtils.localize("gate.action.redstone.signal"); } @Override