aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2024-01-26 18:47:24 -0300
committerGitHub <noreply@github.com>2024-01-26 22:47:24 +0100
commit14561cf90f3f80ad844803bdb621c6bd720bdc55 (patch)
treeadbf181f0b1d025a36ae1f6997a7f0dcea641f2d /Northstar.CustomServers/mod/scripts/vscripts
parent51ed7763f70273603a45dec1ca611ad3eba7f5f6 (diff)
downloadNorthstarMods-14561cf90f3f80ad844803bdb621c6bd720bdc55.tar.gz
NorthstarMods-14561cf90f3f80ad844803bdb621c6bd720bdc55.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/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_items.nut2
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 = "" )