jomibauer / unity

0 stars 0 forks source link

Support Component #39

Open jomibauer opened 2 years ago

jomibauer commented 2 years ago

Figure out how todo support conversations. It'll be handled by a component on each unit, and I think there will be a class to describe each possible realtionship. something like

public class supportComponent : monobehaviour
{
  List<support> supports
  int remainingSlots // limit units to 5 levels of support

}
public class Support
  Unit supportWith
  int level
  int progress // reset to 0 after a level up
  int[] ptsTo // like an array that has how many points we need to get to the next level?
  SupportBenifits benefits // another struct that has info on how the support affects stats

i don't wanna fill this up with unnecessary stuff. It would be helpful to maybe create objects for each support level and load one at a time when we level up support levels, etc.