AgriCraft

AgriCraft

30M Downloads

Mutation/spread breeding does not check configuration max stats

Heytunk opened this issue ยท 3 comments

commented

When cross breeding or spreading a crop the handler doesn't check the configuration max stat, and allows you to breed crops with higher than config max stats.
This allows crops with stats up to max int.

Easy way to test it is to cross breed two 10 10 10 or max stat crops and hit them with the debugger.

Seeds generated from these crops are checked and pegged to config max however.

Suggested fix:
Check stats on mutation and spread.

Additional comment:
Adding config options for 'soft' caps that allows > config max stats with increasing/exponential difficulty would be cool, as this is a pretty neat mechanic (> max stats, but can't analyze or move it easily).

commented

I've decided not to implement the hard cap.

commented

Will fix that, thanks, little oversight on my part.
I don't really get what you mean with soft caps though.

commented

A soft cap is a mechanic where either leveling becomes significantly harder, or effectiveness of additional stats becomes less effective as they get higher once the player reaches the soft cap.