Skip to content
  1. Jan 06, 2019
    • Nathan Lovato's avatar
      599874d1
    • Nathan Lovato's avatar
    • Nathan Lovato's avatar
      Reconnect the QuestSystem to the Game node · a663a389
      Nathan Lovato authored
      To know when an encounter starts and connect to newly created monsters in CombatArena
      a663a389
    • Nathan Lovato's avatar
      Close #171: Rewrite the quest system to better respect the single responsibility principle · e14fdfe6
      Nathan Lovato authored
      This is a breaking change. I'm looking for some feedback on how the code feels now.
      
      Quests start but won't complete yet at this point. I
      want to do #167 and hopefully #168 as well to simplify the system even more.
      Until now it was a pain to just create quests and place them in the game world,
      for multiple reasons. E.g. The fact that the GiveQuestAction is inherited in
      PawnQuestGiver scenes makes it so the quest reference gets lost every time you
      modify the action's script in all instances.
      
      The Journal is also broken right now!
      
      - Made the QuestSystem as a singleton: it had to be passed around multiple parts
        of the game, and probably more and more files as we expand it. I'd rather
        avoid singletons but as the API is limited this has the potential to simplify
        the code IMO
      - Devs should now ONLY interact with QuestSystem. The API is a lot simpler:
        start() and deliver() to start and finish quests talking to NPCs. For now the
        rest is handled by the quests internally, based on their objectives.
      e14fdfe6
  2. Jan 05, 2019
  3. Jan 04, 2019
  4. Jan 03, 2019
  5. Jan 02, 2019
  6. Jan 01, 2019
  7. Dec 31, 2018
  8. Dec 28, 2018
  9. Dec 27, 2018
Loading