Match belt/processor etc. level to upgrade tiers

Currently the belt (+ processor) levels do not match to the upgrade shop tiers. The tiers start from Tier 1, and once upgraded, they go to tier 2, 3, ... 7. So tier 7 is currently the highest.

However, the belt level starts from level 0, and increases to level 1 once upgraded. The maximum level is therefore 6.

This PR raises the start level of belts and other items to level 1, meaning the levels match the upgrade tiers in the shop.
pull/459/head
MrYawnie 4 years ago committed by GitHub
parent 27921e9d0e
commit efffa8940b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,7 +105,7 @@ export class HUDSandboxController extends BaseHUDPart {
this.root.hubGoals.upgradeImprovements[id] = improvement;
this.root.signals.upgradePurchased.dispatch(id);
this.root.hud.signals.notification.dispatch(
"Upgrade '" + id + "' is now at level " + this.root.hubGoals.upgradeLevels[id],
"Upgrade '" + id + "' is now at level " + (this.root.hubGoals.upgradeLevels[id] + 1),
enumNotificationType.upgrade
);
}

Loading…
Cancel
Save