PoA_PRC8/module/nss/underentrance.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

13 lines
401 B
Plaintext

void main()
{
// Remove some gold from the player
CreateItemOnObject("brokenceremonial", GetPCSpeaker(), 1);
object oDoor = GetNearestObjectByTag ("underentrance1");
SetLocked(oDoor,FALSE);
AssignCommand (oDoor,ActionOpenDoor(oDoor));
object oDoor2 = GetNearestObjectByTag ("underentrance2");
SetLocked(oDoor2,FALSE);
AssignCommand (oDoor2,ActionOpenDoor(oDoor2));
}