Initial upload
Initial upload.
This commit is contained in:
22
_module/nss/rp_pox_at1d.nss
Normal file
22
_module/nss/rp_pox_at1d.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Find the "nearest" pack in the ox's inventory and give it to the owner.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rogers Pessin (Tigsen)
|
||||
//:: Created On: August 4, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int iNearestPack = GetLocalInt(OBJECT_SELF,"RP_PACK_NEAREST");
|
||||
object oPackToGive = GetLocalObject(OBJECT_SELF,"RP_PACK_NUM_"+IntToString(iNearestPack));
|
||||
|
||||
ActionGiveItem(oPackToGive,GetPCSpeaker());
|
||||
// Remember which pack we've given to the owner.
|
||||
SetLocalObject(OBJECT_SELF,"RP_PACK_OFF",oPackToGive);
|
||||
}
|
||||
Reference in New Issue
Block a user