diff options
author | William Miller <william-millennium@hotmail.com> | 2024-01-26 18:47:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 22:47:24 +0100 |
commit | 14561cf90f3f80ad844803bdb621c6bd720bdc55 (patch) | |
tree | adbf181f0b1d025a36ae1f6997a7f0dcea641f2d /Northstar.CustomServers | |
parent | 51ed7763f70273603a45dec1ca611ad3eba7f5f6 (diff) | |
download | NorthstarMods-1.22.2.tar.gz NorthstarMods-1.22.2.zip |
Unlock remaining DLC items while progression is enabled (#786)v1.22.2-rc2v1.22.2
As they cannot be unlocked by levelling up and some players may still want to use them while having progression enabled, we simply keep them unlocked when progression is enabled.
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/_items.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_items.nut b/Northstar.CustomServers/mod/scripts/vscripts/_items.nut index a23a68b0..96623086 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/_items.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/_items.nut @@ -10094,7 +10094,7 @@ void function InitUnlockAsEntitlement( string itemRef, string parentRef, int ent unlock = file.entitlementUnlocks[fullRef] } - unlock.entitlementIds.append( entitlementId ) + unlock.entitlementIds.append( 1 ) // Using `1` here instead of the huge DLC check I did previously. Having the `1` seems to keep all paid cosmetics unlocked with progression enabled. } array<int> function GetEntitlementIds( string itemRef, string parentRef = "" ) |