Just out of interest, I've been poking around in gzdoom.pk3 to see if I can find where/how this "lock" is defined, but I can't see it anywhere. Does it exist in a LOCKDEFS-like format anywhere?
I know that the message is TXT_DOES_NOT_WORK and I also found this in the Strife xlat:
Code: Select all
165 = USE, Door_LockedRaise (0, 0, 0, 102)
Code: Select all
if (!lock)
{
if (quiet) return false;
if (keynum == 103 && (gameinfo.flags & GI_SHAREWARE))
failtext = "$TXT_RETAIL_ONLY";
else
failtext = "$TXT_DOES_NOT_WORK";
failsound = failage;
numfailsounds = countof(failage);
}
[Bonus Question]
I also notice that there are locks in LOCKDEFS that are basically repeats of each other (i.e. 129 and 132 (any red key), 130 and 133 (any blue key), 131 and 134 (any yellow key), 100 and 228 (any key)).
I assume that this is for historical reasons (different supported ports doing things differently) but does anyone know the exact reason?