Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
16
_module/nss/at_006.nss
Normal file
16
_module/nss/at_006.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "Cannabis");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 200);
|
||||
|
||||
// Give the speaker some XP
|
||||
GiveXPToCreature(GetPCSpeaker(), 50);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user