Iceburg71 Posted June 18, 2023 Share Posted June 18, 2023 (edited) Ok, a totally new format for entity groups. Any documentation on how to modify it now? I have looked at a couple of mods, and they just "brute force" add the entries. In my current mod, I actually search for a similar entity and append my entity after it. MUCH shorter code to maintain and update. I see the new "csv xpath=" entry, but so far have only found the op="add" option So i guess I am asking how would I search for "animalSnake" and append a new entity when found. Or, "animalSnake, 10" thankls for any help or documentation on this new format here is an example of how I currently do it... <append xpath="/entitygroups/entitygroup[descendant::entity[@name='animalDoe' and not(@prob='1')]]"> <entity name="animalIceburgBabyDeer" /> </append> <append xpath="/entitygroups/entitygroup[descendant::entity[@name='animalDoe' and @prob='1']]"> <entity name="animalIceburgBabyDeer" prob="1" /> </append> Edited June 18, 2023 by Iceburg71 more info (see edit history) Link to comment Share on other sites More sharing options...
BFT2020 Posted June 18, 2023 Share Posted June 18, 2023 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now