mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Give more blueprint shapes in sandbox controller, create wire network even if it consists of tunnels only
This commit is contained in:
parent
d4cbb5b124
commit
1dfb5f7476
@ -78,7 +78,7 @@ export class HUDSandboxController extends BaseHUDPart {
|
|||||||
if (!this.root.hubGoals.storedShapes[blueprintShape]) {
|
if (!this.root.hubGoals.storedShapes[blueprintShape]) {
|
||||||
this.root.hubGoals.storedShapes[blueprintShape] = 0;
|
this.root.hubGoals.storedShapes[blueprintShape] = 0;
|
||||||
}
|
}
|
||||||
this.root.hubGoals.storedShapes[blueprintShape] += 1e4;
|
this.root.hubGoals.storedShapes[blueprintShape] += 1e9;
|
||||||
}
|
}
|
||||||
|
|
||||||
maxOutAll() {
|
maxOutAll() {
|
||||||
|
@ -317,7 +317,9 @@ export class WireSystem extends GameSystemWithFilter {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
currentNetwork.providers.length > 0 &&
|
currentNetwork.providers.length > 0 &&
|
||||||
(currentNetwork.wires.length > 0 || currentNetwork.receivers.length > 0)
|
(currentNetwork.wires.length > 0 ||
|
||||||
|
currentNetwork.receivers.length > 0 ||
|
||||||
|
currentNetwork.tunnels.length > 0)
|
||||||
) {
|
) {
|
||||||
this.networks.push(currentNetwork);
|
this.networks.push(currentNetwork);
|
||||||
VERBOSE_WIRES && logger.log("Attached new network with uid", currentNetwork);
|
VERBOSE_WIRES && logger.log("Attached new network with uid", currentNetwork);
|
||||||
|
Loading…
Reference in New Issue
Block a user