NWNX:EE  8193.36.12
nwnx_deprecated.nss
Go to the documentation of this file.
1 // The following functions have been removed from NWNX, please replace them with their basegame implementation!
2 // To use this file, include it to nwnx.nss and recompile all your scripts.
3 
4 // *** NWNX_Creature
5 
31 
35 {
36  int id;
37  int ready;
38  int meta;
39  int domain;
40 };
41 
47 int NWNX_Creature_GetMemorisedSpellCountByLevel(object creature, int class, int level);
48 
55 struct NWNX_Creature_MemorisedSpell NWNX_Creature_GetMemorisedSpell(object creature, int class, int level, int index);
56 
63 void NWNX_Creature_SetMemorisedSpell(object creature, int class, int level, int index, struct NWNX_Creature_MemorisedSpell spell);
64 
70 int NWNX_Creature_GetKnownSpellCount(object creature, int class, int level);
71 
78 int NWNX_Creature_GetKnownSpell(object creature, int class, int level, int index);
79 
84 void NWNX_Creature_ClearMemorisedKnownSpells(object creature, int class, int spellId);
85 
91 void NWNX_Creature_ClearMemorisedSpell(object creature, int class, int level, int index);
92 
96 int NWNX_Creature_GetSoundset(object creature);
97 
101 void NWNX_Creature_SetSoundset(object creature, int soundset);
102 
106 void NWNX_Creature_SetGender(object creature, int gender);
107 
111 void NWNX_Creature_RestoreSpells(object creature, int level = -1);
112 
118 int NWNX_Creature_GetDomain(object creature, int class, int index);
119 
124 int NWNX_Creature_GetSpecialization(object creature, int class);
125 
134 int NWNX_Creature_GetSpellUsesLeft(object oCreature, int nSpellID, int nMultiClass, int nDomainLevel = 0, int nMetaMagic = METAMAGIC_NONE);
135 
143 int NWNX_Creature_GetMemorizedSpellReadyCount(object oCreature, int nSpellID, int nMultiClass, int nMetaMagic = METAMAGIC_NONE);
144 
149 void NWNX_Creature_SetEffectIconFlashing(object oCreature, int nIconId, int bFlashing);
150 
151 int NWNX_Creature_GetMemorisedSpellCountByLevel(object creature, int class, int level)
152 {
153  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetMemorisedSpellCountByLevel");
154  return GetMemorizedSpellCountByLevel(creature, class, level);
155 }
156 
157 struct NWNX_Creature_MemorisedSpell NWNX_Creature_GetMemorisedSpell(object creature, int class, int level, int index)
158 {
159  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetMemorisedSpell");
160  struct NWNX_Creature_MemorisedSpell spell;
161  spell.domain = GetMemorizedSpellIsDomainSpell(creature, class, level, index);
162  spell.meta = GetMemorizedSpellMetaMagic(creature, class, level, index);
163  spell.ready = GetMemorizedSpellReady(creature, class, level, index);
164  spell.id = GetMemorizedSpellId(creature, class, level, index);
165  return spell;
166 }
167 
168 void NWNX_Creature_SetMemorisedSpell(object creature, int class, int level, int index, struct NWNX_Creature_MemorisedSpell spell)
169 {
170  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_SetMemorisedSpell");
171  SetMemorizedSpell(creature, class, level, index, spell.id, spell.ready, spell.meta, spell.domain);
172 }
173 
174 int NWNX_Creature_GetKnownSpellCount(object creature, int class, int level)
175 {
176  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetKnownSpellCount");
177  return GetKnownSpellCount(creature, class, level);
178 }
179 
180 int NWNX_Creature_GetKnownSpell(object creature, int class, int level, int index)
181 {
182  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetKnownSpell");
183  return GetKnownSpellId(creature, class, level, index);
184 }
185 
186 void NWNX_Creature_ClearMemorisedKnownSpells(object creature, int class, int spellId)
187 {
188  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_ClearMemorisedKnownSpells");
189  ClearMemorizedSpellBySpellId(creature, class, spellId);
190 }
191 
192 void NWNX_Creature_ClearMemorisedSpell(object creature, int class, int level, int index)
193 {
194  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_ClearMemorisedSpell");
195  ClearMemorizedSpell(creature, class, level, index);
196 }
197 
198 int NWNX_Creature_GetSoundset(object creature)
199 {
200  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetSoundset");
201  return GetSoundset(creature);
202 }
203 
204 void NWNX_Creature_SetSoundset(object creature, int soundset)
205 {
206  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_SetSoundset");
207  SetSoundset(creature, soundset);
208 }
209 
210 void NWNX_Creature_SetGender(object creature, int gender)
211 {
212  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_SetGender");
213  SetGender(creature, gender);
214 }
215 
216 void NWNX_Creature_RestoreSpells(object creature, int level = -1)
217 {
218  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_RestoreSpells");
219  if (level == -1)
220  {
221  int i;
222  for (i = 0; i < 10; i++)
223  {
224  ReadySpellLevel(creature, i);
225  }
226  }
227  else
228  ReadySpellLevel(creature, level);
229 
230 }
231 
232 int NWNX_Creature_GetDomain(object creature, int class, int index)
233 {
234  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetDomain");
235  return GetDomain(creature, index, class);
236 }
237 
238 int NWNX_Creature_GetSpecialization(object creature, int class)
239 {
240  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetSpecialization");
241  return GetSpecialization(creature, class);
242 }
243 
244 int NWNX_Creature_GetSpellUsesLeft(object oCreature, int nSpellID, int nMultiClass, int nDomainLevel = 0, int nMetaMagic = METAMAGIC_NONE)
245 {
246  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetSpellUsesLeft");
247  return GetSpellUsesLeft(oCreature, GetClassByPosition(nMultiClass + 1), nSpellID, nMetaMagic, nDomainLevel);
248 }
249 
250 int NWNX_Creature_GetMemorizedSpellReadyCount(object oCreature, int nSpellID, int nMultiClass, int nMetaMagic = METAMAGIC_NONE)
251 {
252  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_GetMemorizedSpellReadyCount");
253  return GetSpellUsesLeft(oCreature, GetClassByPosition(nMultiClass + 1), nSpellID, nMetaMagic);
254 }
255 
256 void NWNX_Creature_SetEffectIconFlashing(object oCreature, int nIconId, int bFlashing)
257 {
258  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Creature_SetEffectIconFlashing");
259  SetEffectIconFlashing(oCreature, nIconId, bFlashing);
260 }
261 
262 // *** NWNX_Effect
263 
270 effect NWNX_Effect_SetEffectExpiredScript(effect e, string script, string data = "");
271 
276 
281 
286 effect NWNX_Effect_AccessorizeVisualEffect(effect eEffect);
287 
288 effect NWNX_Effect_SetEffectExpiredScript(effect e, string script, string data = "")
289 {
290  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Effect_SetEffectExpiredScript");
291  return EffectLinkEffects(EffectRunScript("", script, "", 0.0f, data), e);
292 }
293 
295 {
296  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Effect_GetEffectExpiredData");
297  return GetEffectString(GetLastRunScriptEffect(), 0);
298 }
299 
301 {
302  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Effect_GetEffectExpiredCreator");
303  return GetEffectCreator(GetLastRunScriptEffect());
304 }
305 
307 {
308  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Effect_AccessorizeVisualEffect");
309  if (GetEffectType(eEffect) == EFFECT_TYPE_VISUALEFFECT)
310  return UnyieldingEffect(eEffect);
311  else
312  return eEffect;
313 }
314 
315 // *** NWNX_Object
316 
322 object NWNX_Object_StringToObject(string id);
323 
328 int NWNX_Object_CheckFit(object obj, int baseitem);
329 
336 void NWNX_Object_AddIconEffect(object obj, int nIcon, float fDuration=0.0);
337 
341 void NWNX_Object_RemoveIconEffect(object obj, int nIcon);
342 
349 void NWNX_Object_SetFacing(object oObject, float fDirection);
350 
351 object NWNX_Object_StringToObject(string id)
352 {
353  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Object_StringToObject");
354  return StringToObject(id);
355 }
356 
357 int NWNX_Object_CheckFit(object obj, int baseitem)
358 {
359  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Object_CheckFit");
360  return GetBaseItemFitsInInventory(baseitem, obj);
361 }
362 
363 void NWNX_Object_AddIconEffect(object obj, int nIcon, float fDuration=0.0)
364 {
365  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Object_AddIconEffect");
366  effect eEffect = GetFirstEffect(obj);
367  while (GetIsEffectValid(eEffect))
368  {
369  if (GetEffectTag(eEffect) == "NWNX_Object_IconEffect" && GetEffectInteger(eEffect, 0) == nIcon)
370  RemoveEffect(obj, eEffect);
371  eEffect = GetNextEffect(obj);
372  }
373 
374  effect eIcon = TagEffect(SupernaturalEffect(EffectIcon(nIcon)), "NWNX_Object_IconEffect");
375  ApplyEffectToObject(fDuration == 0.0 ? DURATION_TYPE_PERMANENT : DURATION_TYPE_TEMPORARY, eIcon, obj, fDuration);
376 }
377 
378 void NWNX_Object_RemoveIconEffect(object obj, int nIcon)
379 {
380  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Object_RemoveIconEffect");
381  effect eEffect = GetFirstEffect(obj);
382  while (GetIsEffectValid(eEffect))
383  {
384  if (GetEffectTag(eEffect) == "NWNX_Object_IconEffect" && GetEffectInteger(eEffect, 0) == nIcon)
385  RemoveEffect(obj, eEffect);
386  eEffect = GetNextEffect(obj);
387  }
388 }
389 
390 void NWNX_Object_SetFacing(object oObject, float fDirection)
391 {
392  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Object_SetFacing");
393  AssignCommand(oObject, SetFacing(fDirection));
394 }
395 
396 // *** NWNX_Regex
397 
401 int NWNX_Regex_Search(string str, string regex);
402 
409 string NWNX_Regex_Replace(string str, string regex, string replace = "", int firstOnly = FALSE);
410 
415 json NWNX_Regex_Match(string str, string regex);
416 
417 int NWNX_Regex_Search(string str, string regex)
418 {
419  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Regex_Search");
420  return JsonGetLength(RegExpMatch(regex, str));
421 }
422 
423 string NWNX_Regex_Replace(string str, string regex, string replace="", int firstOnly=0)
424 {
425  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Regex_Replace");
426  return RegExpReplace(regex, str, replace, firstOnly ? REGEXP_FORMAT_FIRST_ONLY : REGEXP_FORMAT_DEFAULT);
427 }
428 
429 json NWNX_Regex_Match(string str, string regex)
430 {
431  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Regex_Match");
432  return RegExpIterate(regex, str);
433 }
434 
435 // *** NWNX_Util
436 
441 int NWNX_Util_IsValidResRef(string resref, int type = RESTYPE_UTC);
442 
447 int NWNX_Util_Get2DARowCount(string str);
448 
453 string NWNX_Util_GetNSSContents(string sScriptName, int nMaxLength = -1);
454 
459 
460 int NWNX_Util_IsValidResRef(string resref, int type = RESTYPE_UTC)
461 {
462  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Util_IsValidResRef");
463  return ResManGetAliasFor(resref, type) != "";
464 }
465 
467 {
468  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Util_Get2DARowCount");
469  return Get2DARowCount(str);
470 }
471 
472 string NWNX_Util_GetNSSContents(string sScriptName, int nMaxLength = -1)
473 {
474  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Util_GetNSSContents");
475  string s = ResManGetFileContents(sScriptName, RESTYPE_NSS);
476  return nMaxLength == -1 ? s : GetStringLeft(s, nMaxLength);
477 }
478 
480 {
481  WriteTimestampedLogEntry("WARNING: Calling deprecated NWNX Function: NWNX_Util_GetServerTicksPerSecond");
482  return GetTickRate();
483 }
NWNX_Effect_GetEffectExpiredCreator
object NWNX_Effect_GetEffectExpiredCreator()
Get the effect creator.
Definition: nwnx_deprecated.nss:300
NWNX_Creature_GetKnownSpell
int NWNX_Creature_GetKnownSpell(object creature, int class, int level, int index)
Gets the known spell at a class level's index.
Definition: nwnx_deprecated.nss:180
NWNX_Creature_SetGender
void NWNX_Creature_SetGender(object creature, int gender)
Sets the creature gender.
Definition: nwnx_deprecated.nss:210
NWNX_CREATURE_CLERIC_DOMAIN_PLANT
const int NWNX_CREATURE_CLERIC_DOMAIN_PLANT
Definition: nwnx_deprecated.nss:22
NWNX_Object_StringToObject
object NWNX_Object_StringToObject(string id)
Convert an object id to the actual object.
Definition: nwnx_deprecated.nss:351
NWNX_Creature_SetSoundset
void NWNX_Creature_SetSoundset(object creature, int soundset)
Set the soundset index for creature.
Definition: nwnx_deprecated.nss:204
NWNX_Util_Get2DARowCount
int NWNX_Util_Get2DARowCount(string str)
Gets the row count for a 2da.
Definition: nwnx_deprecated.nss:466
NWNX_Creature_GetSpellUsesLeft
int NWNX_Creature_GetSpellUsesLeft(object oCreature, int nSpellID, int nMultiClass, int nDomainLevel=0, int nMetaMagic=METAMAGIC_NONE)
Get the number of uses left of a spell.
Definition: nwnx_deprecated.nss:244
NWNX_CREATURE_CLERIC_DOMAIN_MAGIC
const int NWNX_CREATURE_CLERIC_DOMAIN_MAGIC
Definition: nwnx_deprecated.nss:21
NWNX_CREATURE_CLERIC_DOMAIN_TRICKERY
const int NWNX_CREATURE_CLERIC_DOMAIN_TRICKERY
Definition: nwnx_deprecated.nss:27
NWNX_CREATURE_CLERIC_DOMAIN_ANIMAL
const int NWNX_CREATURE_CLERIC_DOMAIN_ANIMAL
Definition: nwnx_deprecated.nss:12
NWNX_Creature_GetMemorisedSpellCountByLevel
int NWNX_Creature_GetMemorisedSpellCountByLevel(object creature, int class, int level)
Gets the count of memorised spells for a creature's class at a level.
Definition: nwnx_deprecated.nss:151
NWNX_CREATURE_CLERIC_DOMAIN_FIRE
const int NWNX_CREATURE_CLERIC_DOMAIN_FIRE
Definition: nwnx_deprecated.nss:17
NWNX_Creature_MemorisedSpell::id
int id
Spell ID.
Definition: nwnx_deprecated.nss:36
NWNX_Creature_GetMemorisedSpell
struct NWNX_Creature_MemorisedSpell NWNX_Creature_GetMemorisedSpell(object creature, int class, int level, int index)
Gets the memorised spell at a class level's index.
Definition: nwnx_deprecated.nss:157
NWNX_Object_SetFacing
void NWNX_Object_SetFacing(object oObject, float fDirection)
Cause oObject to face fDirection.
Definition: nwnx_deprecated.nss:390
NWNX_CREATURE_CLERIC_DOMAIN_SUN
const int NWNX_CREATURE_CLERIC_DOMAIN_SUN
Definition: nwnx_deprecated.nss:25
NWNX_CREATURE_CLERIC_DOMAIN_KNOWLEDGE
const int NWNX_CREATURE_CLERIC_DOMAIN_KNOWLEDGE
Definition: nwnx_deprecated.nss:20
NWNX_Creature_SetMemorisedSpell
void NWNX_Creature_SetMemorisedSpell(object creature, int class, int level, int index, struct NWNX_Creature_MemorisedSpell spell)
Sets the memorised spell at a class level's index.
Definition: nwnx_deprecated.nss:168
NWNX_Creature_GetKnownSpellCount
int NWNX_Creature_GetKnownSpellCount(object creature, int class, int level)
Gets the known spell count (innate casting) at a class level.
Definition: nwnx_deprecated.nss:174
NWNX_Creature_ClearMemorisedKnownSpells
void NWNX_Creature_ClearMemorisedKnownSpells(object creature, int class, int spellId)
Clear a specific spell from the creature's spellbook for class.
Definition: nwnx_deprecated.nss:186
NWNX_Creature_MemorisedSpell::ready
int ready
Whether the spell can be cast.
Definition: nwnx_deprecated.nss:37
NWNX_Creature_MemorisedSpell::meta
int meta
Metamagic type, if any.
Definition: nwnx_deprecated.nss:38
NWNX_Util_GetNSSContents
string NWNX_Util_GetNSSContents(string sScriptName, int nMaxLength=-1)
Gets the contents of a .nss script file as a string.
Definition: nwnx_deprecated.nss:472
NWNX_Regex_Search
int NWNX_Regex_Search(string str, string regex)
Definition: nwnx_deprecated.nss:417
NWNX_Creature_GetSpecialization
int NWNX_Creature_GetSpecialization(object creature, int class)
Gets the creature's specialist school.
Definition: nwnx_deprecated.nss:238
NWNX_Creature_GetDomain
int NWNX_Creature_GetDomain(object creature, int class, int index)
Gets one of creature's domains.
Definition: nwnx_deprecated.nss:232
NWNX_CREATURE_CLERIC_DOMAIN_AIR
const int NWNX_CREATURE_CLERIC_DOMAIN_AIR
Definition: nwnx_deprecated.nss:11
NWNX_Creature_GetMemorizedSpellReadyCount
int NWNX_Creature_GetMemorizedSpellReadyCount(object oCreature, int nSpellID, int nMultiClass, int nMetaMagic=METAMAGIC_NONE)
Get the number of memorized ready spells by spellid.
Definition: nwnx_deprecated.nss:250
NWNX_Object_AddIconEffect
void NWNX_Object_AddIconEffect(object obj, int nIcon, float fDuration=0.0)
Add an effect to an object that displays an icon and has no other effect.
Definition: nwnx_deprecated.nss:363
NWNX_Creature_SetEffectIconFlashing
void NWNX_Creature_SetEffectIconFlashing(object oCreature, int nIconId, int bFlashing)
Set whether an effect icon is flashing or not.
Definition: nwnx_deprecated.nss:256
NWNX_Creature_RestoreSpells
void NWNX_Creature_RestoreSpells(object creature, int level=-1)
Restore all creature spells per day for given level.
Definition: nwnx_deprecated.nss:216
NWNX_Regex_Match
json NWNX_Regex_Match(string str, string regex)
Returns all matches in a string that match the regular expression.
Definition: nwnx_deprecated.nss:429
NWNX_Object_RemoveIconEffect
void NWNX_Object_RemoveIconEffect(object obj, int nIcon)
Remove an icon effect from an object that was added by the NWNX_Object_AddIconEffect() function.
Definition: nwnx_deprecated.nss:378
NWNX_Effect_AccessorizeVisualEffect
effect NWNX_Effect_AccessorizeVisualEffect(effect eEffect)
Accessorize an EffectVisualEffect(), making it undispellable and unable to be removed by resting or d...
Definition: nwnx_deprecated.nss:306
NWNX_CREATURE_CLERIC_DOMAIN_PROTECTION
const int NWNX_CREATURE_CLERIC_DOMAIN_PROTECTION
Definition: nwnx_deprecated.nss:23
NWNX_CREATURE_CLERIC_DOMAIN_WAR
const int NWNX_CREATURE_CLERIC_DOMAIN_WAR
Definition: nwnx_deprecated.nss:28
NWNX_CREATURE_CLERIC_DOMAIN_GOOD
const int NWNX_CREATURE_CLERIC_DOMAIN_GOOD
Definition: nwnx_deprecated.nss:18
NWNX_CREATURE_CLERIC_DOMAIN_DESTRUCTION
const int NWNX_CREATURE_CLERIC_DOMAIN_DESTRUCTION
Definition: nwnx_deprecated.nss:14
NWNX_Creature_ClearMemorisedSpell
void NWNX_Creature_ClearMemorisedSpell(object creature, int class, int level, int index)
Clear the memorised spell of the creature for the class, level and index.
Definition: nwnx_deprecated.nss:192
NWNX_CREATURE_CLERIC_DOMAIN_STRENGTH
const int NWNX_CREATURE_CLERIC_DOMAIN_STRENGTH
Definition: nwnx_deprecated.nss:24
NWNX_CREATURE_CLERIC_DOMAIN_DEATH
const int NWNX_CREATURE_CLERIC_DOMAIN_DEATH
Definition: nwnx_deprecated.nss:13
NWNX_CREATURE_CLERIC_DOMAIN_EVIL
const int NWNX_CREATURE_CLERIC_DOMAIN_EVIL
Definition: nwnx_deprecated.nss:16
NWNX_Effect_GetEffectExpiredData
string NWNX_Effect_GetEffectExpiredData()
Get the data set with NWNX_Effect_SetEffectExpiredScript()
Definition: nwnx_deprecated.nss:294
NWNX_Util_IsValidResRef
int NWNX_Util_IsValidResRef(string resref, int type=RESTYPE_UTC)
Determines if the supplied resref exists.
Definition: nwnx_deprecated.nss:460
NWNX_Object_CheckFit
int NWNX_Object_CheckFit(object obj, int baseitem)
Check if an item can fit in an object's inventory.
Definition: nwnx_deprecated.nss:357
NWNX_CREATURE_CLERIC_DOMAIN_EARTH
const int NWNX_CREATURE_CLERIC_DOMAIN_EARTH
Definition: nwnx_deprecated.nss:15
NWNX_Creature_GetSoundset
int NWNX_Creature_GetSoundset(object creature)
Get the soundset index for creature.
Definition: nwnx_deprecated.nss:198
NWNX_Effect_SetEffectExpiredScript
effect NWNX_Effect_SetEffectExpiredScript(effect e, string script, string data="")
Set a script with optional data that runs when an effect expires.
Definition: nwnx_deprecated.nss:288
NWNX_Util_GetServerTicksPerSecond
int NWNX_Util_GetServerTicksPerSecond()
Get the ticks per second of the server.
Definition: nwnx_deprecated.nss:479
NWNX_Creature_MemorisedSpell::domain
int domain
Clerical domain, if any.
Definition: nwnx_deprecated.nss:39
NWNX_CREATURE_CLERIC_DOMAIN_TRAVEL
const int NWNX_CREATURE_CLERIC_DOMAIN_TRAVEL
Definition: nwnx_deprecated.nss:26
NWNX_Creature_MemorisedSpell
A memorised spell structure.
Definition: nwnx_deprecated.nss:34
NWNX_CREATURE_CLERIC_DOMAIN_WATER
const int NWNX_CREATURE_CLERIC_DOMAIN_WATER
Definition: nwnx_deprecated.nss:29
NWNX_CREATURE_CLERIC_DOMAIN_HEALING
const int NWNX_CREATURE_CLERIC_DOMAIN_HEALING
Definition: nwnx_deprecated.nss:19
NWNX_Regex_Replace
string NWNX_Regex_Replace(string str, string regex, string replace="", int firstOnly=FALSE)
Replaces any matches of the regular expression with a string.
Definition: nwnx_deprecated.nss:423