Skip to content

Commit

Permalink
Unlock remaining DLC items while progression is enabled (#786)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Zanieon authored Jan 26, 2024
1 parent 51ed776 commit 14561cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Northstar.CustomServers/mod/scripts/vscripts/_items.nut
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "" )
Expand Down

0 comments on commit 14561cf

Please sign in to comment.