This is a basic implementation of quests. A little more then a proof of concept.
I made this editor in the content editor to edit quests:
In-game you can open the newly added quest journal (j) and see the details:
When you add 5 steel scrap to your inventory, the quest is moved from current to completed:
Adds the QuestManager addon from https://github.com/Chevifier/QuestManager. I chose this one because it was more advanced then the alternative I saw. I do see some issues with it so we might just integrate our custom fork of it
Adds the QuestEditor in the contenteditor. It allows you to configure different steps, but this PR only has the incremental step implemented. The quest can be assigned an icon, which comes from the item sprites for now
Adds helper.quest_helper script to provide functions that the QuestManager lacks
Adds the quest data to Gamedata with it's own directory
There is a lot more work to be done but this covers the basics.
This is a basic implementation of quests. A little more then a proof of concept.
I made this editor in the content editor to edit quests:
In-game you can open the newly added quest journal (j) and see the details:
When you add 5 steel scrap to your inventory, the quest is moved from current to completed:
There is a lot more work to be done but this covers the basics.