Give more blueprint shapes in sandbox controller, create wire network even if it consists of tunnels only

This commit is contained in:
tobspr 2020-08-15 23:19:55 +02:00
parent d4cbb5b124
commit 1dfb5f7476
2 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export class HUDSandboxController extends BaseHUDPart {
if (!this.root.hubGoals.storedShapes[blueprintShape]) {
this.root.hubGoals.storedShapes[blueprintShape] = 0;
}
this.root.hubGoals.storedShapes[blueprintShape] += 1e4;
this.root.hubGoals.storedShapes[blueprintShape] += 1e9;
}
maxOutAll() {

View File

@ -317,7 +317,9 @@ export class WireSystem extends GameSystemWithFilter {
if (
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);
VERBOSE_WIRES && logger.log("Attached new network with uid", currentNetwork);