Added Mine & Caverns raise & lower functionality
Added Mine & Caverns raise & lower functionality. Revamped Level 1 events to match PnP. Updated Level 1: Core. Added new Footcatcher trap type. Added Underwater heartbeat to Glop Lake Underwater. Full compile.
This commit is contained in:
13
_module/nss/at_give_coins.nss
Normal file
13
_module/nss/at_give_coins.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
string sTag = GetTag(oSelf);
|
||||
|
||||
|
||||
// Give 2-8 gold to the PC.
|
||||
GiveGoldToCreature(oPC, d6(1)+2);
|
||||
SetLocalInt(oPC, "FoundCoins"+sTag, 1);
|
||||
}
|
Reference in New Issue
Block a user