Skip to content

Spike/addons/settlers iv mining#1501

Draft
Spikeone wants to merge 15 commits intomasterfrom
spike/addons/settlers_iv_mining
Draft

Spike/addons/settlers iv mining#1501
Spikeone wants to merge 15 commits intomasterfrom
spike/addons/settlers_iv_mining

Conversation

@Spikeone
Copy link
Copy Markdown
Member

@Spikeone Spikeone commented Feb 19, 2022

What should this addon (actually 4, for each type of mine) do:

  • Alter mining, depending on the ground resources, the chance to actually mine the resource decreases
  • All mines use up deposits up to 1 ore left
  • Chance is determined by the radius and remaining ore compared to max ore (so, combinedRemainingOre / possibleSpots), that way if we add an addon that increases/decreases mining radius this one will still work
  • Depending on the chance, there will be either not resource or the mine's resource be produced (there is an another addon to alter this)
  • Settings can be changed for all types of mines indivdually (since it makes sense to e.g. have gold finite, but make granite infinite)
  • There is also a setting to make ore always available, so ignoring the mountain's resource (makes most sense for granite only)

Currently (as far as I remember) the following is missing:
AI:

  • should honor possible settings (i.e. if it's allowed to mine gold everywhere, the AI should do that instead of searching)
  • should honor combinations (i.e. granite mines always but all other mines just as they are)
  • should somewhat honor the current accumulated productivity of mines (i.e. 10 coal mines at 10% are just as good as 1 coal mine at 100%)

Missing Addon: Alternative production cycle product:
This one alters whats produced when an alternate production cycle runs. The addon should have the following settings:

  • produce nothing (default)
  • produce granite (25%)
  • produce granite (50%)
  • produce granite (100%)
  • produce lower grade (e.g. gold mine produces iron, iron produce coal, coal produce granite, and granite just nothing)
    Although the last setting doesn't make sense logical, it does make sense for the gameplay. This addon is compatible to other addon settings, since it is only taken into account when setting the alternate cycle resource

Missing Addon: Show real productivity:
This one shows a productivity rate for mines. If a mine type is inexhaustible, 100% is shown anyway. Maybe some color could indicate if this mine is already at it's lowest rate or not (e.g. >50% = "good green", >min% = "okay yellow", == min% = "bad red")
settings:

  • disable (default)
  • enable
    This addon is compatible to other settings, since it should show 100% if original mining behavior is enabled or inexhaustible. I think it is a nice to have

TODO:

  • Resolve merge conflicts
  • Resolve remaining change requests
  • AI implementation
  • Alternative production cylce addon

Nice To Have:

  • Show real productivity addon

Loading
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.

3 participants