Grasscutter
Grasscutter copied to clipboard
Updated with how talks are handle
Updates:
- Use TalkExcelConfigData.json instead of talk data in mainQuestData
- Added execute triggers when finishing talks. The old method will cause problem since execute triggers can come from talks that dont belong to any quest.
- CONTENT_FINISH_PLOT should be updated by AddContentProgressReq sent by client, probably should not be handled on our end when quest and talks are finish. Otherwise it will for example teleport player back to scene 3 immediately after clearing dungeon in quest 307 before finishing the cutscene.
Also this is fully optional, but for things like execs, I started to create vars at the top for the different elements of the params. makes it easier to understand what the usecase of each array element is.