Skip to content

Changed anomalies to always give a reward#555

Merged
Attack8 merged 8 commits into
mainfrom
family2015/529-set-anomalies-to-give-loot-and-effect-every-completion
Mar 14, 2026
Merged

Changed anomalies to always give a reward#555
Attack8 merged 8 commits into
mainfrom
family2015/529-set-anomalies-to-give-loot-and-effect-every-completion

Conversation

@family2015

@family2015 family2015 commented Jan 31, 2026

Copy link
Copy Markdown
Contributor

This PR aims to do the next things:

  • Change the default rewards to have a loot table and an effect.
  • Add new loot tables for the different rift themes.

@family2015 family2015 linked an issue Jan 31, 2026 that may be closed by this pull request

@immortius immortius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The anomaly reward data fix is good, although there's still only a chance of getting an item. I was wondering if there is a reason that strength has been replaced with absorption?

@family2015

family2015 commented Feb 2, 2026

Copy link
Copy Markdown
Contributor Author

The anomaly reward data fix is good, although there's still only a chance of getting an item. I was wondering if there is a reason that strength has been replaced with absorption?

No, there isn't I was just trying out different effects and left that instead of strength, I will change it back to strength.

By the way, in #529 I mentioned adding a WotrAnomalyRewardLootTableProvider to create loot tables similar to the chest ones. I'm not sure if that's the right way to do it.

This PR should wait for #551. Once that one is merged, I can update each anomaly theme reward to give themed rewards, such as a skill thread, some essences from the loot table, and another theme-related item.

@family2015 family2015 marked this pull request as draft February 2, 2026 14:32
@Attack8 Attack8 changed the title FEAT: #529 Changed anomalies to always give a reward Changed anomalies to always give a reward Feb 2, 2026
@immortius

Copy link
Copy Markdown
Contributor

By the way, in #529 I mentioned adding a WotrAnomalyRewardLootTableProvider to create loot tables similar to the chest ones. I'm not sure if that's the right way to do it.

That looks fine.

@WarrenGore

Copy link
Copy Markdown
Contributor

@family2015 With #551 merged is there anything more you need to move this forward?

@family2015

Copy link
Copy Markdown
Contributor Author

@family2015 With #551 merged is there anything more you need to move this forward?

Didn't notice it was merged, I will start to work on it

…d-effect-every-completion

# Conflicts:
#	src/main/resources/data/wotr/worldgen/processor_list/anomaly_theme_default.json
@family2015 family2015 marked this pull request as ready for review February 18, 2026 21:07
@family2015 family2015 marked this pull request as draft February 18, 2026 21:08
@family2015

Copy link
Copy Markdown
Contributor Author

Right now my game crashes when I try to create or join a world, I not sure on what is wrong
latest.log

@cptflavio

Copy link
Copy Markdown
Contributor

[wotr:anomaly_theme_deepfrost, wotr:anomaly_theme_jungle, wotr:anomaly_theme_meadow]
These are themes with mods, perhaps that is the issue?

@cptflavio

Copy link
Copy Markdown
Contributor

You also have a ton of missing models for motr. Idk if that is bad, or just log

- Added themed rewards for the available themes.
@family2015 family2015 marked this pull request as ready for review February 26, 2026 09:30
Comment thread src/main/java/com/wanderersoftherift/wotr/datagen/DataGenerators.java Outdated
"rewards": {
"wotr:strength5": 10.0,
"wotr:ender_pearl": 10.0
"wotr:buzzy_bees_speed": 10.0,

@immortius immortius Mar 1, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The setup of the anomaly rewards is a bit awkward like this, having both the effect and loot table tied together and thus needing two reward files for each theme, one for each effect. We probably should rework the anomaly reward setup in the future to allow for a cleaner way of specifying - "reward an item from this loot table, and one of these effects". Possibly a list of FastWeightedList?

Future thoughts

@Attack8 Attack8 merged commit e603be1 into main Mar 14, 2026
2 checks passed
@Attack8 Attack8 deleted the family2015/529-set-anomalies-to-give-loot-and-effect-every-completion branch March 14, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set Anomalies To Give Loot And Effect Every Completion

5 participants