mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-10 00:31:51 +00:00
SeeableDisplay
This commit is contained in:
parent
0146aa91bb
commit
e6c3e5452e
BIN
res_raw/sprites/wires/display_logical_acceptor.png
Normal file
BIN
res_raw/sprites/wires/display_logical_acceptor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
@ -99,7 +99,6 @@ export class ConstantSignalSystem extends GameSystemWithFilter {
|
||||
}
|
||||
|
||||
if (itemInput.chosenItem) {
|
||||
console.log(itemInput.chosenItem);
|
||||
constantComp.signal = itemInput.chosenItem;
|
||||
} else {
|
||||
constantComp.signal = this.parseSignalCode(signalValueInput.getValue());
|
||||
|
||||
@ -189,9 +189,13 @@ export class WiredPinsSystem extends GameSystemWithFilter {
|
||||
);
|
||||
|
||||
if (staticComp.getMetaBuilding().getRenderPins()) {
|
||||
this.sprite = this.pinSprites[slot.type];
|
||||
if (staticComp.getMetaBuilding().id == "display") {
|
||||
this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png")
|
||||
}
|
||||
drawRotatedSprite({
|
||||
parameters,
|
||||
sprite: this.pinSprites[slot.type],
|
||||
sprite: this.sprite,
|
||||
x: worldPos.x,
|
||||
y: worldPos.y,
|
||||
angle: effectiveRotation,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user