Minor refactoring

This commit is contained in:
2022-06-30 23:18:46 +01:00
parent c873381653
commit 3a4bf205cf
3 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Flip-Flop Component" identifier="flipflopcomponent" category="Electrical" scale="0.5" impactsoundtag="impact_metal_light">
<Item identifier="flipflopcomponent" category="Electrical" scale="0.5" impactsoundtag="impact_metal_light">
<InventoryIcon texture="luacomp_inv.png" sourcerect="0,0,64,52" origin="0.5,0.5" />
<Sprite texture="luacomp_sprite.png" depth="0.8" sourcerect="0,0,32,32" origin="0.5,0.5" />
<Body width="32" height="24" density="30" />
@@ -19,7 +19,7 @@
</ConnectionPanel>
</Item>
<Item name="Active Flip-Flop Component" identifier="activeflipflopcomponent" category="Electrical" scale="0.5" impactsoundtag="impact_metal_light">
<Item identifier="activeflipflopcomponent" category="Electrical" scale="0.5" impactsoundtag="impact_metal_light">
<InventoryIcon texture="luacomp_inv.png" sourcerect="0,0,64,52" origin="0.5,0.5" />
<Sprite texture="luacomp_sprite.png" depth="0.8" sourcerect="0,0,32,32" origin="0.5,0.5" />
<Body width="32" height="24" density="30" />
@@ -38,7 +38,7 @@
</ConnectionPanel>
</Item>
<Item name="Counter Component" identifier="countercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<Item identifier="countercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<InventoryIcon texture="luacomp_inv.png" sourcerect="0,0,64,52" origin="0.5,0.5" />
<Sprite texture="luacomp_sprite.png" depth="0.8" sourcerect="0,0,32,32" origin="0.5,0.5" />
<Body width="32" height="24" density="30" />
@@ -58,7 +58,7 @@
</ConnectionPanel>
</Item>
<Item name="Active Counter Component" identifier="activecountercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<Item identifier="activecountercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<InventoryIcon texture="luacomp_inv.png" sourcerect="0,0,64,52" origin="0.5,0.5" />
<Sprite texture="luacomp_sprite.png" depth="0.8" sourcerect="0,0,32,32" origin="0.5,0.5" />
<Body width="32" height="24" density="30" />
@@ -78,7 +78,7 @@
</ConnectionPanel>
</Item>
<item name="Reactor Controller Component" identifier="reactorcontrollercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<item identifier="reactorcontrollercomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" scale="0.5" impactsoundtag="impact_metal_light">
<InventoryIcon texture="luacomp_inv.png" sourcerect="0,0,64,52" origin="0.5,0.5" />
<Sprite texture="luacomp_sprite.png" depth="0.8" sourcerect="0,0,32,32" origin="0.5,0.5" />
<Body width="32" height="24" density="30" />

View File

@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<infotexts language="English" nowhitespace="false" translatedname="English">
<entityname.flipflopcomponent>Flip-Flop Component</entityname.flipflopcomponent>
<entitydescription.flipflopcomponent>Switches state when receiving 1, forces state to X when receiving -X.</entitydescription.flipflopcomponent>
<entityname.flipflopcomponent>Active Flip-Flop Component</entityname.flipflopcomponent>
<entitydescription.flipflopcomponent>Switches state when receiving 1, forces state to X when receiving -X. Constantly outputs state.</entitydescription.flipflopcomponent>
<entityname.activeflipflopcomponent>Flip-Flop Component (Active)</entityname.activeflipflopcomponent>
<entitydescription.activeflipflopcomponent>Switches state when receiving 1, forces state to X when receiving -X. Constantly outputs state.</entitydescription.activeflipflopcomponent>
<entityname.countercomponent>Counter Component</entityname.countercomponent>
<entitydescription.countercomponent>Counts up to ClampMax when receiving 1, resets to ClampMin when reached, forces state to X when receiving -X.</entitydescription.countercomponent>
<entityname.activecountercomponent>Active Counter Component</entityname.activecountercomponent>
<entityname.activecountercomponent>Counter Component (Active)</entityname.activecountercomponent>
<entitydescription.activecountercomponent>Counts up to ClampMax when receiving 1, resets to ClampMin when reached, forces state to X when receiving -X. Constantly outputs state.</entitydescription.activecountercomponent>
<entityname.reactorcontrollercomponent>Reactor Controller Component</entityname.reactorcontrollercomponent>