Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
//::///////////////////////////////////////////////
//:: if_removekey1
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
If the current variable on the player is:
"removekey" == 1, then check to see if the PC
has one of the 6 room keys. If they do,
remove it. Else, have innkeeper shout a
warning to go get it.
*/
//:://////////////////////////////////////////////
//:: Created By: SorcererOfShadows
//:: Created On: Jan 30, 2006
//:://////////////////////////////////////////////
#include "if_nokey_noentry"
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetLocalInt(oPC, "removekey")== 1)
{
GetHasKey();
}
}