Skip to content

Config options for rescaling media costs#1041

Open
Robotgiggle wants to merge 6 commits into
mainfrom
cost-rescale-config
Open

Config options for rescaling media costs#1041
Robotgiggle wants to merge 6 commits into
mainfrom
cost-rescale-config

Conversation

@Robotgiggle

@Robotgiggle Robotgiggle commented May 11, 2026

Copy link
Copy Markdown
Member

Adds a list in the config that can be used to rescale the cost of any action. Entries consist of a resource location and a number (ie hexcasting:explode 2.5) and the cost of the listed action is scaled by the listed number.

Also adds a config value with a global scaling factor that will apply to all media costs, if you just want to apply an overall buff or nerf to hex in your pack/server.

Both of these scaling factors apply before the media_consumption_modifier attribute. The global scaling factor is not applied to anything in the cannot_modify_cost tag, so that making everything cheaper doesn't immediately introduce a bunch of exploits. However, entries in the per-action list for actions in that tag do still work, in case for whatever reason you actually do want to rescale one of those patterns.

@github-project-automation github-project-automation Bot moved this to 📋 Backlog in Hex Casting May 11, 2026
@Robotgiggle Robotgiggle changed the title Config list to rescale media costs. Config list to rescale media costs per action May 11, 2026
ChuijkYahus added a commit to ChuijkYahus/HexMod that referenced this pull request May 11, 2026
@Robotgiggle Robotgiggle changed the title Config list to rescale media costs per action Config options for rescaling media costs May 26, 2026
@ChuijkYahus ChuijkYahus mentioned this pull request Jun 7, 2026
s5bug pushed a commit to s5bug/HexMod that referenced this pull request Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant