Jump to content

Integrating with DR system


yarpen

Recommended Posts

Hi! I'm making now paladin and ranger kits for my kitpack. And got little question - can you check that?

 

zealot - spheres (combat, divination, law, protection, war):

 

ACTION_IF ((FILE_EXISTS_IN_GAME ~cdnegpp.spl~) AND (FILE_EXISTS ~Divine_Remix/lib/macro_reindex_clab.tph~)) THEN BEGIN

INCLUDE ~Divine_Remix/lib/extra_regexp_vars.tph~

INCLUDE ~Divine_Remix/lib/macro_spell_remove_evil.tph~

INCLUDE ~Divine_Remix/lib/macro_shift_paladin_spells.tph~

INCLUDE ~Divine_Remix/lib/macro_reindex_clab.tph~

COPY_EXISTING ~y#zealo.2da~ ~override~

APPEND_FILE ~Divine_Remix/spheres/co_major.2da~

APPEND_FILE ~Divine_Remix/spheres/di_major.2da~

APPEND_FILE ~Divine_Remix/spheres/lw_major.2da~

APPEND_FILE ~Divine_Remix/spheres/pr_major.2da~

APPEND_FILE ~Divine_Remix/spheres/wa_major.2da~

LAUNCH_PATCH_MACRO ~spell_remove_evil~ // removes evil-aligned spells

LAUNCH_PATCH_MACRO ~shift_paladin_spells~ // shift paladin spells

LAUNCH_PATCH_MACRO ~reindex_clab~ // re-index lines

BUT_ONLY_IF_IT_CHANGES

 

Seeker - spheres (animals, divination, healing, plants, sun, weather)

 

ACTION_IF ((FILE_EXISTS_IN_GAME ~cdnegpp.spl~) AND (FILE_EXISTS ~Divine_Remix/lib/macro_reindex_clab.tph~)) THEN BEGIN

INCLUDE ~Divine_Remix/lib/extra_regexp_vars.tph~

INCLUDE ~Divine_Remix/lib/macro_spell_remove_evil.tph~

INCLUDE ~Divine_Remix/lib/macro_shift_ranger_spells.tph~

INCLUDE ~Divine_Remix/lib/macro_reindex_clab.tph~

COPY_EXISTING ~y#zealo.2da~ ~override~

APPEND_FILE ~Divine_Remix/spheres/an_minor.2da~

APPEND_FILE ~Divine_Remix/spheres/di_minor.2da~

APPEND_FILE ~Divine_Remix/spheres/he_minor.2da~

APPEND_FILE ~Divine_Remix/spheres/pl_minor.2da~

APPEND_FILE ~Divine_Remix/spheres/sn_minor.2da~

APPEND_FILE ~Divine_Remix/spheres/we_minor.2da~

LAUNCH_PATCH_MACRO ~spell_remove_evil~ // removes evil-aligned spells

LAUNCH_PATCH_MACRO ~shift_ranger_spells~ // shift paladin spells

LAUNCH_PATCH_MACRO ~reindex_clab~ // re-index lines

BUT_ONLY_IF_IT_CHANGES

 

And if my kit haven't got any spellcasting abilities, I still must making that weird things?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...