TobyFox2002
Well-known member
Heya all again,
I am working on a way to create non-preclude/hide of system specific content. I am using the method that has been designed with the Eberron Campaign material and am trying to get it to work with other things besides Deities. Ultimately, I want to get it working with Languages, Classes and Races.
I have made some progress with adapting the code from deities to languages, however. Its kinda copypasta at this point so I cant take it further. Some guidance would be appreciated.
This is what I have sofar:
First/10000
When I run this I get:
I kinda have an idea of whats going wrong but, done know how to correct it. After I get this done, I want to move on to a similar type of script for Races/Monsters, then Classes/Templates if it is possible to hide those outside of a hidden/preclude. It would be very helpful for Systems such as Dark Sun that have drastically different rulesets that replace items with new versions or have mechanics that just dont function with normal content.
But one step at a time.
I am working on a way to create non-preclude/hide of system specific content. I am using the method that has been designed with the Eberron Campaign material and am trying to get it to work with other things besides Deities. Ultimately, I want to get it working with Languages, Classes and Races.
I have made some progress with adapting the code from deities to languages, however. Its kinda copypasta at this point so I cant take it further. Some guidance would be appreciated.
This is what I have sofar:
First/10000
Code:
~ Find all non-Athas languages
foreach thing in BaseLang where "LangCat.Trade | LangCat.Monster | LangCat.Planar"
~ If no deity category then pull the thingid
If (eachthing.tagcount[LangCat.?] = 0) Then
perform eachthing.pulltags[thingid.?,HideLang]
~ If we have a category then pull the cateogry only
~ if we have not already pulled it.
Else
If (eachthing.intersect[LangCat,LangCat] = 0) then
perform eachthing.pulltags[LangCat.?]
Endif
Endif
nexteach
~ Create Hide Deity Catagory tags
[COLOR="Red"] perform pulltags[LangCat.?,HideLangCat][/COLOR]
~ Push the hide deity tags to the hero
perform hero.pushtags[HideLang.?]
perform hero.pushtags[HideLangCat.?]
When I run this I get:
Syntax error in 'eval' script for Thing 'meDSRace' (Eval Script #2) on line 18
-> Invalid id specified for target tag group
I kinda have an idea of whats going wrong but, done know how to correct it. After I get this done, I want to move on to a similar type of script for Races/Monsters, then Classes/Templates if it is possible to hide those outside of a hidden/preclude. It would be very helpful for Systems such as Dark Sun that have drastically different rulesets that replace items with new versions or have mechanics that just dont function with normal content.
But one step at a time.