diff --git a/Adventures in Lestoria/Adventures in Lestoria.tiled-project b/Adventures in Lestoria/Adventures in Lestoria.tiled-project index 0774d026..0f9a3707 100644 --- a/Adventures in Lestoria/Adventures in Lestoria.tiled-project +++ b/Adventures in Lestoria/Adventures in Lestoria.tiled-project @@ -268,7 +268,8 @@ "CAMPAIGN_2_B1", "BOSS_2", "BOSS_2_B", - "STORY_2_1" + "STORY_2_1", + "STORY_2_2" ], "valuesAsFlags": false }, @@ -472,7 +473,8 @@ "None", "Blacksmith", "PotionCrafting", - "TravelingMerchant" + "TravelingMerchant", + "Artificer" ], "valuesAsFlags": false }, diff --git a/Adventures in Lestoria/Adventures in Lestoria.vcxproj.filters b/Adventures in Lestoria/Adventures in Lestoria.vcxproj.filters index c2ef6eac..94a086eb 100644 --- a/Adventures in Lestoria/Adventures in Lestoria.vcxproj.filters +++ b/Adventures in Lestoria/Adventures in Lestoria.vcxproj.filters @@ -1154,6 +1154,9 @@ Source Files\Bullet Types + + Configurations\Story + diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index 099fdd95..57371129 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -335,7 +335,7 @@ bool AiL::OnUserCreate(){ GameSettings::Initialize(); #endif - State_OverworldMap::SetStageMarker("starting_map_name"_S); + State_OverworldMap::SetStageMarker("Player.Starting Location"_S); STEAMINPUT( SteamInput()->Init(false); Input::LoadSteamButtonIcons(); diff --git a/Adventures in Lestoria/Chapter 2.txt b/Adventures in Lestoria/Chapter 2.txt new file mode 100644 index 00000000..15ed0929 --- /dev/null +++ b/Adventures in Lestoria/Chapter 2.txt @@ -0,0 +1,26 @@ +===ARTIFICER_INTRO=== +{BACKGROUND commercial_assets/Forest Clearing Campsite_Day.png} + +[Artificer] +Hello adventurer! Welcome to my artificing station! I have not met you yet, may I have the pleasure of knowing your name? + +[You] +Hello, my name is [You]. + +[Artificer] +Excellent! Nice to meet you, [You]. At my station you have the ability to refine and fix up imperfect jewelry discovered while exploring! + +Disassemble rings that are undesirable to you and retrieve fragments of them, then use the Refine station to empower your equipment further! + +This should let you get some use out of all those extra rings you're carrying around, eh? + +[You] +Great, I think I could make good use of this. Thank you. + +===ARTIFICER_HELP=== +[Artificer] +At this station you have the ability to refine and fix up imperfect jewelry discovered while exploring! + +Disassemble rings that are undesirable to you and retrieve fragments of them, then use the Refine station to empower your equipment further! + +You can make use of those extra rings you have been piling up! \ No newline at end of file diff --git a/Adventures in Lestoria/Crawler_Artificer.txt b/Adventures in Lestoria/Crawler_Artificer.txt index 7149e311..8f31a372 100644 --- a/Adventures in Lestoria/Crawler_Artificer.txt +++ b/Adventures in Lestoria/Crawler_Artificer.txt @@ -4,12 +4,32 @@ Artificer - Unlocks an additional feature after Chapter 3 - Bonus Boss - Is available in the hub area +Artificer unlocks after beating chapter 2 bonus boss. +Player heads to camp. +Camera pans over to the Artificer's station, and a new NPC appears there. +Then camera pans back over to the player +The leave buttons are disabled and a tutorial prompt to visit the artificer appears. +You go to the artificer and talk to them. +Artificer explains that your accessories' stats may not have reached their full potential yet and can be refined. + You can disassemble previously obtained rings to get ring fragments, then refine your rings to increase its power further. + +Artificer: Hello adventurer! Welcome to my artificing station! May I have the pleasure of knowing your name? +[YOU]: Hello, my name is ____. +Artificer: Excelent! Nice to meet you, [YOU]. Here you have the ability to refine and fix up imperfect jewelry discovered along your journey! +Artificer: Break down rings that are undesirable to you to retrieve fragments, then use the Refining station to empower your equipment further! +Artificer: This will let you get use out of all those extra rings you may be carrying around, eh? + + Artificer has 4 Dialog Options -- Repair/Enhance (Name may change in the future) +- Repair/Enhance/(Refine?) (Name may change in the future) - Disassemble - Enchant (Requieres Chapter 3 - Bonus boss) +- Help (Runs through the explanation again.) - Leave + +(Whichever is greater): Always go up by 20%/Always go up by 1 + Enhancing Gear - increases the stats of an item. - Increases a random stat by a random amount that did not reach its cap. (cant go higher then 20% of its current amount in on Enhance attempt and cant go higher then the max stat value of the item) diff --git a/Adventures in Lestoria/NPC.cpp b/Adventures in Lestoria/NPC.cpp index d4769740..cebb79ed 100644 --- a/Adventures in Lestoria/NPC.cpp +++ b/Adventures in Lestoria/NPC.cpp @@ -83,6 +83,9 @@ void Monster::STRATEGY::NPC(Monster&m,float fElapsedTime,std::string strategy){ }else if(m.npcData.function=="TravelingMerchant"){ Menu::OpenMenu(MenuType::MERCHANT); + }else + if(m.npcData.function=="Artificer"){ + Menu::OpenMenu(MenuType::MERCHANT); } } }else{ diff --git a/Adventures in Lestoria/State_GameHub.cpp b/Adventures in Lestoria/State_GameHub.cpp index b64029b6..6d0c3aed 100644 --- a/Adventures in Lestoria/State_GameHub.cpp +++ b/Adventures in Lestoria/State_GameHub.cpp @@ -68,6 +68,9 @@ void State_GameHub::OnStateChange(GameState*prevState){ } void State_GameHub::OnLevelLoad(){ game->UpdateDiscordStatus("Camp",game->GetPlayer()->GetClassName()); + if(Unlock::IsUnlocked("STORY_2_2")){ + Audio::SetAudioEvent("Chapter3Unlock"); + }else if(Unlock::IsUnlocked("STORY_1_3")){ Audio::SetAudioEvent("Chapter2Unlock"); }else diff --git a/Adventures in Lestoria/State_OverworldMap.cpp b/Adventures in Lestoria/State_OverworldMap.cpp index cb6e32a7..dfa871bd 100644 --- a/Adventures in Lestoria/State_OverworldMap.cpp +++ b/Adventures in Lestoria/State_OverworldMap.cpp @@ -63,8 +63,10 @@ void State_OverworldMap::OnStateChange(GameState*prevState){ game->ResetCompletedStageFlag(); - if(Unlock::IsUnlocked("STORY_1_3")){ + justUnlockedChapter2=false; + if(Unlock::IsUnlocked("STORY_1_3")&&game->GetCurrentChapter()==1){ game->SetChapter(2); + justUnlockedChapter2=true; } game->LoadLevel("WORLD_MAP"); @@ -74,6 +76,7 @@ void State_OverworldMap::OnLevelLoad(){ Menu::CloseAllMenus(); } game->GetPlayer()->ForceSetPos(currentConnectionPoint->rect.pos+currentConnectionPoint->rect.size/2+vf2d{0,16}); + if(justUnlockedChapter2)SetStageMarker("Player.Chapter 2 Unlock Set Location"_S); playerTargetPos=currentConnectionPoint->rect.pos+currentConnectionPoint->rect.size/2+vf2d{0,16}; game->GetPlayer()->UpdateWalkingAnimation(DOWN); game->GetPlayer()->SetState(State::FORCE_WALK); @@ -101,6 +104,7 @@ void State_OverworldMap::OnUserUpdate(AiL*game){ if(geom2d::line(game->GetPlayer()->GetPos(),playerTargetPos).length()<2){ game->GetPlayer()->SetPos(playerTargetPos); }else{ + game->GetPlayer()->SetAnimationBasedOnTarget("WALK",playerTargetPos); game->GetPlayer()->SetPos(game->GetPlayer()->GetPos()+util::pointTo(game->GetPlayer()->GetPos(),playerTargetPos)*playerMoveSpd*game->GetElapsedTime()); } } @@ -116,18 +120,6 @@ void State_OverworldMap::OnUserUpdate(AiL*game){ if(mouseUsed){ UpdateCurrentConnectionPoint(cp); playerTargetPos=currentConnectionPoint->rect.pos+currentConnectionPoint->rect.size/2+vf2d{0,16}; - float angleTo=util::angleTo(game->GetPlayer()->GetPos(),playerTargetPos); - if(angleTo>=-3*PI/4&&angleTo<-PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(UP); - }else - if(angleTo=-PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(RIGHT); - }else - if(angleTo>=PI/4&&angleTo<3*PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(DOWN); - }else{ - game->GetPlayer()->UpdateWalkingAnimation(LEFT); - } if(abs(game->KEY_SCROLLHORZ_L.Analog())>=0.2f||abs(game->KEY_SCROLLVERT_L.Analog()>=0.2f))analogMove=true; goto doneNavigating; }else{ @@ -148,18 +140,6 @@ void State_OverworldMap::OnUserUpdate(AiL*game){ if(Unlock::IsUnlocked(neighbor.unlockCondition)&&targetDirection==directionInd){ UpdateCurrentConnectionPoint(neighbor); playerTargetPos=currentConnectionPoint->rect.pos+currentConnectionPoint->rect.size/2+vf2d{0,16}; - float angleTo=util::angleTo(game->GetPlayer()->GetPos(),playerTargetPos); - if(angleTo>=-3*PI/4&&angleTo<-PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(UP); - }else - if(angleTo=-PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(RIGHT); - }else - if(angleTo>=PI/4&&angleTo<3*PI/4){ - game->GetPlayer()->UpdateWalkingAnimation(DOWN); - }else{ - game->GetPlayer()->UpdateWalkingAnimation(LEFT); - } if(abs(game->KEY_SCROLLHORZ_L.Analog())>=0.2f||abs(game->KEY_SCROLLVERT_L.Analog()>=0.2f))analogMove=true; goto doneNavigating; } diff --git a/Adventures in Lestoria/State_OverworldMap.h b/Adventures in Lestoria/State_OverworldMap.h index 80b27016..39974313 100644 --- a/Adventures in Lestoria/State_OverworldMap.h +++ b/Adventures in Lestoria/State_OverworldMap.h @@ -48,6 +48,7 @@ class State_OverworldMap:public GameState{ const float playerMoveSpd=48.0; bool analogMove=false; float mosaicAmt=0.f; + bool justUnlockedChapter2{false}; public: State_OverworldMap(); static std::vectorconnections; diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 278044c0..0f7f8987 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 2 #define VERSION_PATCH 3 -#define VERSION_BUILD 10391 +#define VERSION_BUILD 10399 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/assets/Campaigns/Hub_v2.tmx b/Adventures in Lestoria/assets/Campaigns/Hub_v2.tmx index c8b2677d..b69cdec0 100644 --- a/Adventures in Lestoria/assets/Campaigns/Hub_v2.tmx +++ b/Adventures in Lestoria/assets/Campaigns/Hub_v2.tmx @@ -1,5 +1,5 @@ - + @@ -207,7 +207,7 @@ - + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, @@ -418,7 +418,6 @@ - @@ -444,5 +443,15 @@ + + + + + + + + + + diff --git a/Adventures in Lestoria/assets/Campaigns/World_Map.tmx b/Adventures in Lestoria/assets/Campaigns/World_Map.tmx index bbc944f4..49de08c8 100644 --- a/Adventures in Lestoria/assets/Campaigns/World_Map.tmx +++ b/Adventures in Lestoria/assets/Campaigns/World_Map.tmx @@ -1,5 +1,5 @@ - + @@ -436,12 +436,12 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10923,10924,10878,10879,10927,10928,10929,10877,10931,10932,10933,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10936,10937,10891,10892,10940,10941,10942,10890,10944,10945,10946,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10820,10821,10822,10849,10850,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,10920,0,0,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,10920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10849,10850,0,10833,10834,10824,10834,10835,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10833,10834,10835,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10820,10821,10821,10821,10822,0,0,0,0,0,0,10923,10872,10874,10875,10927,10928,10929,10877,10931,10932,10933,10849,10850,10923,10872,10874,10875,10927,10928,10929,10878,10879,10932,10933,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10833,10834,10837,10834,10835,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10846,10847,10848,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,10936,10885,10887,10888,10940,10941,10942,10890,10944,10945,10946,10862,10863,10936,10885,10887,10888,10940,10941,10942,10891,10892,10945,10946,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,10833,10834,10824,10834,10835,10849,10850,0,10849,10850,0,10949,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,0,0,10949,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10846,10847,10847,10847,10848,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,10833,10834,10837,10834,10835,10862,10863,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10820,10821,10821,10821,10822,0,0,0,0,10820,10821,10821,10821,10822,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,0,0,0,0,10820,10821,10822,10849,10850,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,10920,0,0,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,10920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10849,10850,0,10833,10834,10824,10834,10835,0,10849,10850,0,10833,10834,10829,10834,10835,0,10849,10850,0,10849,10850,0,10849,10850,0,10833,10834,10835,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10820,10821,10821,10821,10822,0,0,0,0,0,0,10923,10872,10874,10875,10927,10928,10929,10877,10931,10932,10933,10849,10850,10923,10872,10874,10875,10927,10928,10929,10878,10879,10932,10933,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10833,10834,10837,10834,10835,0,10862,10863,0,10833,10834,10842,10834,10835,0,10862,10863,0,10862,10863,0,10862,10863,0,10846,10847,10848,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,10936,10885,10887,10888,10940,10941,10942,10890,10944,10945,10946,10862,10863,10936,10885,10887,10888,10940,10941,10942,10891,10892,10945,10946,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,10833,10834,10834,10834,10835,0,0,0,0,0,0,0,0,0,0,10849,10850,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,0,10849,10850,10833,10834,10824,10834,10835,10849,10850,0,10849,10850,0,10949,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,0,0,10949,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10846,10847,10847,10847,10848,0,0,0,0,10846,10847,10847,10847,10848,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,0,10862,10863,10833,10834,10837,10834,10835,10862,10863,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10862,10863,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, @@ -573,7 +573,7 @@ - + @@ -591,7 +591,7 @@ - + @@ -600,9 +600,9 @@ - + - + @@ -662,7 +662,7 @@ - + @@ -690,7 +690,7 @@ - + @@ -755,23 +755,23 @@ - + - + + + - + - - @@ -785,5 +785,20 @@ + + + + + + + + + + + + + + + diff --git a/Adventures in Lestoria/assets/config/NPCs.txt b/Adventures in Lestoria/assets/config/NPCs.txt index 3df842c6..05f5d75e 100644 --- a/Adventures in Lestoria/assets/config/NPCs.txt +++ b/Adventures in Lestoria/assets/config/NPCs.txt @@ -75,6 +75,31 @@ NPCs RIGHT = 1, 0.1, OneShot } + Hurt Sound = Monster Hurt + Death Sound = Slime Dead + Walk Sound = Slime Walk + } + Artificer + { + Strategy = NPC + + #Size of each animation frame + SheetFrameSize = 24,24 + + # Setting this to true means every four rows indicates one animation, the ordering of the directions is: NORTH, EAST, SOUTH, WEST + 4-Way Spritesheet = False + + Animations + { + # Frame Count, Frame Speed (s), Frame Cycling (Repeat,OneShot,PingPong,Reverse) + # Animations must be defined in the same order as they are in their sprite sheets + # The First Four animations must represent a standing, walking, attack, and death animation. Their names are up to the creator. + DOWN = 1, 0.1, OneShot + UP = 1, 0.1, OneShot + LEFT = 1, 0.1, OneShot + RIGHT = 1, 0.1, OneShot + } + Hurt Sound = Monster Hurt Death Sound = Slime Dead Walk Sound = Slime Walk diff --git a/Adventures in Lestoria/assets/config/Player.txt b/Adventures in Lestoria/assets/config/Player.txt index 0495dd07..90c39793 100644 --- a/Adventures in Lestoria/assets/config/Player.txt +++ b/Adventures in Lestoria/assets/config/Player.txt @@ -4,7 +4,10 @@ Player MoveSpd = 100 # Game Map Starting Location - Starting Location = Story I + Starting Location = Story I-I + + # Which stage plate to set the player at when chapter 2 is unlocked. + Chapter 2 Unlock Set Location = Camp II # Player Class Minimap Image offset Minimap Image Offset = 12,11 diff --git a/Adventures in Lestoria/assets/config/audio/bgm.txt b/Adventures in Lestoria/assets/config/audio/bgm.txt index 9158641f..af399fd6 100644 --- a/Adventures in Lestoria/assets/config/audio/bgm.txt +++ b/Adventures in Lestoria/assets/config/audio/bgm.txt @@ -93,9 +93,10 @@ BGM Events { - Default Volume = 60%,60%,0%,0%,0%,0%,0%,0%,60%,60% - BlacksmithUnlock = 60%,60%,60%,0%,0%,0%,0%,60%,60%,60% - Chapter2Unlock = 80%,80%,60%,0%,100%,70%,0%,60%,80%,60% + Default Volume = 0%,60%,0%,0%,0%,0%,0%,0%,60%,60% + BlacksmithUnlock = 0%,60%,60%,0%,0%,0%,0%,60%,60%,60% + Chapter2Unlock = 0%,80%,60%,0%,100%,70%,0%,60%,80%,60% + Chapter3Unlock = 80%,100%,100%,0%,100%,100%,60%,80%,100%,80% } } diff --git a/Adventures in Lestoria/assets/config/audio/events.txt b/Adventures in Lestoria/assets/config/audio/events.txt index 6c4302ac..f003fb51 100644 --- a/Adventures in Lestoria/assets/config/audio/events.txt +++ b/Adventures in Lestoria/assets/config/audio/events.txt @@ -4,6 +4,7 @@ Events TitleScreenLoaded = "Occurs when the title screen intro is done" BlacksmithUnlock = "Blacksmith appears in the camp." Chapter2Unlock = "Chapter 2 is unlocked (beat the demo)" + Chapter3Unlock = "Chapter 3 is unlocked (After beating the Stone Golem)" SFX { diff --git a/Adventures in Lestoria/assets/config/levels.txt b/Adventures in Lestoria/assets/config/levels.txt index af152980..e7eeec71 100644 --- a/Adventures in Lestoria/assets/config/levels.txt +++ b/Adventures in Lestoria/assets/config/levels.txt @@ -1,8 +1,5 @@ map_path = assets/Campaigns/ -# The starting node that all players begin on. -starting_map_name = Story I - Levels { # Optionally specify diff --git a/Adventures in Lestoria/assets/npcs/Artificer.png b/Adventures in Lestoria/assets/npcs/Artificer.png new file mode 100644 index 00000000..09c30d23 Binary files /dev/null and b/Adventures in Lestoria/assets/npcs/Artificer.png differ diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 8f0535de..ce61df1f 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ