Remade Dungeon Level One: Central
Remade Dungeon Level One: Central. Added Didiamus' creature overrides. Full compile.
This commit is contained in:
16
_module/nss/at_ghoulchest1.nss
Normal file
16
_module/nss/at_ghoulchest1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user