Repository navigation
Conversation
… the hand - the hero says he needs the key, the key in the inventory opens it Gothic's locks have a key and/or a pick combination (world file). A lock without combination (key only, never opens) took the pick anyway; UpdateCombination read the first char of the empty combination on every 45 degree turn. Now the pick works like an empty hand there: the key in the inventory opens the lock, else the hero says $KEYMISSING / $NEVEROPEN.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A lock pick put into a lock that has no pick combination (key-only lock, or one that never opens) no longer starts lock picking. It works like touching the lock with an empty hand: the key in the inventory opens it, else the hero says why it doesn't open (G2 PL: "Bez właściwego klucza nigdy tego nie otworzę!" =
$KEYMISSING, or$NEVEROPEN).Gothic's locked doors/chests carry two separate fields in the world file: the key instance and the pick combination (e.g.
LRRLR). Key only / pick only / both (key or pick) / neither (never opens). Before, the pick went into every lock;UpdateCombinationthen read the first char of the empty combination on every 45° turn of the hand and threw each time.Why
Found while checking the lock types for the G2 playtest (no report yet, the code path throws for every key-only chest/door).
How to test manually
Save/load
No new state.
Known gaps / follow-ups