PoA_PRC8/_module/nss/underentrance.nss

13 lines
401 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
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));
}