Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"edit-mode" for monstergroups entries: "addition" and "override" #14947

Closed
Malkeus opened this issue Jan 22, 2016 · 8 comments

Comments

Projects
None yet
4 participants
@Malkeus
Copy link
Contributor

commented Jan 22, 2016

This would work in a similar fashion to the modify/override flags for monster entries. A modder could use the addition mode to tack a new monster onto an existing named monstergroup, instead of recreating the entire group with the new monster tacked on. The current method leads to conflicts when 2 mods alter a particular monstergroup, requiring an additional override mod combining both mods new entries AND duplicating the core data example. Without an override, one mods entries will be lost, and it's monsters won't spawn as intended.

The override mode would behave like the current method and replace the entire named group.

Example from dinomod (dinosaur.json):
"type":"monstergroup",
"name" : "GROUP_SWAMP",
"default" : "mon_null",
"monsters" : [
{ "monster" : "mon_lemming", "freq" : 50, "cost_multiplier" : 0, "pack_size" : [2,7], "conditions" : ["DAY", "SPRING", "SUMMER", "AUTUMN"] },

---snipped 292 lines of monster entries copy/pasted from core data---

  { "monster" : "mon_spinosaurus", "freq" : 1, "cost_multiplier" : 50 },
  { "monster" : "mon_tyrannosaurus", "freq" : 1, "cost_multiplier" : 40 },
  { "monster" : "mon_allosaurus", "freq" : 2, "cost_multiplier" : 30 }
]

would become:

"type":"monstergroup",
"name" : "GROUP_SWAMP",
"edit-mode" : "addition",  
"monsters" : [
  { "monster" : "mon_spinosaurus", "freq" : 1, "cost_multiplier" : 50 },
  { "monster" : "mon_tyrannosaurus", "freq" : 1, "cost_multiplier" : 40 },
  { "monster" : "mon_allosaurus", "freq" : 2, "cost_multiplier" : 30 }
]
@Noctifer-de-Mortem

This comment has been minimized.

Copy link
Contributor

commented Jan 22, 2016

This would be very similar to how item groups group where you just add a wished item to a specific item group and it adds it without rewriting the whole item group.

@chaosvolt

This comment has been minimized.

Copy link
Contributor

commented Jan 22, 2016

Yesss. This is one of the big things that might cause hindrances regarding mod compatibility. Though at present, if I recall Dino mod is the only official mod that edits monster groups.

@Malkeus

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2016

Arcana overrides several groups as well.
On Jan 22, 2016 12:25 PM, "Chaosvolt" notifications@github.com wrote:

Yesss. This is one of the big things that might cause hindrances regarding
mod compatibility. Though at present, if I recall Dino mod is the only
official mod that edits monster groups.


Reply to this email directly or view it on GitHub
#14947 (comment)
.

@chaosvolt

This comment has been minimized.

Copy link
Contributor

commented Jan 22, 2016

Hmm? I could've sworn I added new monster groups, not overrode existing ones,

@Malkeus

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2016

Different groups than dinomod though, so there's no conflict.
On Jan 22, 2016 4:04 AM, "Noctifer-de-Mortem" notifications@github.com
wrote:

This would be very similar to how item groups group where you just add a
wished item to a specific item group and it adds it without rewriting the
whole item group.


Reply to this email directly or view it on GitHub
#14947 (comment)
.

@Malkeus

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2016

Isn't group nether in there? If not, my mistake.
On Jan 22, 2016 4:06 PM, "MalkeX" mst3ktoo@gmail.com wrote:

Different groups than dinomod though, so there's no conflict.
On Jan 22, 2016 4:04 AM, "Noctifer-de-Mortem" notifications@github.com
wrote:

This would be very similar to how item groups group where you just add a
wished item to a specific item group and it adds it without rewriting the
whole item group.


Reply to this email directly or view it on GitHub
#14947 (comment)
.

@chaosvolt

This comment has been minimized.

Copy link
Contributor

commented Jan 22, 2016

Let's see...GROUP_NETHER_LAVA (flying nether monsters, used in the eerie glowing pit), GROUP_IMPACT (mixture of nether and cultist monsters), GROUP_IMPACT_FLYING (flying nether monsters minus the SUNDEATH hunting horror, plus vortices), and GROUP_GROVEBASEMENT (triffid plus nether monsters, minus anything that could eat loot or easily leave the moruboru runnin' wild prematurely).

EDIT: Monster DROPS and monsters themselves do have edits in place though.

@illi-kun illi-kun changed the title [Suggestion] "edit-mode" for monstergroups entries: "addition" and "override" "edit-mode" for monstergroups entries: "addition" and "override" Nov 5, 2016

@illi-kun

This comment has been minimized.

Copy link
Member

commented Nov 20, 2016

This issue was closed as it appears inactive.

Reducing open issues to those which are (or will) be actively worked upon helps us focus our efforts. This issue has not been deleted - it still appears in searches and if it contains relevant information you are encouraged to continue to link to it.

If this issue was a bug

It should be reopened if it can be reproduced in the current build. You can obtain the most recent copy here. Please check there is not a more recent report of this bug before doing so. If no more recent report exists you should continue the discussion in this issue.

If this was a feature request

If the consensus was that the idea was good you could consider submitting an implementation via a PR. If you want to comment further please do so here as opposed to opening a new issue. Before posting check nobody has already made the same point and consider whether your comments are likely to lead to an implementation. If you have doubts about either consider instead voting for the issue

If you want to work on this issue

Then either assign it to yourself or if you are unable to do so claim it via adding a comment. Please don't assign others or make a general request for action.

@illi-kun illi-kun closed this Nov 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.