naelstrof / KoboldKare

A public repo for the game KoboldKare
Other
86 stars 97 forks source link

Addition of CustomReagentConsumptionEvents #315

Closed Shurutsue closed 8 months ago

Shurutsue commented 8 months ago

Adds 3 Custom ConsumptionEvents and 19 ReagentEffect classes. Those allow creation of Growth/Shrink effects for modded reagents without a new scripts for each one of them.

The three CustomConsumptionEvents are inherited from the three main base ConsumptionEvents:

CustomConsumptionDiscreteTrigger

CustomReagentConsumptionMetabolize

CustomReagentConsumptionEvent

Kept the original errors in case of empty effects in the editor, still uncertain of the best approach here.