Lea1Bouchard / SummerProject

0 stars 0 forks source link

Create quest system #20

Open Falerhon opened 1 year ago

Falerhon commented 1 year ago

**Might reuse previously made quest system with modifications

Falerhon commented 1 year ago

Used a previously made quest system and modified it to be able to hold multiple quests at once and have a better way of getting the objectives.

Quests are scriptable objects containing their own stats (reward, name, description...). These quests can hold a list of goals. Goals are also scriptable objects, containing a goal type, a number of time something has to be done and a description. An event manager with special event is used to tell the goals an action has been done A quest manager is used to store currently accepted quests, add new quests, remove completed quests, and manage goals event types