Cataclysm-dda: Add "extend" feature in mutations for additional modability

Created on 4 Feb 2020  路  8Comments  路  Source: CleverRaven/Cataclysm-DDA

Is your feature request related to a problem? Please describe.

I wish that I could make regular mutagen create mutations from my mod's mutation trees.
I would also like to be able to make mutations such as STR+1 a prereq for mutations in my mutation trees without breaking compatibility between mods.

Describe the solution you'd like

I would like to be able to type "extend_category": [ "Mastodon", "MIGO" ], linking it to a mainline mutation and if someone else has also created a mod that utilizes "extend_category" they will all be able to use that mutation as a prereq or leads into.

Describe alternatives you've considered

What I'm currently doing, creating duplicate mutations for mutation trees even for items like STR +1.

Additional context

Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature request here.

<Suggestion / Discussion> stale

Most helpful comment

Oh, cool. Between this and the recent long-awaited jsonizing of several mutation aspects I might finally be able to make that mutation mod I wanted to do ages ago.

All 8 comments

I鈥檝e been brainstorming a bit with a few others on plans for DinoMod and I think this would be a great help.

In particular, we鈥檝e been looking at borrowing heavily from the raptor mutation tree. Being able to build off of the stuff already in mainline would be awesome.

I thought #35446 did this?

Looks like it does! I鈥檓 still familiarizing myself with all the available JSON mod options. Perhaps @Maleclypse was also unaware of that change?

Good news if so, I love bugs or features that sort themselves out. :)

Oh, cool. Between this and the recent long-awaited jsonizing of several mutation aspects I might finally be able to make that mutation mod I wanted to do ages ago.

I thought #35446 did this?

I had missed that. I'll check and see if I can use extend to avoid breaking other people's mods. Thanks for this!

I do remember doing the other ones besides just categories as well for the dragon mutation PR for magiclysm. check back with me if you can't get it to work for the mutation fields that are arrays of strings.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not \'bump\' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

This issue has been automatically closed due to lack of activity. This does not mean that we do not value the issue. Feel free to request that it be re-opened if you are going to actively work on it

Was this page helpful?
0 / 5 - 0 ratings