mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-05 17:14:03 +00:00
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.
This commit is contained in:
parent
27921e9d0e
commit
efffa8940b
@ -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…
Reference in New Issue
Block a user