Fix crash with emscripten version during story scenes. Fix inproper Blacksmith equipment displays for crafting menu (chapter check missing, wrong enhancement level checks). Fix Blacksmith trigger not unlocking on the right node. Fix Chapter 2 trigger. Fix emscripten build scripts. Release Version 7848.

This commit is contained in:
2024-02-29 05:54:23 -06:00
parent 93e5921e57
commit aa4d35d754
15 changed files with 241 additions and 194 deletions
@@ -62,6 +62,11 @@ State_OverworldMap::State_OverworldMap(){
void State_OverworldMap::OnStateChange(GameState*prevState){
Component<MenuComponent>(MenuType::PAUSE,"Return to Camp Button")->SetGrayedOut(false);
SaveFile::SaveGame();
if(Unlock::IsUnlocked("STORY_1_3")){
game->SetChapter(2);
}
game->LoadLevel("WORLD_MAP");
};
void State_OverworldMap::OnLevelLoad(){