RATDOG/_module/nss/at_ghoulchest1.nss
Jaysyn904 d168e90e83 Remade Dungeon Level One: Central
Remade Dungeon Level One: Central.  Added Didiamus' creature overrides.  Full compile.
2023-09-17 23:08:55 -04:00

17 lines
450 B
Plaintext

void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
string sPlacableTag = GetTag(OBJECT_SELF);
// Give 20 gold to the PC.
GiveGoldToCreature(oPC, 20);
// And some fake coins.
CreateItemOnObject("itm_fakecoins001", oPC);
SetLocalInt(oPC, "PlayerLooted_" + sPlacableTag, 1);
SetLocalInt(oSelf, "BeenLooted1_" + sPlacableTag, 1);
}