Skip to content

Variable Gold Lock Timer#226

Open
TimberJackEB wants to merge 2 commits intoAda18980:5.5from
TimberJackEB:5.5
Open

Variable Gold Lock Timer#226
TimberJackEB wants to merge 2 commits intoAda18980:5.5from
TimberJackEB:5.5

Conversation

@TimberJackEB
Copy link

This change softcodes the gold lock duration. Now, it can be adjusted within the restraint data by using 'lockDuration: x' where x is the duration of the lock. The game will still default to 2 if no lockDuration entry is present.

This change allows overwriting the two floor timer of the gold lock with a variable timer as defined in the restraint data. 'lockDuration' will be called to determine how many floors must be passed. It will appear in the restraint data as: 'lockDuration: x' where x is the number defining how many floors must be cleared. If there is no lock duration entry within the restraint data, the duration will default to 2, thereby not breaking the behavior of existing gold locks.
This change allows overwriting the two floor timer of the gold lock with a variable timer as defined in the restraint data. 'lockDuration' will be called to determine how many floors must be passed. It will appear in the restraint data as: 'lockDuration: x' where x is the number defining how many floors must be cleared. If there is no lock duration entry within the restraint data, the duration will default to 2, thereby not breaking the behavior of existing gold locks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant