Make shapes truthy

This commit is contained in:
tobspr 2020-08-29 11:08:30 +02:00
parent b210db2361
commit 238b08d4d1
15 changed files with 338 additions and 295 deletions

View File

@ -10,7 +10,7 @@
},
"sprites/belt/built/forward_1.png":
{
"frame": {"x":433,"y":1038,"w":116,"h":144},
"frame": {"x":1814,"y":1070,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -18,7 +18,7 @@
},
"sprites/belt/built/forward_2.png":
{
"frame": {"x":433,"y":1186,"w":116,"h":144},
"frame": {"x":430,"y":1334,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -26,7 +26,7 @@
},
"sprites/belt/built/forward_3.png":
{
"frame": {"x":430,"y":1334,"w":116,"h":144},
"frame": {"x":426,"y":1482,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -34,7 +34,7 @@
},
"sprites/belt/built/forward_4.png":
{
"frame": {"x":426,"y":1482,"w":116,"h":144},
"frame": {"x":3,"y":1884,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -42,7 +42,7 @@
},
"sprites/belt/built/forward_5.png":
{
"frame": {"x":3,"y":1860,"w":116,"h":144},
"frame": {"x":123,"y":1884,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -50,7 +50,7 @@
},
"sprites/belt/built/forward_6.png":
{
"frame": {"x":123,"y":1860,"w":116,"h":144},
"frame": {"x":424,"y":1630,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -58,7 +58,7 @@
},
"sprites/belt/built/forward_7.png":
{
"frame": {"x":243,"y":1839,"w":116,"h":144},
"frame": {"x":243,"y":1881,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -66,7 +66,7 @@
},
"sprites/belt/built/forward_8.png":
{
"frame": {"x":420,"y":1630,"w":116,"h":144},
"frame": {"x":363,"y":1881,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -74,7 +74,7 @@
},
"sprites/belt/built/forward_9.png":
{
"frame": {"x":363,"y":1861,"w":116,"h":144},
"frame": {"x":483,"y":1778,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -82,7 +82,7 @@
},
"sprites/belt/built/forward_10.png":
{
"frame": {"x":1545,"y":991,"w":116,"h":144},
"frame": {"x":1545,"y":1139,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -90,7 +90,7 @@
},
"sprites/belt/built/forward_11.png":
{
"frame": {"x":1544,"y":1139,"w":116,"h":144},
"frame": {"x":1812,"y":1218,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -98,7 +98,7 @@
},
"sprites/belt/built/forward_12.png":
{
"frame": {"x":1540,"y":1287,"w":116,"h":144},
"frame": {"x":433,"y":1038,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -106,7 +106,7 @@
},
"sprites/belt/built/forward_13.png":
{
"frame": {"x":1533,"y":1435,"w":116,"h":144},
"frame": {"x":431,"y":1186,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -130,7 +130,7 @@
},
"sprites/belt/built/left_2.png":
{
"frame": {"x":981,"y":1456,"w":130,"h":130},
"frame": {"x":148,"y":1571,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -138,7 +138,7 @@
},
"sprites/belt/built/left_3.png":
{
"frame": {"x":835,"y":1545,"w":130,"h":130},
"frame": {"x":146,"y":1705,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -146,7 +146,7 @@
},
"sprites/belt/built/left_4.png":
{
"frame": {"x":690,"y":1578,"w":130,"h":130},
"frame": {"x":687,"y":1584,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -154,7 +154,7 @@
},
"sprites/belt/built/left_5.png":
{
"frame": {"x":546,"y":1593,"w":130,"h":130},
"frame": {"x":821,"y":1584,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -162,7 +162,7 @@
},
"sprites/belt/built/left_6.png":
{
"frame": {"x":1115,"y":1458,"w":130,"h":130},
"frame": {"x":904,"y":1864,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -170,7 +170,7 @@
},
"sprites/belt/built/left_7.png":
{
"frame": {"x":969,"y":1590,"w":130,"h":130},
"frame": {"x":1003,"y":1704,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -178,7 +178,7 @@
},
"sprites/belt/built/left_8.png":
{
"frame": {"x":824,"y":1679,"w":130,"h":130},
"frame": {"x":1087,"y":1508,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -186,7 +186,7 @@
},
"sprites/belt/built/left_9.png":
{
"frame": {"x":680,"y":1712,"w":130,"h":130},
"frame": {"x":1038,"y":1838,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -194,7 +194,7 @@
},
"sprites/belt/built/left_10.png":
{
"frame": {"x":151,"y":1303,"w":130,"h":130},
"frame": {"x":960,"y":1033,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -202,7 +202,7 @@
},
"sprites/belt/built/left_11.png":
{
"frame": {"x":151,"y":1437,"w":130,"h":130},
"frame": {"x":960,"y":1167,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -210,7 +210,7 @@
},
"sprites/belt/built/left_12.png":
{
"frame": {"x":146,"y":1571,"w":130,"h":130},
"frame": {"x":151,"y":1303,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -218,7 +218,7 @@
},
"sprites/belt/built/left_13.png":
{
"frame": {"x":144,"y":1705,"w":130,"h":130},
"frame": {"x":149,"y":1437,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -226,7 +226,7 @@
},
"sprites/belt/built/right_0.png":
{
"frame": {"x":540,"y":1727,"w":130,"h":130},
"frame": {"x":1137,"y":1642,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -234,7 +234,7 @@
},
"sprites/belt/built/right_1.png":
{
"frame": {"x":735,"y":1846,"w":130,"h":130},
"frame": {"x":1221,"y":1508,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -242,7 +242,7 @@
},
"sprites/belt/built/right_2.png":
{
"frame": {"x":1137,"y":1808,"w":130,"h":130},
"frame": {"x":1803,"y":1428,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -250,7 +250,7 @@
},
"sprites/belt/built/right_3.png":
{
"frame": {"x":1271,"y":1674,"w":130,"h":130},
"frame": {"x":1623,"y":1461,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -258,7 +258,7 @@
},
"sprites/belt/built/right_4.png":
{
"frame": {"x":1271,"y":1808,"w":130,"h":130},
"frame": {"x":1489,"y":1555,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -266,7 +266,7 @@
},
"sprites/belt/built/right_5.png":
{
"frame": {"x":1405,"y":1583,"w":130,"h":130},
"frame": {"x":1271,"y":1670,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -274,7 +274,7 @@
},
"sprites/belt/built/right_6.png":
{
"frame": {"x":1539,"y":1606,"w":130,"h":130},
"frame": {"x":1172,"y":1804,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -282,7 +282,7 @@
},
"sprites/belt/built/right_7.png":
{
"frame": {"x":1405,"y":1717,"w":130,"h":130},
"frame": {"x":1306,"y":1804,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -290,7 +290,7 @@
},
"sprites/belt/built/right_8.png":
{
"frame": {"x":1405,"y":1851,"w":130,"h":130},
"frame": {"x":1757,"y":1562,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -298,7 +298,7 @@
},
"sprites/belt/built/right_9.png":
{
"frame": {"x":1673,"y":1618,"w":130,"h":130},
"frame": {"x":1623,"y":1595,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -306,7 +306,7 @@
},
"sprites/belt/built/right_10.png":
{
"frame": {"x":869,"y":1813,"w":130,"h":130},
"frame": {"x":1528,"y":1287,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -314,7 +314,7 @@
},
"sprites/belt/built/right_11.png":
{
"frame": {"x":1003,"y":1724,"w":130,"h":130},
"frame": {"x":1355,"y":1402,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -322,7 +322,7 @@
},
"sprites/belt/built/right_12.png":
{
"frame": {"x":1003,"y":1858,"w":130,"h":130},
"frame": {"x":1489,"y":1421,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -330,7 +330,7 @@
},
"sprites/belt/built/right_13.png":
{
"frame": {"x":1137,"y":1674,"w":130,"h":130},
"frame": {"x":1355,"y":1536,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -338,7 +338,7 @@
},
"sprites/blueprints/belt_left.png":
{
"frame": {"x":1539,"y":1740,"w":130,"h":130},
"frame": {"x":1891,"y":1562,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":14,"w":130,"h":130},
@ -346,7 +346,7 @@
},
"sprites/blueprints/belt_right.png":
{
"frame": {"x":1539,"y":1874,"w":130,"h":130},
"frame": {"x":1440,"y":1689,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -354,7 +354,7 @@
},
"sprites/blueprints/belt_top.png":
{
"frame": {"x":483,"y":1861,"w":116,"h":144},
"frame": {"x":603,"y":1720,"w":116,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":116,"h":144},
@ -386,7 +386,7 @@
},
"sprites/blueprints/display.png":
{
"frame": {"x":603,"y":1861,"w":128,"h":136},
"frame": {"x":955,"y":1564,"w":128,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":8,"w":128,"h":136},
@ -418,7 +418,7 @@
},
"sprites/blueprints/logic_gate-or.png":
{
"frame": {"x":3,"y":1317,"w":144,"h":123},
"frame": {"x":1249,"y":989,"w":144,"h":123},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":144,"h":123},
@ -426,7 +426,7 @@
},
"sprites/blueprints/logic_gate-transistor.png":
{
"frame": {"x":1820,"y":996,"w":101,"h":144},
"frame": {"x":708,"y":888,"w":101,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":101,"h":144},
@ -442,7 +442,7 @@
},
"sprites/blueprints/logic_gate.png":
{
"frame": {"x":3,"y":1180,"w":144,"h":133},
"frame": {"x":1249,"y":852,"w":144,"h":133},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":144,"h":133},
@ -450,7 +450,7 @@
},
"sprites/blueprints/miner-chainable.png":
{
"frame": {"x":695,"y":1431,"w":136,"h":143},
"frame": {"x":624,"y":1868,"w":136,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":136,"h":143},
@ -458,7 +458,7 @@
},
"sprites/blueprints/miner.png":
{
"frame": {"x":550,"y":1446,"w":136,"h":143},
"frame": {"x":723,"y":1718,"w":136,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":136,"h":143},
@ -506,7 +506,7 @@
},
"sprites/blueprints/reader.png":
{
"frame": {"x":1660,"y":1311,"w":142,"h":144},
"frame": {"x":1241,"y":1253,"w":142,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":142,"h":144},
@ -514,7 +514,7 @@
},
"sprites/blueprints/rotater-ccw.png":
{
"frame": {"x":1397,"y":1022,"w":143,"h":144},
"frame": {"x":1665,"y":1198,"w":143,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":144},
@ -522,7 +522,7 @@
},
"sprites/blueprints/rotater-fl.png":
{
"frame": {"x":1891,"y":1384,"w":142,"h":144},
"frame": {"x":560,"y":1036,"w":142,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":142,"h":144},
@ -530,7 +530,7 @@
},
"sprites/blueprints/rotater.png":
{
"frame": {"x":1246,"y":1023,"w":143,"h":144},
"frame": {"x":813,"y":1033,"w":143,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":144},
@ -538,7 +538,7 @@
},
"sprites/blueprints/splitter-compact-inverse.png":
{
"frame": {"x":1891,"y":1532,"w":142,"h":138},
"frame": {"x":285,"y":1182,"w":142,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":142,"h":138},
@ -546,7 +546,7 @@
},
"sprites/blueprints/splitter-compact-merge-inverse.png":
{
"frame": {"x":808,"y":1033,"w":142,"h":138},
"frame": {"x":3,"y":1326,"w":142,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":142,"h":138},
@ -554,7 +554,7 @@
},
"sprites/blueprints/splitter-compact-merge.png":
{
"frame": {"x":954,"y":1033,"w":139,"h":138},
"frame": {"x":551,"y":1324,"w":139,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":2,"w":139,"h":138},
@ -562,7 +562,7 @@
},
"sprites/blueprints/splitter-compact.png":
{
"frame": {"x":3,"y":1444,"w":139,"h":138},
"frame": {"x":283,"y":1472,"w":139,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":2,"w":139,"h":138},
@ -602,7 +602,7 @@
},
"sprites/blueprints/underground_belt_entry-tier2.png":
{
"frame": {"x":1329,"y":1454,"w":138,"h":125},
"frame": {"x":3,"y":1755,"w":138,"h":125},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":19,"w":138,"h":125},
@ -610,7 +610,7 @@
},
"sprites/blueprints/underground_belt_entry.png":
{
"frame": {"x":698,"y":1315,"w":138,"h":112},
"frame": {"x":893,"y":1448,"w":138,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":32,"w":138,"h":112},
@ -618,7 +618,7 @@
},
"sprites/blueprints/underground_belt_exit-tier2.png":
{
"frame": {"x":1044,"y":1225,"w":139,"h":112},
"frame": {"x":550,"y":1466,"w":139,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":139,"h":112},
@ -626,7 +626,7 @@
},
"sprites/blueprints/underground_belt_exit.png":
{
"frame": {"x":553,"y":1330,"w":138,"h":112},
"frame": {"x":739,"y":1468,"w":138,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":138,"h":112},
@ -642,7 +642,7 @@
},
"sprites/blueprints/virtual_processor-rotater.png":
{
"frame": {"x":1925,"y":1109,"w":118,"h":144},
"frame": {"x":438,"y":890,"w":118,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":118,"h":144},
@ -650,7 +650,7 @@
},
"sprites/blueprints/virtual_processor-shapecompare.png":
{
"frame": {"x":285,"y":1181,"w":144,"h":133},
"frame": {"x":1397,"y":852,"w":144,"h":133},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":144,"h":133},
@ -666,7 +666,7 @@
},
"sprites/blueprints/virtual_processor.png":
{
"frame": {"x":3,"y":1035,"w":144,"h":141},
"frame": {"x":285,"y":1037,"w":144,"h":141},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":144,"h":141},
@ -682,7 +682,7 @@
},
"sprites/blueprints/wire-split.png":
{
"frame": {"x":1249,"y":852,"w":144,"h":82},
"frame": {"x":1397,"y":989,"w":144,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":62,"w":144,"h":82},
@ -690,7 +690,7 @@
},
"sprites/blueprints/wire-turn.png":
{
"frame": {"x":1811,"y":1192,"w":82,"h":82},
"frame": {"x":1932,"y":1257,"w":82,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":62,"y":62,"w":82,"h":82},
@ -714,7 +714,7 @@
},
"sprites/blueprints/wire_tunnel.png":
{
"frame": {"x":1187,"y":1319,"w":138,"h":135},
"frame": {"x":282,"y":1614,"w":138,"h":135},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":138,"h":135},
@ -730,7 +730,7 @@
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":540,"y":1727,"w":130,"h":130},
"frame": {"x":1137,"y":1642,"w":130,"h":130},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":14,"w":130,"h":130},
@ -810,7 +810,7 @@
},
"sprites/buildings/logic_gate-or.png":
{
"frame": {"x":1897,"y":1257,"w":143,"h":123},
"frame": {"x":1388,"y":1160,"w":143,"h":123},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":123},
@ -826,7 +826,7 @@
},
"sprites/buildings/logic_gate-xor.png":
{
"frame": {"x":1665,"y":1028,"w":143,"h":143},
"frame": {"x":1094,"y":1085,"w":143,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":143},
@ -834,7 +834,7 @@
},
"sprites/buildings/logic_gate.png":
{
"frame": {"x":1664,"y":1175,"w":143,"h":132},
"frame": {"x":1094,"y":1232,"w":143,"h":132},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":132},
@ -842,7 +842,7 @@
},
"sprites/buildings/miner-chainable.png":
{
"frame": {"x":280,"y":1596,"w":136,"h":142},
"frame": {"x":764,"y":1865,"w":136,"h":142},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":136,"h":142},
@ -850,7 +850,7 @@
},
"sprites/buildings/miner.png":
{
"frame": {"x":3,"y":1714,"w":136,"h":142},
"frame": {"x":863,"y":1718,"w":136,"h":142},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":136,"h":142},
@ -898,7 +898,7 @@
},
"sprites/buildings/reader.png":
{
"frame": {"x":1243,"y":1171,"w":141,"h":144},
"frame": {"x":285,"y":1324,"w":141,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":141,"h":144},
@ -906,7 +906,7 @@
},
"sprites/buildings/rotater-ccw.png":
{
"frame": {"x":1388,"y":1307,"w":141,"h":143},
"frame": {"x":3,"y":1468,"w":141,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":141,"h":143},
@ -914,7 +914,7 @@
},
"sprites/buildings/rotater-fl.png":
{
"frame": {"x":1653,"y":1459,"w":141,"h":143},
"frame": {"x":791,"y":1181,"w":141,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":141,"h":143},
@ -922,7 +922,7 @@
},
"sprites/buildings/rotater.png":
{
"frame": {"x":553,"y":1183,"w":141,"h":143},
"frame": {"x":936,"y":1301,"w":141,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":141,"h":143},
@ -930,7 +930,7 @@
},
"sprites/buildings/splitter-compact-inverse.png":
{
"frame": {"x":285,"y":1318,"w":141,"h":136},
"frame": {"x":1081,"y":1368,"w":141,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":141,"h":136},
@ -938,7 +938,7 @@
},
"sprites/buildings/splitter-compact-merge-inverse.png":
{
"frame": {"x":1097,"y":1085,"w":142,"h":136},
"frame": {"x":553,"y":1184,"w":142,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":142,"h":136},
@ -946,7 +946,7 @@
},
"sprites/buildings/splitter-compact-merge.png":
{
"frame": {"x":758,"y":1175,"w":139,"h":136},
"frame": {"x":3,"y":1615,"w":139,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":3,"w":139,"h":136},
@ -954,7 +954,7 @@
},
"sprites/buildings/splitter-compact.png":
{
"frame": {"x":901,"y":1175,"w":139,"h":136},
"frame": {"x":750,"y":1328,"w":139,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":3,"w":139,"h":136},
@ -994,7 +994,7 @@
},
"sprites/buildings/underground_belt_entry-tier2.png":
{
"frame": {"x":3,"y":1586,"w":137,"h":124},
"frame": {"x":280,"y":1753,"w":137,"h":124},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":20,"w":137,"h":124},
@ -1002,7 +1002,7 @@
},
"sprites/buildings/underground_belt_entry.png":
{
"frame": {"x":840,"y":1315,"w":137,"h":111},
"frame": {"x":483,"y":1926,"w":137,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":33,"w":137,"h":111},
@ -1010,7 +1010,7 @@
},
"sprites/buildings/underground_belt_exit-tier2.png":
{
"frame": {"x":981,"y":1341,"w":137,"h":111},
"frame": {"x":1387,"y":1287,"w":137,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":137,"h":111},
@ -1018,7 +1018,7 @@
},
"sprites/buildings/underground_belt_exit.png":
{
"frame": {"x":840,"y":1430,"w":137,"h":111},
"frame": {"x":1662,"y":1346,"w":137,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":137,"h":111},
@ -1034,7 +1034,7 @@
},
"sprites/buildings/virtual_processor-rotater.png":
{
"frame": {"x":438,"y":890,"w":117,"h":144},
"frame": {"x":1545,"y":991,"w":117,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":117,"h":144},
@ -1042,7 +1042,7 @@
},
"sprites/buildings/virtual_processor-shapecompare.png":
{
"frame": {"x":1393,"y":1170,"w":143,"h":133},
"frame": {"x":1241,"y":1116,"w":143,"h":133},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":133},
@ -1050,7 +1050,7 @@
},
"sprites/buildings/virtual_processor-unstacker.png":
{
"frame": {"x":559,"y":1036,"w":144,"h":143},
"frame": {"x":3,"y":1035,"w":144,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":1,"w":144,"h":143},
@ -1058,7 +1058,7 @@
},
"sprites/buildings/virtual_processor.png":
{
"frame": {"x":285,"y":1037,"w":144,"h":140},
"frame": {"x":3,"y":1182,"w":144,"h":140},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":144,"h":140},
@ -1074,7 +1074,7 @@
},
"sprites/buildings/wire-split.png":
{
"frame": {"x":1397,"y":852,"w":144,"h":81},
"frame": {"x":1098,"y":1000,"w":144,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":63,"w":144,"h":81},
@ -1106,7 +1106,7 @@
},
"sprites/buildings/wire_tunnel.png":
{
"frame": {"x":285,"y":1458,"w":137,"h":134},
"frame": {"x":546,"y":1582,"w":137,"h":134},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":5,"w":137,"h":134},
@ -1138,7 +1138,7 @@
},
"sprites/misc/processor_disabled.png":
{
"frame": {"x":1798,"y":1533,"w":78,"h":81},
"frame": {"x":699,"y":1206,"w":78,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":10,"y":10,"w":78,"h":81},
@ -1154,10 +1154,10 @@
},
"sprites/misc/reader_overlay.png":
{
"frame": {"x":708,"y":888,"w":98,"h":70},
"frame": {"x":1820,"y":996,"w":104,"h":70},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":38,"w":98,"h":70},
"spriteSourceSize": {"x":20,"y":38,"w":104,"h":70},
"sourceSize": {"w":144,"h":144}
},
"sprites/misc/slot_bad_arrow.png":
@ -1178,7 +1178,7 @@
},
"sprites/misc/storage_overlay.png":
{
"frame": {"x":1812,"y":1144,"w":89,"h":44},
"frame": {"x":1934,"y":1209,"w":89,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":1,"w":89,"h":44},
@ -1186,7 +1186,7 @@
},
"sprites/misc/waypoint.png":
{
"frame": {"x":758,"y":1114,"w":38,"h":48},
"frame": {"x":893,"y":1328,"w":38,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":38,"h":48},
@ -1250,7 +1250,7 @@
},
"sprites/wires/display/white.png":
{
"frame": {"x":707,"y":1062,"w":47,"h":47},
"frame": {"x":699,"y":1291,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":1,"w":47,"h":47},
@ -1258,7 +1258,7 @@
},
"sprites/wires/display/yellow.png":
{
"frame": {"x":707,"y":1113,"w":47,"h":47},
"frame": {"x":694,"y":1342,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":1,"w":47,"h":47},
@ -1290,7 +1290,7 @@
},
"sprites/wires/network_conflict.png":
{
"frame": {"x":707,"y":1164,"w":47,"h":44},
"frame": {"x":694,"y":1393,"w":47,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":2,"w":47,"h":44},
@ -1298,7 +1298,7 @@
},
"sprites/wires/network_empty.png":
{
"frame": {"x":758,"y":1062,"w":41,"h":48},
"frame": {"x":694,"y":1441,"w":41,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":41,"h":48},
@ -1306,7 +1306,7 @@
},
"sprites/wires/overlay_tile.png":
{
"frame": {"x":708,"y":962,"w":96,"h":96},
"frame": {"x":1934,"y":1109,"w":96,"h":96},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":96},
@ -1330,7 +1330,7 @@
},
"sprites/wires/sets/color_split.png":
{
"frame": {"x":1397,"y":937,"w":144,"h":81},
"frame": {"x":1397,"y":1075,"w":144,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":63,"w":144,"h":81},
@ -1338,7 +1338,7 @@
},
"sprites/wires/sets/color_turn.png":
{
"frame": {"x":1811,"y":1278,"w":81,"h":81},
"frame": {"x":1932,"y":1343,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1362,7 +1362,7 @@
},
"sprites/wires/sets/conflict_split.png":
{
"frame": {"x":1249,"y":938,"w":144,"h":81},
"frame": {"x":1666,"y":1028,"w":144,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":63,"w":144,"h":81},
@ -1370,7 +1370,7 @@
},
"sprites/wires/sets/conflict_turn.png":
{
"frame": {"x":1806,"y":1363,"w":81,"h":81},
"frame": {"x":706,"y":1036,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1394,7 +1394,7 @@
},
"sprites/wires/sets/regular_split.png":
{
"frame": {"x":1397,"y":852,"w":144,"h":81},
"frame": {"x":1098,"y":1000,"w":144,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":63,"w":144,"h":81},
@ -1426,7 +1426,7 @@
},
"sprites/wires/sets/shape_split.png":
{
"frame": {"x":1098,"y":1000,"w":144,"h":81},
"frame": {"x":1666,"y":1113,"w":144,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":63,"w":144,"h":81},
@ -1434,7 +1434,7 @@
},
"sprites/wires/sets/shape_turn.png":
{
"frame": {"x":1806,"y":1448,"w":81,"h":81},
"frame": {"x":706,"y":1121,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1455,6 +1455,6 @@
"format": "RGBA8888",
"size": {"w":2048,"h":2048},
"scale": "0.75",
"smartupdate": "$TexturePacker:SmartUpdate:3b1717ceee14135311380de9706938d5:e834c7745e235246a53bcb721a2e3be3:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:276f2044dea94b0977ef8f929d93d3db:fe07471c4d8352b4586f9103e9e8f916:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -2,7 +2,7 @@
"sprites/belt/built/forward_0.png":
{
"frame": {"x":405,"y":817,"w":40,"h":48},
"frame": {"x":466,"y":519,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -10,7 +10,7 @@
},
"sprites/belt/built/forward_1.png":
{
"frame": {"x":252,"y":893,"w":40,"h":48},
"frame": {"x":405,"y":817,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -50,7 +50,7 @@
},
"sprites/belt/built/forward_6.png":
{
"frame": {"x":449,"y":819,"w":40,"h":48},
"frame": {"x":449,"y":823,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -74,7 +74,7 @@
},
"sprites/belt/built/forward_9.png":
{
"frame": {"x":227,"y":965,"w":40,"h":48},
"frame": {"x":300,"y":925,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -122,7 +122,7 @@
},
"sprites/belt/built/left_1.png":
{
"frame": {"x":465,"y":519,"w":44,"h":44},
"frame": {"x":465,"y":571,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -130,7 +130,7 @@
},
"sprites/belt/built/left_2.png":
{
"frame": {"x":324,"y":643,"w":44,"h":44},
"frame": {"x":223,"y":611,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -138,7 +138,7 @@
},
"sprites/belt/built/left_3.png":
{
"frame": {"x":223,"y":611,"w":44,"h":44},
"frame": {"x":275,"y":659,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -146,7 +146,7 @@
},
"sprites/belt/built/left_4.png":
{
"frame": {"x":275,"y":659,"w":44,"h":44},
"frame": {"x":323,"y":691,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -154,7 +154,7 @@
},
"sprites/belt/built/left_5.png":
{
"frame": {"x":323,"y":691,"w":44,"h":44},
"frame": {"x":261,"y":749,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -162,7 +162,7 @@
},
"sprites/belt/built/left_6.png":
{
"frame": {"x":261,"y":749,"w":44,"h":44},
"frame": {"x":208,"y":757,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -170,7 +170,7 @@
},
"sprites/belt/built/left_7.png":
{
"frame": {"x":208,"y":757,"w":44,"h":44},
"frame": {"x":363,"y":769,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -178,7 +178,7 @@
},
"sprites/belt/built/left_8.png":
{
"frame": {"x":363,"y":769,"w":44,"h":44},
"frame": {"x":309,"y":781,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -186,7 +186,7 @@
},
"sprites/belt/built/left_9.png":
{
"frame": {"x":309,"y":781,"w":44,"h":44},
"frame": {"x":256,"y":797,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -194,7 +194,7 @@
},
"sprites/belt/built/left_10.png":
{
"frame": {"x":465,"y":567,"w":44,"h":44},
"frame": {"x":325,"y":547,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -202,7 +202,7 @@
},
"sprites/belt/built/left_11.png":
{
"frame": {"x":325,"y":547,"w":44,"h":44},
"frame": {"x":325,"y":595,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -210,7 +210,7 @@
},
"sprites/belt/built/left_12.png":
{
"frame": {"x":325,"y":595,"w":44,"h":44},
"frame": {"x":464,"y":619,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -218,7 +218,7 @@
},
"sprites/belt/built/left_13.png":
{
"frame": {"x":464,"y":615,"w":44,"h":44},
"frame": {"x":324,"y":643,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -226,7 +226,7 @@
},
"sprites/belt/built/right_0.png":
{
"frame": {"x":256,"y":797,"w":44,"h":44},
"frame": {"x":208,"y":805,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -234,7 +234,7 @@
},
"sprites/belt/built/right_1.png":
{
"frame": {"x":208,"y":805,"w":44,"h":44},
"frame": {"x":156,"y":806,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -242,7 +242,7 @@
},
"sprites/belt/built/right_2.png":
{
"frame": {"x":357,"y":817,"w":44,"h":44},
"frame": {"x":304,"y":829,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -250,7 +250,7 @@
},
"sprites/belt/built/right_3.png":
{
"frame": {"x":304,"y":829,"w":44,"h":44},
"frame": {"x":256,"y":845,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -258,7 +258,7 @@
},
"sprites/belt/built/right_4.png":
{
"frame": {"x":256,"y":845,"w":44,"h":44},
"frame": {"x":204,"y":853,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -266,7 +266,7 @@
},
"sprites/belt/built/right_5.png":
{
"frame": {"x":204,"y":853,"w":44,"h":44},
"frame": {"x":153,"y":854,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -274,7 +274,7 @@
},
"sprites/belt/built/right_6.png":
{
"frame": {"x":153,"y":854,"w":44,"h":44},
"frame": {"x":102,"y":860,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -282,7 +282,7 @@
},
"sprites/belt/built/right_7.png":
{
"frame": {"x":102,"y":860,"w":44,"h":44},
"frame": {"x":51,"y":879,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -290,7 +290,7 @@
},
"sprites/belt/built/right_8.png":
{
"frame": {"x":51,"y":879,"w":44,"h":44},
"frame": {"x":3,"y":882,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -298,7 +298,7 @@
},
"sprites/belt/built/right_9.png":
{
"frame": {"x":3,"y":882,"w":44,"h":44},
"frame": {"x":352,"y":865,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -306,7 +306,7 @@
},
"sprites/belt/built/right_10.png":
{
"frame": {"x":156,"y":806,"w":44,"h":44},
"frame": {"x":105,"y":812,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -314,7 +314,7 @@
},
"sprites/belt/built/right_11.png":
{
"frame": {"x":105,"y":812,"w":44,"h":44},
"frame": {"x":54,"y":831,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -322,7 +322,7 @@
},
"sprites/belt/built/right_12.png":
{
"frame": {"x":54,"y":831,"w":44,"h":44},
"frame": {"x":3,"y":834,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -330,7 +330,7 @@
},
"sprites/belt/built/right_13.png":
{
"frame": {"x":3,"y":834,"w":44,"h":44},
"frame": {"x":357,"y":817,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -338,7 +338,7 @@
},
"sprites/blueprints/belt_left.png":
{
"frame": {"x":352,"y":865,"w":44,"h":44},
"frame": {"x":304,"y":877,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -346,7 +346,7 @@
},
"sprites/blueprints/belt_right.png":
{
"frame": {"x":304,"y":877,"w":44,"h":44},
"frame": {"x":252,"y":893,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -354,7 +354,7 @@
},
"sprites/blueprints/belt_top.png":
{
"frame": {"x":271,"y":965,"w":40,"h":48},
"frame": {"x":344,"y":965,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -426,7 +426,7 @@
},
"sprites/blueprints/logic_gate-transistor.png":
{
"frame": {"x":426,"y":505,"w":35,"h":48},
"frame": {"x":426,"y":534,"w":35,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":35,"h":48},
@ -730,7 +730,7 @@
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":256,"y":797,"w":44,"h":44},
"frame": {"x":208,"y":805,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -738,7 +738,7 @@
},
"sprites/buildings/belt_top.png":
{
"frame": {"x":405,"y":817,"w":40,"h":48},
"frame": {"x":466,"y":519,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -818,7 +818,7 @@
},
"sprites/buildings/logic_gate-transistor.png":
{
"frame": {"x":426,"y":557,"w":35,"h":48},
"frame": {"x":425,"y":586,"w":35,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":35,"h":48},
@ -1066,7 +1066,7 @@
},
"sprites/buildings/wire-cross.png":
{
"frame": {"x":459,"y":663,"w":48,"h":48},
"frame": {"x":459,"y":667,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1090,7 +1090,7 @@
},
"sprites/buildings/wire.png":
{
"frame": {"x":501,"y":767,"w":8,"h":48},
"frame": {"x":501,"y":771,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1154,10 +1154,10 @@
},
"sprites/misc/reader_overlay.png":
{
"frame": {"x":425,"y":609,"w":35,"h":25},
"frame": {"x":426,"y":505,"w":36,"h":25},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":12,"w":35,"h":25},
"spriteSourceSize": {"x":6,"y":12,"w":36,"h":25},
"sourceSize": {"w":48,"h":48}
},
"sprites/misc/slot_bad_arrow.png":
@ -1314,7 +1314,7 @@
},
"sprites/wires/sets/color_cross.png":
{
"frame": {"x":458,"y":715,"w":48,"h":48},
"frame": {"x":458,"y":719,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1346,7 +1346,7 @@
},
"sprites/wires/sets/conflict_cross.png":
{
"frame": {"x":449,"y":767,"w":48,"h":48},
"frame": {"x":449,"y":771,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1378,7 +1378,7 @@
},
"sprites/wires/sets/regular_cross.png":
{
"frame": {"x":459,"y":663,"w":48,"h":48},
"frame": {"x":459,"y":667,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1386,7 +1386,7 @@
},
"sprites/wires/sets/regular_forward.png":
{
"frame": {"x":501,"y":767,"w":8,"h":48},
"frame": {"x":501,"y":771,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1455,6 +1455,6 @@
"format": "RGBA8888",
"size": {"w":512,"h":1024},
"scale": "0.25",
"smartupdate": "$TexturePacker:SmartUpdate:3b1717ceee14135311380de9706938d5:e834c7745e235246a53bcb721a2e3be3:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:276f2044dea94b0977ef8f929d93d3db:fe07471c4d8352b4586f9103e9e8f916:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

After

Width:  |  Height:  |  Size: 272 KiB

View File

@ -2,7 +2,7 @@
"sprites/belt/built/forward_0.png":
{
"frame": {"x":943,"y":804,"w":78,"h":96},
"frame": {"x":943,"y":842,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -10,7 +10,7 @@
},
"sprites/belt/built/forward_1.png":
{
"frame": {"x":943,"y":904,"w":78,"h":96},
"frame": {"x":821,"y":990,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -18,7 +18,7 @@
},
"sprites/belt/built/forward_2.png":
{
"frame": {"x":276,"y":1658,"w":78,"h":96},
"frame": {"x":3,"y":1868,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -26,7 +26,7 @@
},
"sprites/belt/built/forward_3.png":
{
"frame": {"x":184,"y":1730,"w":78,"h":96},
"frame": {"x":853,"y":1502,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -34,7 +34,7 @@
},
"sprites/belt/built/forward_4.png":
{
"frame": {"x":89,"y":1824,"w":78,"h":96},
"frame": {"x":935,"y":1502,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -42,7 +42,7 @@
},
"sprites/belt/built/forward_5.png":
{
"frame": {"x":3,"y":1908,"w":78,"h":96},
"frame": {"x":762,"y":1554,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -50,7 +50,7 @@
},
"sprites/belt/built/forward_6.png":
{
"frame": {"x":648,"y":1551,"w":78,"h":96},
"frame": {"x":661,"y":1624,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -58,7 +58,7 @@
},
"sprites/belt/built/forward_7.png":
{
"frame": {"x":550,"y":1561,"w":78,"h":96},
"frame": {"x":557,"y":1641,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -66,7 +66,7 @@
},
"sprites/belt/built/forward_8.png":
{
"frame": {"x":453,"y":1652,"w":78,"h":96},
"frame": {"x":459,"y":1695,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -74,7 +74,7 @@
},
"sprites/belt/built/forward_9.png":
{
"frame": {"x":358,"y":1694,"w":78,"h":96},
"frame": {"x":362,"y":1704,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -82,7 +82,7 @@
},
"sprites/belt/built/forward_10.png":
{
"frame": {"x":940,"y":1004,"w":78,"h":96},
"frame": {"x":819,"y":1090,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -90,7 +90,7 @@
},
"sprites/belt/built/forward_11.png":
{
"frame": {"x":566,"y":1461,"w":78,"h":96},
"frame": {"x":185,"y":1694,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -98,7 +98,7 @@
},
"sprites/belt/built/forward_12.png":
{
"frame": {"x":468,"y":1552,"w":78,"h":96},
"frame": {"x":94,"y":1706,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -106,7 +106,7 @@
},
"sprites/belt/built/forward_13.png":
{
"frame": {"x":371,"y":1594,"w":78,"h":96},
"frame": {"x":3,"y":1768,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -114,7 +114,7 @@
},
"sprites/belt/built/left_0.png":
{
"frame": {"x":896,"y":1198,"w":87,"h":87},
"frame": {"x":196,"y":1421,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -122,7 +122,7 @@
},
"sprites/belt/built/left_1.png":
{
"frame": {"x":795,"y":1269,"w":87,"h":87},
"frame": {"x":99,"y":1433,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -130,7 +130,7 @@
},
"sprites/belt/built/left_2.png":
{
"frame": {"x":494,"y":1279,"w":87,"h":87},
"frame": {"x":489,"y":1328,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -138,7 +138,7 @@
},
"sprites/belt/built/left_3.png":
{
"frame": {"x":391,"y":1321,"w":87,"h":87},
"frame": {"x":883,"y":1229,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -146,7 +146,7 @@
},
"sprites/belt/built/left_4.png":
{
"frame": {"x":293,"y":1385,"w":87,"h":87},
"frame": {"x":782,"y":1281,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -154,7 +154,7 @@
},
"sprites/belt/built/left_5.png":
{
"frame": {"x":195,"y":1457,"w":87,"h":87},
"frame": {"x":681,"y":1351,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -162,7 +162,7 @@
},
"sprites/belt/built/left_6.png":
{
"frame": {"x":98,"y":1547,"w":87,"h":87},
"frame": {"x":580,"y":1364,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -170,7 +170,7 @@
},
"sprites/belt/built/left_7.png":
{
"frame": {"x":3,"y":1626,"w":87,"h":87},
"frame": {"x":489,"y":1419,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -178,7 +178,7 @@
},
"sprites/belt/built/left_8.png":
{
"frame": {"x":585,"y":1279,"w":87,"h":87},
"frame": {"x":389,"y":1422,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -186,7 +186,7 @@
},
"sprites/belt/built/left_9.png":
{
"frame": {"x":676,"y":1369,"w":87,"h":87},
"frame": {"x":287,"y":1494,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -194,7 +194,7 @@
},
"sprites/belt/built/left_10.png":
{
"frame": {"x":698,"y":1278,"w":87,"h":87},
"frame": {"x":3,"y":1495,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -202,7 +202,7 @@
},
"sprites/belt/built/left_11.png":
{
"frame": {"x":886,"y":1289,"w":87,"h":87},
"frame": {"x":792,"y":1190,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -210,7 +210,7 @@
},
"sprites/belt/built/left_12.png":
{
"frame": {"x":789,"y":1360,"w":87,"h":87},
"frame": {"x":691,"y":1260,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -218,7 +218,7 @@
},
"sprites/belt/built/left_13.png":
{
"frame": {"x":880,"y":1380,"w":87,"h":87},
"frame": {"x":590,"y":1273,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -226,7 +226,7 @@
},
"sprites/belt/built/right_0.png":
{
"frame": {"x":767,"y":1451,"w":87,"h":87},
"frame": {"x":190,"y":1512,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -234,7 +234,7 @@
},
"sprites/belt/built/right_1.png":
{
"frame": {"x":858,"y":1471,"w":87,"h":87},
"frame": {"x":94,"y":1524,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -242,7 +242,7 @@
},
"sprites/belt/built/right_2.png":
{
"frame": {"x":94,"y":1638,"w":87,"h":87},
"frame": {"x":580,"y":1455,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -250,7 +250,7 @@
},
"sprites/belt/built/right_3.png":
{
"frame": {"x":3,"y":1717,"w":87,"h":87},
"frame": {"x":480,"y":1510,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -258,7 +258,7 @@
},
"sprites/belt/built/right_4.png":
{
"frame": {"x":573,"y":1370,"w":87,"h":87},
"frame": {"x":378,"y":1513,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -266,7 +266,7 @@
},
"sprites/belt/built/right_5.png":
{
"frame": {"x":664,"y":1460,"w":87,"h":87},
"frame": {"x":281,"y":1585,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -274,7 +274,7 @@
},
"sprites/belt/built/right_6.png":
{
"frame": {"x":755,"y":1542,"w":87,"h":87},
"frame": {"x":185,"y":1603,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -282,7 +282,7 @@
},
"sprites/belt/built/right_7.png":
{
"frame": {"x":846,"y":1562,"w":87,"h":87},
"frame": {"x":94,"y":1615,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -290,7 +290,7 @@
},
"sprites/belt/built/right_8.png":
{
"frame": {"x":475,"y":1461,"w":87,"h":87},
"frame": {"x":3,"y":1677,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -298,7 +298,7 @@
},
"sprites/belt/built/right_9.png":
{
"frame": {"x":377,"y":1503,"w":87,"h":87},
"frame": {"x":863,"y":1411,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -306,7 +306,7 @@
},
"sprites/belt/built/right_10.png":
{
"frame": {"x":482,"y":1370,"w":87,"h":87},
"frame": {"x":3,"y":1586,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -314,7 +314,7 @@
},
"sprites/belt/built/right_11.png":
{
"frame": {"x":384,"y":1412,"w":87,"h":87},
"frame": {"x":873,"y":1320,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -322,7 +322,7 @@
},
"sprites/belt/built/right_12.png":
{
"frame": {"x":286,"y":1476,"w":87,"h":87},
"frame": {"x":772,"y":1372,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -330,7 +330,7 @@
},
"sprites/belt/built/right_13.png":
{
"frame": {"x":189,"y":1548,"w":87,"h":87},
"frame": {"x":671,"y":1442,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -338,7 +338,7 @@
},
"sprites/blueprints/belt_left.png":
{
"frame": {"x":280,"y":1567,"w":87,"h":87},
"frame": {"x":762,"y":1463,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -346,7 +346,7 @@
},
"sprites/blueprints/belt_right.png":
{
"frame": {"x":185,"y":1639,"w":87,"h":87},
"frame": {"x":671,"y":1533,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -354,7 +354,7 @@
},
"sprites/blueprints/belt_top.png":
{
"frame": {"x":266,"y":1758,"w":78,"h":96},
"frame": {"x":267,"y":1776,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -362,7 +362,7 @@
},
"sprites/blueprints/constant_signal.png":
{
"frame": {"x":949,"y":447,"w":71,"h":85},
"frame": {"x":949,"y":396,"w":71,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":71,"h":85},
@ -386,7 +386,7 @@
},
"sprites/blueprints/display.png":
{
"frame": {"x":94,"y":1729,"w":86,"h":91},
"frame": {"x":571,"y":1546,"w":86,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":5,"w":86,"h":91},
@ -402,7 +402,7 @@
},
"sprites/blueprints/lever.png":
{
"frame": {"x":946,"y":714,"w":75,"h":86},
"frame": {"x":946,"y":752,"w":75,"h":86},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":3,"w":75,"h":86},
@ -410,7 +410,7 @@
},
"sprites/blueprints/logic_gate-not.png":
{
"frame": {"x":937,"y":1562,"w":83,"h":96},
"frame": {"x":372,"y":1604,"w":83,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":83,"h":96},
@ -418,7 +418,7 @@
},
"sprites/blueprints/logic_gate-or.png":
{
"frame": {"x":3,"y":973,"w":96,"h":82},
"frame": {"x":3,"y":874,"w":96,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":82},
@ -426,7 +426,7 @@
},
"sprites/blueprints/logic_gate-transistor.png":
{
"frame": {"x":451,"y":792,"w":68,"h":96},
"frame": {"x":451,"y":754,"w":68,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":68,"h":96},
@ -442,7 +442,7 @@
},
"sprites/blueprints/logic_gate.png":
{
"frame": {"x":303,"y":903,"w":96,"h":89},
"frame": {"x":419,"y":954,"w":96,"h":89},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":89},
@ -450,7 +450,7 @@
},
"sprites/blueprints/miner-chainable.png":
{
"frame": {"x":800,"y":1169,"w":92,"h":96},
"frame": {"x":298,"y":1295,"w":92,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":92,"h":96},
@ -458,7 +458,7 @@
},
"sprites/blueprints/miner.png":
{
"frame": {"x":699,"y":1178,"w":92,"h":96},
"frame": {"x":198,"y":1321,"w":92,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":92,"h":96},
@ -506,7 +506,7 @@
},
"sprites/blueprints/reader.png":
{
"frame": {"x":503,"y":1092,"w":95,"h":96},
"frame": {"x":3,"y":1018,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":95,"h":96},
@ -522,7 +522,7 @@
},
"sprites/blueprints/rotater-fl.png":
{
"frame": {"x":3,"y":1059,"w":95,"h":96},
"frame": {"x":303,"y":1001,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":95,"h":96},
@ -538,7 +538,7 @@
},
"sprites/blueprints/splitter-compact-inverse.png":
{
"frame": {"x":3,"y":1159,"w":95,"h":93},
"frame": {"x":302,"y":1101,"w":95,"h":93},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":1,"w":95,"h":93},
@ -546,7 +546,7 @@
},
"sprites/blueprints/splitter-compact-merge-inverse.png":
{
"frame": {"x":102,"y":1159,"w":95,"h":93},
"frame": {"x":201,"y":1129,"w":95,"h":93},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":1,"w":95,"h":93},
@ -554,7 +554,7 @@
},
"sprites/blueprints/splitter-compact-merge.png":
{
"frame": {"x":101,"y":1256,"w":93,"h":93},
"frame": {"x":401,"y":1147,"w":93,"h":93},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":1,"w":93,"h":93},
@ -562,7 +562,7 @@
},
"sprites/blueprints/splitter-compact.png":
{
"frame": {"x":3,"y":1335,"w":93,"h":93},
"frame": {"x":300,"y":1198,"w":93,"h":93},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":1,"w":93,"h":93},
@ -602,7 +602,7 @@
},
"sprites/blueprints/underground_belt_entry-tier2.png":
{
"frame": {"x":703,"y":1090,"w":93,"h":84},
"frame": {"x":599,"y":1107,"w":93,"h":84},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":12,"w":93,"h":84},
@ -610,7 +610,7 @@
},
"sprites/blueprints/underground_belt_entry.png":
{
"frame": {"x":602,"y":1106,"w":93,"h":75},
"frame": {"x":498,"y":1171,"w":93,"h":75},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":21,"w":93,"h":75},
@ -618,7 +618,7 @@
},
"sprites/blueprints/underground_belt_exit-tier2.png":
{
"frame": {"x":3,"y":1256,"w":94,"h":75},
"frame": {"x":501,"y":1092,"w":94,"h":75},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":94,"h":75},
@ -626,7 +626,7 @@
},
"sprites/blueprints/underground_belt_exit.png":
{
"frame": {"x":800,"y":1090,"w":93,"h":75},
"frame": {"x":397,"y":1244,"w":93,"h":75},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":93,"h":75},
@ -650,7 +650,7 @@
},
"sprites/blueprints/virtual_processor-shapecompare.png":
{
"frame": {"x":403,"y":992,"w":96,"h":89},
"frame": {"x":519,"y":999,"w":96,"h":89},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":89},
@ -666,7 +666,7 @@
},
"sprites/blueprints/virtual_processor.png":
{
"frame": {"x":103,"y":874,"w":96,"h":94},
"frame": {"x":203,"y":873,"w":96,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":96,"h":94},
@ -682,7 +682,7 @@
},
"sprites/blueprints/wire-split.png":
{
"frame": {"x":203,"y":972,"w":96,"h":55},
"frame": {"x":103,"y":874,"w":96,"h":55},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":41,"w":96,"h":55},
@ -690,7 +690,7 @@
},
"sprites/blueprints/wire-turn.png":
{
"frame": {"x":955,"y":156,"w":55,"h":55},
"frame": {"x":955,"y":105,"w":55,"h":55},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":41,"y":41,"w":55,"h":55},
@ -714,7 +714,7 @@
},
"sprites/blueprints/wire_tunnel.png":
{
"frame": {"x":198,"y":1284,"w":93,"h":91},
"frame": {"x":201,"y":1226,"w":93,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":2,"w":93,"h":91},
@ -722,7 +722,7 @@
},
"sprites/buildings/belt_left.png":
{
"frame": {"x":896,"y":1198,"w":87,"h":87},
"frame": {"x":196,"y":1421,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -730,7 +730,7 @@
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":767,"y":1451,"w":87,"h":87},
"frame": {"x":190,"y":1512,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -738,7 +738,7 @@
},
"sprites/buildings/belt_top.png":
{
"frame": {"x":943,"y":804,"w":78,"h":96},
"frame": {"x":943,"y":842,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -746,7 +746,7 @@
},
"sprites/buildings/constant_signal.png":
{
"frame": {"x":451,"y":703,"w":70,"h":85},
"frame": {"x":949,"y":485,"w":70,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":70,"h":85},
@ -770,7 +770,7 @@
},
"sprites/buildings/display.png":
{
"frame": {"x":936,"y":1104,"w":84,"h":90},
"frame": {"x":469,"y":1601,"w":84,"h":90},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":6,"w":84,"h":90},
@ -794,7 +794,7 @@
},
"sprites/buildings/lever.png":
{
"frame": {"x":948,"y":536,"w":73,"h":85},
"frame": {"x":948,"y":574,"w":73,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":3,"w":73,"h":85},
@ -802,7 +802,7 @@
},
"sprites/buildings/logic_gate-not.png":
{
"frame": {"x":3,"y":1808,"w":82,"h":96},
"frame": {"x":276,"y":1676,"w":82,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":82,"h":96},
@ -810,7 +810,7 @@
},
"sprites/buildings/logic_gate-or.png":
{
"frame": {"x":103,"y":972,"w":96,"h":83},
"frame": {"x":901,"y":1142,"w":96,"h":83},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":83},
@ -818,7 +818,7 @@
},
"sprites/buildings/logic_gate-transistor.png":
{
"frame": {"x":449,"y":892,"w":68,"h":96},
"frame": {"x":449,"y":854,"w":68,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":68,"h":96},
@ -826,7 +826,7 @@
},
"sprites/buildings/logic_gate-xor.png":
{
"frame": {"x":3,"y":874,"w":96,"h":95},
"frame": {"x":203,"y":774,"w":96,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":95},
@ -834,7 +834,7 @@
},
"sprites/buildings/logic_gate.png":
{
"frame": {"x":603,"y":1014,"w":96,"h":88},
"frame": {"x":719,"y":1090,"w":96,"h":88},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":88},
@ -842,7 +842,7 @@
},
"sprites/buildings/miner-chainable.png":
{
"frame": {"x":100,"y":1448,"w":91,"h":95},
"frame": {"x":394,"y":1323,"w":91,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":91,"h":95},
@ -850,7 +850,7 @@
},
"sprites/buildings/miner.png":
{
"frame": {"x":3,"y":1527,"w":91,"h":95},
"frame": {"x":294,"y":1395,"w":91,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":91,"h":95},
@ -898,7 +898,7 @@
},
"sprites/buildings/reader.png":
{
"frame": {"x":102,"y":1059,"w":95,"h":96},
"frame": {"x":203,"y":1029,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":95,"h":96},
@ -906,7 +906,7 @@
},
"sprites/buildings/rotater-ccw.png":
{
"frame": {"x":201,"y":1089,"w":95,"h":96},
"frame": {"x":102,"y":1049,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":95,"h":96},
@ -914,7 +914,7 @@
},
"sprites/buildings/rotater-fl.png":
{
"frame": {"x":300,"y":1112,"w":95,"h":96},
"frame": {"x":3,"y":1118,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":95,"h":96},
@ -922,7 +922,7 @@
},
"sprites/buildings/rotater.png":
{
"frame": {"x":399,"y":1143,"w":95,"h":96},
"frame": {"x":402,"y":1047,"w":95,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":95,"h":96},
@ -930,7 +930,7 @@
},
"sprites/buildings/splitter-compact-inverse.png":
{
"frame": {"x":300,"y":1212,"w":94,"h":91},
"frame": {"x":3,"y":1218,"w":94,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":94,"h":91},
@ -938,7 +938,7 @@
},
"sprites/buildings/splitter-compact-merge-inverse.png":
{
"frame": {"x":201,"y":1189,"w":95,"h":91},
"frame": {"x":102,"y":1149,"w":95,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":95,"h":91},
@ -946,7 +946,7 @@
},
"sprites/buildings/splitter-compact-merge.png":
{
"frame": {"x":100,"y":1353,"w":93,"h":91},
"frame": {"x":101,"y":1244,"w":93,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":2,"w":93,"h":91},
@ -954,7 +954,7 @@
},
"sprites/buildings/splitter-compact.png":
{
"frame": {"x":3,"y":1432,"w":93,"h":91},
"frame": {"x":3,"y":1313,"w":93,"h":91},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":2,"w":93,"h":91},
@ -994,7 +994,7 @@
},
"sprites/buildings/underground_belt_entry-tier2.png":
{
"frame": {"x":498,"y":1192,"w":92,"h":83},
"frame": {"x":3,"y":1408,"w":92,"h":83},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":13,"w":92,"h":83},
@ -1002,7 +1002,7 @@
},
"sprites/buildings/underground_belt_entry.png":
{
"frame": {"x":398,"y":1243,"w":92,"h":74},
"frame": {"x":696,"y":1182,"w":92,"h":74},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":22,"w":92,"h":74},
@ -1010,7 +1010,7 @@
},
"sprites/buildings/underground_belt_exit-tier2.png":
{
"frame": {"x":295,"y":1307,"w":92,"h":74},
"frame": {"x":595,"y":1195,"w":92,"h":74},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":92,"h":74},
@ -1018,7 +1018,7 @@
},
"sprites/buildings/underground_belt_exit.png":
{
"frame": {"x":197,"y":1379,"w":92,"h":74},
"frame": {"x":494,"y":1250,"w":92,"h":74},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":92,"h":74},
@ -1034,7 +1034,7 @@
},
"sprites/buildings/virtual_processor-rotater.png":
{
"frame": {"x":821,"y":990,"w":79,"h":96},
"frame": {"x":942,"y":942,"w":79,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":79,"h":96},
@ -1042,7 +1042,7 @@
},
"sprites/buildings/virtual_processor-shapecompare.png":
{
"frame": {"x":503,"y":999,"w":96,"h":89},
"frame": {"x":619,"y":1014,"w":96,"h":89},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":89},
@ -1058,7 +1058,7 @@
},
"sprites/buildings/virtual_processor.png":
{
"frame": {"x":203,"y":874,"w":96,"h":94},
"frame": {"x":319,"y":903,"w":96,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":96,"h":94},
@ -1074,7 +1074,7 @@
},
"sprites/buildings/wire-split.png":
{
"frame": {"x":303,"y":996,"w":96,"h":54},
"frame": {"x":103,"y":933,"w":96,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":42,"w":96,"h":54},
@ -1082,7 +1082,7 @@
},
"sprites/buildings/wire-turn.png":
{
"frame": {"x":955,"y":215,"w":54,"h":54},
"frame": {"x":955,"y":164,"w":54,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":42,"w":54,"h":54},
@ -1106,7 +1106,7 @@
},
"sprites/buildings/wire_tunnel.png":
{
"frame": {"x":602,"y":1185,"w":92,"h":90},
"frame": {"x":100,"y":1339,"w":92,"h":90},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":3,"w":92,"h":90},
@ -1114,7 +1114,7 @@
},
"sprites/debug/acceptor_slot.png":
{
"frame": {"x":1013,"y":215,"w":8,"h":8},
"frame": {"x":1013,"y":164,"w":8,"h":8},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":8,"h":8},
@ -1122,7 +1122,7 @@
},
"sprites/debug/ejector_slot.png":
{
"frame": {"x":1013,"y":227,"w":8,"h":8},
"frame": {"x":1013,"y":176,"w":8,"h":8},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":8,"h":8},
@ -1138,7 +1138,7 @@
},
"sprites/misc/processor_disabled.png":
{
"frame": {"x":949,"y":1471,"w":53,"h":55},
"frame": {"x":964,"y":1320,"w":53,"h":55},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":6,"w":53,"h":55},
@ -1154,10 +1154,10 @@
},
"sprites/misc/reader_overlay.png":
{
"frame": {"x":955,"y":3,"w":66,"h":47},
"frame": {"x":451,"y":703,"w":70,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":25,"w":66,"h":47},
"spriteSourceSize": {"x":13,"y":25,"w":70,"h":47},
"sourceSize": {"w":96,"h":96}
},
"sprites/misc/slot_bad_arrow.png":
@ -1178,7 +1178,7 @@
},
"sprites/misc/storage_overlay.png":
{
"frame": {"x":955,"y":122,"w":60,"h":30},
"frame": {"x":955,"y":71,"w":60,"h":30},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":60,"h":30},
@ -1266,7 +1266,7 @@
},
"sprites/wires/lever_on.png":
{
"frame": {"x":948,"y":625,"w":73,"h":85},
"frame": {"x":948,"y":663,"w":73,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":3,"w":73,"h":85},
@ -1290,7 +1290,7 @@
},
"sprites/wires/network_conflict.png":
{
"frame": {"x":904,"y":1003,"w":32,"h":30},
"frame": {"x":903,"y":1003,"w":32,"h":30},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":1,"w":32,"h":30},
@ -1306,7 +1306,7 @@
},
"sprites/wires/overlay_tile.png":
{
"frame": {"x":955,"y":54,"w":64,"h":64},
"frame": {"x":955,"y":3,"w":64,"h":64},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
@ -1314,7 +1314,7 @@
},
"sprites/wires/sets/color_cross.png":
{
"frame": {"x":3,"y":774,"w":96,"h":96},
"frame": {"x":903,"y":1042,"w":96,"h":96},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":96},
@ -1330,7 +1330,7 @@
},
"sprites/wires/sets/color_split.png":
{
"frame": {"x":203,"y":1031,"w":96,"h":54},
"frame": {"x":3,"y":960,"w":96,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":42,"w":96,"h":54},
@ -1338,7 +1338,7 @@
},
"sprites/wires/sets/color_turn.png":
{
"frame": {"x":955,"y":273,"w":54,"h":54},
"frame": {"x":955,"y":222,"w":54,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":42,"w":54,"h":54},
@ -1346,7 +1346,7 @@
},
"sprites/wires/sets/conflict_cross.png":
{
"frame": {"x":103,"y":774,"w":96,"h":96},
"frame": {"x":3,"y":774,"w":96,"h":96},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":96},
@ -1354,7 +1354,7 @@
},
"sprites/wires/sets/conflict_forward.png":
{
"frame": {"x":904,"y":1037,"w":12,"h":96},
"frame": {"x":1003,"y":1042,"w":12,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":0,"w":12,"h":96},
@ -1362,7 +1362,7 @@
},
"sprites/wires/sets/conflict_split.png":
{
"frame": {"x":303,"y":1054,"w":96,"h":54},
"frame": {"x":203,"y":971,"w":96,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":42,"w":96,"h":54},
@ -1370,7 +1370,7 @@
},
"sprites/wires/sets/conflict_turn.png":
{
"frame": {"x":955,"y":331,"w":54,"h":54},
"frame": {"x":955,"y":280,"w":54,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":42,"w":54,"h":54},
@ -1394,7 +1394,7 @@
},
"sprites/wires/sets/regular_split.png":
{
"frame": {"x":303,"y":996,"w":96,"h":54},
"frame": {"x":103,"y":933,"w":96,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":42,"w":96,"h":54},
@ -1402,7 +1402,7 @@
},
"sprites/wires/sets/regular_turn.png":
{
"frame": {"x":955,"y":215,"w":54,"h":54},
"frame": {"x":955,"y":164,"w":54,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":42,"w":54,"h":54},
@ -1410,7 +1410,7 @@
},
"sprites/wires/sets/shape_cross.png":
{
"frame": {"x":203,"y":774,"w":96,"h":96},
"frame": {"x":103,"y":774,"w":96,"h":96},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":96},
@ -1418,7 +1418,7 @@
},
"sprites/wires/sets/shape_forward.png":
{
"frame": {"x":920,"y":1037,"w":12,"h":96},
"frame": {"x":303,"y":859,"w":12,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":0,"w":12,"h":96},
@ -1426,7 +1426,7 @@
},
"sprites/wires/sets/shape_split.png":
{
"frame": {"x":403,"y":1085,"w":96,"h":54},
"frame": {"x":103,"y":991,"w":96,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":42,"w":96,"h":54},
@ -1434,7 +1434,7 @@
},
"sprites/wires/sets/shape_turn.png":
{
"frame": {"x":955,"y":389,"w":54,"h":54},
"frame": {"x":955,"y":338,"w":54,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":42,"y":42,"w":54,"h":54},
@ -1455,6 +1455,6 @@
"format": "RGBA8888",
"size": {"w":1024,"h":2048},
"scale": "0.5",
"smartupdate": "$TexturePacker:SmartUpdate:3b1717ceee14135311380de9706938d5:e834c7745e235246a53bcb721a2e3be3:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:276f2044dea94b0977ef8f929d93d3db:fe07471c4d8352b4586f9103e9e8f916:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 659 KiB

After

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -104,5 +104,8 @@ export default {
// Renders information about wire networks
// renderWireNetworkInfos: true,
// -----------------------------------------------------------------------------------
// Disables ejector animations and processing
// disableEjectorProcessing: true,
// -----------------------------------------------------------------------------------
/* dev:end */
};

View File

@ -62,9 +62,27 @@ export const BOOL_FALSE_SINGLETON = new BooleanItem(0);
export const BOOL_TRUE_SINGLETON = new BooleanItem(1);
/**
*
* Returns whether the item is Boolean and TRUE
* @param {BaseItem} item
* @returns {boolean}
*/
export function isTrueItem(item) {
return item && item.getItemType() === "boolean" && /** @type {BooleanItem} */ (item).value;
return item && item.getItemType() === "boolean" && !!(/** @type {BooleanItem} */ (item).value);
}
/**
* Returns whether the item is truthy
* @param {BaseItem} item
* @returns {boolean}
*/
export function isTruthyItem(item) {
if (!item) {
return false;
}
if (item.getItemType() === "boolean") {
return !!(/** @type {BooleanItem} */ (item).value);
}
return true;
}

View File

@ -31,9 +31,24 @@ export class BeltReaderSystem extends GameSystemWithFilter {
: BOOL_FALSE_SINGLETON;
if (now - readerComp.lastThroughputComputation > 0.5) {
// Compute throughput
readerComp.lastThroughputComputation = now;
readerComp.lastThroughput =
readerComp.lastItemTimes.length / globalConfig.readerAnalyzeIntervalSeconds;
let throughput = 0;
if (readerComp.lastItemTimes.length < 2) {
throughput = 0;
} else {
let averageSpacing = 0;
let averageSpacingNum = 0;
for (let i = 0; i < readerComp.lastItemTimes.length - 1; ++i) {
averageSpacing += readerComp.lastItemTimes[i + 1] - readerComp.lastItemTimes[i];
++averageSpacingNum;
}
throughput = 1 / (averageSpacing / averageSpacingNum);
}
readerComp.lastThroughput = throughput;
}
}
}

View File

@ -222,6 +222,10 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
globalConfig.itemSpacingOnBelts
);
if (G_IS_DEV && globalConfig.debug.disableEjectorProcessing) {
sourceSlot.progress = 1.0;
}
// Check if we are still in the process of ejecting, can't proceed then
if (sourceSlot.progress < 1.0) {
continue;

View File

@ -8,7 +8,7 @@ import {
} from "../components/item_processor";
import { Entity } from "../entity";
import { GameSystemWithFilter } from "../game_system_with_filter";
import { BOOL_TRUE_SINGLETON, isTrueItem, BooleanItem } from "../items/boolean_item";
import { BOOL_TRUE_SINGLETON, isTruthyItem } from "../items/boolean_item";
import { ColorItem, COLOR_ITEM_SINGLETONS } from "../items/color_item";
import { ShapeItem } from "../items/shape_item";
@ -103,7 +103,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
// Check the network value at the given slot
const network = pinsComp.slots[slotIndex - 1].linkedNetwork;
const slotIsEnabled = network && isTrueItem(network.currentValue);
const slotIsEnabled = network && isTruthyItem(network.currentValue);
if (!slotIsEnabled) {
return false;
}
@ -168,7 +168,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
: null;
// If there is no "1" on that slot, don't paint there
if (!isTrueItem(networkValue)) {
if (!isTruthyItem(networkValue)) {
slotStatus.push(false);
continue;
}

View File

@ -1,10 +1,10 @@
import { globalConfig } from "../../core/config";
import { Loader } from "../../core/loader";
import { smoothPulse } from "../../core/utils";
import { smoothPulse, round4Digits } from "../../core/utils";
import { enumItemProcessorRequirements, enumItemProcessorTypes } from "../components/item_processor";
import { Entity } from "../entity";
import { GameSystem } from "../game_system";
import { isTrueItem } from "../items/boolean_item";
import { isTruthyItem } from "../items/boolean_item";
import { MapChunkView } from "../map_chunk_view";
export class ItemProcessorOverlaysSystem extends GameSystem {
@ -88,7 +88,10 @@ export class ItemProcessorOverlaysSystem extends GameSystem {
parameters.context.textAlign = "center";
parameters.context.font = "bold 10px GameFont";
parameters.context.fillText(
"" + Math.round(readerComp.lastThroughput * 10) / 10,
"" +
(G_IS_DEV
? round4Digits(readerComp.lastThroughput)
: Math.round(readerComp.lastThroughput * 10) / 10),
(staticComp.origin.x + 0.5) * globalConfig.tileSize,
(staticComp.origin.y + 0.62) * globalConfig.tileSize
);
@ -116,7 +119,7 @@ export class ItemProcessorOverlaysSystem extends GameSystem {
if (network && network.currentValue) {
anySlotConnected = true;
if (isTrueItem(network.currentValue) || !drawIfFalse) {
if (isTruthyItem(network.currentValue) || !drawIfFalse) {
// No need to draw anything
return;
}

View File

@ -3,7 +3,7 @@ import { enumColors } from "../colors";
import { enumLogicGateType, LogicGateComponent } from "../components/logic_gate";
import { enumPinSlotType } from "../components/wired_pins";
import { GameSystemWithFilter } from "../game_system_with_filter";
import { BOOL_FALSE_SINGLETON, BOOL_TRUE_SINGLETON, isTrueItem } from "../items/boolean_item";
import { BOOL_FALSE_SINGLETON, BOOL_TRUE_SINGLETON, isTrueItem, isTruthyItem } from "../items/boolean_item";
import { COLOR_ITEM_SINGLETONS } from "../items/color_item";
import { ShapeDefinition } from "../shape_definition";
import { ShapeItem } from "../items/shape_item";
@ -76,7 +76,7 @@ export class LogicGateSystem extends GameSystemWithFilter {
*/
compute_AND(parameters) {
assert(parameters.length === 2, "bad parameter count for AND");
return isTrueItem(parameters[0]) && isTrueItem(parameters[1])
return isTruthyItem(parameters[0]) && isTruthyItem(parameters[1])
? BOOL_TRUE_SINGLETON
: BOOL_FALSE_SINGLETON;
}
@ -86,7 +86,7 @@ export class LogicGateSystem extends GameSystemWithFilter {
* @returns {BaseItem}
*/
compute_NOT(parameters) {
return isTrueItem(parameters[0]) ? BOOL_FALSE_SINGLETON : BOOL_TRUE_SINGLETON;
return isTruthyItem(parameters[0]) ? BOOL_FALSE_SINGLETON : BOOL_TRUE_SINGLETON;
}
/**
@ -95,7 +95,7 @@ export class LogicGateSystem extends GameSystemWithFilter {
*/
compute_XOR(parameters) {
assert(parameters.length === 2, "bad parameter count for XOR");
return isTrueItem(parameters[0]) ^ isTrueItem(parameters[1])
return isTruthyItem(parameters[0]) ^ isTruthyItem(parameters[1])
? BOOL_TRUE_SINGLETON
: BOOL_FALSE_SINGLETON;
}
@ -106,7 +106,7 @@ export class LogicGateSystem extends GameSystemWithFilter {
*/
compute_OR(parameters) {
assert(parameters.length === 2, "bad parameter count for OR");
return isTrueItem(parameters[0]) || isTrueItem(parameters[1])
return isTruthyItem(parameters[0]) || isTruthyItem(parameters[1])
? BOOL_TRUE_SINGLETON
: BOOL_FALSE_SINGLETON;
}
@ -121,7 +121,7 @@ export class LogicGateSystem extends GameSystemWithFilter {
const value = parameters[1];
// pass through item
if (isTrueItem(flag)) {
if (isTruthyItem(flag)) {
return value;
}