Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
20
_module/nss/cnr_mob_ondeath.nss
Normal file
20
_module/nss/cnr_mob_ondeath.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// Craftable Natural Resources (CNR) by Festyx
|
||||
//
|
||||
// Name: cnr_mob_ondeath
|
||||
//
|
||||
// Desc: The OnDeath handler for mobs that drop
|
||||
// items. Mob/Item pairs are configured
|
||||
// in cnr_source_init.
|
||||
//
|
||||
// Author: David Bobeck 08Aug03
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
location locDeath = GetLocation(OBJECT_SELF);
|
||||
string sMobTag = GetTag(OBJECT_SELF);
|
||||
string sDropTag = GetLocalString(GetModule(), sMobTag + "_DropTag");
|
||||
CreateObject(OBJECT_TYPE_ITEM, sDropTag, locDeath, FALSE);
|
||||
}
|
||||
Reference in New Issue
Block a user