Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds mob groups to the game as a separate data entity. It's very simple, just a list of mobs. The mob group can be used in quests in the "kill" step. Instead of adding one mob, you add the mob group. Then, any member of the mob group will count towards the quest target.
Here I killed some random zombies and it counts towards one counter:
When the "map_guide" is set to something other then "none", all maps from all mobs in the group are considered and the closest will be targeted on the overmap.
The mob group can't be used in maps yet but I did add a weight field to the mob group so it will be easier to implement.
I only changed the "beginnings" quest using the mob groups. The "last crusade" quest may also be improved in the same way.