Anuken/Mindustry-Suggestions

core units (spawned from a core) should not count to unit cap

Closed this issue · 9 comments

Describe what you would like changed, and why.

core units (alpha,beta, etc) that have been spawned from a core, as in it has not been created with payload source or world proc, should not count to unit cap. this is because when the unit cap is 0 the core unit is not able to spawn.

Describe the changes you want to propose. Include possible alternatives.

check if a unit has been spawned from a core, if it has (and unit cap is full) it will not die.
IF the cap for that unit is full and there are other of the same type of unit that are not spawned from a core, the unit will not spawn.
this should be able to be turned off or on for each team in map settings.

What you're describing seems more like a bug than balancing/feedback. Consider opening a bug report.

why would this be a bug?

when the unit cap is 0 the core unit is not able to spawn.

You're stating it like it's incorrect behavior, which means it's a bug.

no, I don't think this is incorrect behavior, I am pretty sure what happens is still the game correctly working. When a unit is spawned while its unit cap is full, the game will kill the unit. This probably not happen normally as you are unable to produce units while the cap is full. When a core unit spawns while the unit cap is 0 the game sees a unit while the unit cap is full and kills the unit. This is an intended.

also I don't want to make a bug report unless I know it is definitely a bug, because I don't want to waste the creators time looking over things that are arguably bugs. He looks at suggestions regularly, so chances are he already saw this.

But then isn't repeatedly spawning and dying an unintended behavior?
And in what case is this happening, anyway?

I think that this only would affect you if you're using mods to spawn in alpha/beta/gamma units. Why is this a problem?

no this happens normally. if you set the unit cap to 0 and have a team with base builder ai they cant spawn.

This suggestion is now stale, and will be automatically closed.