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

Add Mob groups to quest #479

Merged
merged 5 commits into from
Nov 26, 2024
Merged

Add Mob groups to quest #479

merged 5 commits into from
Nov 26, 2024

Conversation

snipercup
Copy link
Collaborator

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:
image

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.

@snipercup snipercup added the enhancement New feature or request label Nov 26, 2024
@snipercup snipercup merged commit f5329d5 into Khaligufzel:main Nov 26, 2024
@snipercup snipercup deleted the mob-groups branch November 26, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant