Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/*
** CHD 0.0.1
** Author: Krisztian PIFKO <monsta@monsta.hu>
** License: GPL
** Last modified: 2004-12-04
**
** chd_on_spawn.nss: listening initialization for an NPC
**
** use it in the on spawn event of an NPC
*/
#include "NW_O2_CONINCLUDE"
#include "NW_I0_GENERIC"
void main()
{
SetListenPattern(OBJECT_SELF, "**", 50);
// DEFAULT GENERIC BEHAVIOR (DO NOT TOUCH) *****************************************************************************************
SetListeningPatterns(); // Goes through and sets up which shouts the NPC will listen to.
WalkWayPoints(); // Optional Parameter: void WalkWayPoints(int nRun = FALSE, float fPause = 1.0)
// 1. Looks to see if any Way Points in the module have the tag "WP_" + NPC TAG + "_0X", if so walk them
// 2. If the tag of the Way Point is "POST_" + NPC TAG the creature will return this way point after
// combat.
GenerateNPCTreasure(); //* Use this to create a small amount of treasure on the creature
}