Implement load game functions.

pull/28/head
sigonasr2 11 months ago
parent 5e5e8f5656
commit 0d6ab94fda
  1. 3
      Crawler/AttributableStat.h
  2. 21
      Crawler/Crawler.cpp
  3. 1
      Crawler/Crawler.h
  4. 10
      Crawler/Item.cpp
  5. 3
      Crawler/Item.h
  6. 5
      Crawler/Player.cpp
  7. 2
      Crawler/Player.h
  8. 32
      Crawler/SaveFile.cpp
  9. 1
      Crawler/SaveFile.h
  10. 2
      Crawler/Unlock.h
  11. 80
      Crawler/assets/saves/save.0000
  12. 331
      Crawler/assets/saves/save.0001
  13. 344
      Crawler/assets/saves/save.0002
  14. 344
      Crawler/assets/saves/save.0003
  15. 354
      Crawler/assets/saves/save.0004

@ -107,5 +107,8 @@ public:
inline auto end()const{ inline auto end()const{
return attributes.end(); return attributes.end();
} }
inline void clear(){
attributes.clear();
}
}; };

@ -67,11 +67,13 @@ All rights reserved.
#include "olcPGEX_TTF.h" #include "olcPGEX_TTF.h"
#include "MenuItemItemButton.h" #include "MenuItemItemButton.h"
#include "Merchant.h" #include "Merchant.h"
#include "SaveFile.h"
#ifndef __EMSCRIPTEN__ #ifndef __EMSCRIPTEN__
#include "discord.h" #include "discord.h"
#endif #endif
INCLUDE_EMITTER_LIST INCLUDE_EMITTER_LIST
INCLUDE_ITEM_CATEGORIES
bool _DEBUG_MAP_LOAD_INFO = false; bool _DEBUG_MAP_LOAD_INFO = false;
//360x240 //360x240
@ -2536,3 +2538,22 @@ void Crawler::InitializePlayerLevelCap(){
if(player->levelCap<=1)ERR("Could not detect level cap properly!") if(player->levelCap<=1)ERR("Could not detect level cap properly!")
std::cout<<"Level cap detected as "<<int(player->levelCap)<<std::endl; std::cout<<"Level cap detected as "<<int(player->levelCap)<<std::endl;
} }
void Crawler::ResetGame(){
GameState::ChangeState(States::OVERWORLD_MAP,0.5f);
for(int i=int(EquipSlot::HELMET);i<=int(EquipSlot::RING2);i<<=1){
Inventory::UnequipItem(EquipSlot(i));
}
for(auto&[cat,items]:ITEM_CATEGORIES){
Inventory::Clear(cat);
}
player->level=1;
player->stats.Reset();
player->ResetAccumulatedXP();
player->totalXPEarned=0;
Unlock::unlocks.clear();
Unlock::Initialize();
DYNAMIC_CAST<State_OverworldMap*>(GameState::STATE)->SetStageMarker("Stage I-I");
SetChapter(1);
SaveFile::SetSaveFileName("");
}

@ -206,6 +206,7 @@ public:
void EndGame(); void EndGame();
void UpdateDiscordStatus(std::string levelName,std::string className); void UpdateDiscordStatus(std::string levelName,std::string className);
void InitializePlayerLevelCap(); void InitializePlayerLevelCap();
void ResetGame();
struct TileGroupData{ struct TileGroupData{
vi2d tilePos; vi2d tilePos;

@ -377,32 +377,38 @@ Item::Item()
Item::Item(uint32_t amt,IT item,uint8_t enhancementLevel) Item::Item(uint32_t amt,IT item,uint8_t enhancementLevel)
:amt(amt),it(&ITEM_DATA.at(item)),enhancementLevel(enhancementLevel){} :amt(amt),it(&ITEM_DATA.at(item)),enhancementLevel(enhancementLevel){}
void Inventory::AddItem(IT it,uint32_t amt,bool monsterDrop){ std::weak_ptr<Item>Inventory::AddItem(IT it,uint32_t amt,bool monsterDrop){
if(!ITEM_DATA.count(it))ERR("Item "<<std::quoted(it)<<" does not exist in Item Database!"); if(!ITEM_DATA.count(it))ERR("Item "<<std::quoted(it)<<" does not exist in Item Database!");
std::weak_ptr<Item>itemPtr;
if(ITEM_DATA[it].IsEquippable()){ //Do not stack equips! if(ITEM_DATA[it].IsEquippable()){ //Do not stack equips!
for(uint32_t i=0;i<amt;i++){ for(uint32_t i=0;i<amt;i++){
std::shared_ptr<Item>newItem=(*_inventory.insert({it,std::make_shared<Item>(1,it)})).second; std::shared_ptr<Item>newItem=(*_inventory.insert({it,std::make_shared<Item>(1,it)})).second;
newItem->RandomizeStats(); newItem->RandomizeStats();
InsertIntoSortedInv(newItem); InsertIntoSortedInv(newItem);
itemPtr=newItem;
} }
goto SkipAddingStackableItem; goto SkipAddingStackableItem;
} }
else else
//There are two places to manipulate items in (Both the sorted inventory and the actual inventory) //There are two places to manipulate items in (Both the sorted inventory and the actual inventory)
if(!_inventory.count(it)){ if(!_inventory.count(it)){
InsertIntoSortedInv((*_inventory.insert({it,std::make_shared<Item>(amt,it)})).second); std::shared_ptr<Item>newItem=(*_inventory.insert({it,std::make_shared<Item>(amt,it)})).second;
InsertIntoSortedInv(newItem);
itemPtr=newItem;
}else{ }else{
auto inventory=_inventory.equal_range(it); auto inventory=_inventory.equal_range(it);
if(std::accumulate(inventory.first,inventory.second,0, if(std::accumulate(inventory.first,inventory.second,0,
[&](int counter,std::pair<IT,std::shared_ptr<Item>>item){ [&](int counter,std::pair<IT,std::shared_ptr<Item>>item){
(*item.second).amt+=amt; (*item.second).amt+=amt;
itemPtr=item.second;
return counter+1;})>1)ERR("WARNING! We should not have more than 1 instance of a stackable item!"); return counter+1;})>1)ERR("WARNING! We should not have more than 1 instance of a stackable item!");
} }
SkipAddingStackableItem: SkipAddingStackableItem:
InsertIntoStageInventoryCategory(it,amt,monsterDrop); InsertIntoStageInventoryCategory(it,amt,monsterDrop);
return itemPtr;
} }
std::vector<std::shared_ptr<Item>>Inventory::CopyItem(IT it){ std::vector<std::shared_ptr<Item>>Inventory::CopyItem(IT it){

@ -156,6 +156,7 @@ class Item{
friend class Inventory; friend class Inventory;
friend class Crawler; friend class Crawler;
friend class Menu; friend class Menu;
friend class SaveFile;
friend void Merchant::PurchaseItem(IT item,uint32_t amt); friend void Merchant::PurchaseItem(IT item,uint32_t amt);
friend void Merchant::SellItem(std::weak_ptr<Item>,uint32_t amt); friend void Merchant::SellItem(std::weak_ptr<Item>,uint32_t amt);
private: private:
@ -227,7 +228,7 @@ class Inventory{
friend class Item; friend class Item;
friend class SaveFile; friend class SaveFile;
public: public:
static void AddItem(IT it,uint32_t amt=1,bool monsterDrop=false); static std::weak_ptr<Item>AddItem(IT it,uint32_t amt=1,bool monsterDrop=false);
//Returns the actual amount available in your main inventory. //Returns the actual amount available in your main inventory.
[[nodiscard]] static uint32_t GetItemCount(IT it); [[nodiscard]] static uint32_t GetItemCount(IT it);
static std::vector<std::shared_ptr<Item>>CopyItem(IT it); static std::vector<std::shared_ptr<Item>>CopyItem(IT it);

@ -1166,3 +1166,8 @@ const uint32_t Player::GetAccumulatedXP()const{
const float Player::GetAttackRecoveryRateReduction()const{ const float Player::GetAttackRecoveryRateReduction()const{
return GetStat("Attack Spd"); return GetStat("Attack Spd");
} }
void EntityStats::Reset(){
equipStats.clear();
baseStats.clear();
}

@ -75,6 +75,7 @@ public:
const float&GetBaseStat(std::string_view stat)const; const float&GetBaseStat(std::string_view stat)const;
void SetBaseStat(ItemAttribute a,float val); void SetBaseStat(ItemAttribute a,float val);
void SetBaseStat(std::string_view a,float val); void SetBaseStat(std::string_view a,float val);
void Reset();
}; };
struct Player{ struct Player{
@ -89,6 +90,7 @@ struct Player{
friend class State_GameRun; friend class State_GameRun;
friend class Inventory; friend class Inventory;
friend void ItemOverlay::Draw(); friend void ItemOverlay::Draw();
friend class SaveFile;
public: public:
Player(); Player();
//So this is rather fascinating and only exists because we have the ability to change classes which means we need to initialize a class //So this is rather fascinating and only exists because we have the ability to change classes which means we need to initialize a class

@ -42,6 +42,7 @@ All rights reserved.
#include "Unlock.h" #include "Unlock.h"
#include "State_OverworldMap.h" #include "State_OverworldMap.h"
#include "SaveFile.h" #include "SaveFile.h"
#include "ClassInfo.h"
INCLUDE_game INCLUDE_game
@ -88,6 +89,37 @@ const void SaveFile::SaveGame(){
utils::datafile::Write(saveFile,"save_file_path"_S+std::format("save.{:04}",saveFileID)); utils::datafile::Write(saveFile,"save_file_path"_S+std::format("save.{:04}",saveFileID));
} }
const void SaveFile::LoadGame(){
utils::datafile loadFile;
utils::datafile::Read(loadFile,"save_file_path"_S+std::format("save.{:04}",saveFileID));
game->ResetGame();
for(auto&[key,size]:loadFile["Items"]){
std::weak_ptr<Item>newItem=Inventory::AddItem(loadFile["Items"][key]["Item Name"].GetString(),loadFile["Items"][key]["Amt"].GetInt());
newItem.lock()->enhancementLevel=loadFile["Items"][key]["Enhancement Level"].GetInt();
for(auto&[attr,size]:loadFile.GetProperty(std::format("{}.Attributes",key))){
newItem.lock()->randomizedStats.A(attr)=loadFile.GetProperty(std::format("{}.Attributes.{}",key,attr)).GetReal();
}
EquipSlot slot=EquipSlot(loadFile.GetProperty(std::format("{}.Equip Slot",key)).GetInt());
if(slot!=EquipSlot::NONE){ //This should be equipped somewhere!
Inventory::EquipItem(newItem,slot);
}
}
game->ChangePlayerClass(classutils::StringToClass(loadFile["Player"]["Class"].GetString()));
game->GetPlayer()->level=loadFile["Player"]["Level"].GetInt();
game->GetPlayer()->currentLevelXP=loadFile["Player"]["Current EXP"].GetInt();
game->GetPlayer()->totalXPEarned=loadFile["Player"]["Total EXP"].GetInt();
for(const auto&[key,size]:loadFile["Player"]["Base Stats"]){
game->GetPlayer()->SetBaseStat(key,loadFile["Player"]["Base Stats"][key].GetReal());
}
for(const auto&[key,size]:loadFile["Unlocks"]){
Unlock::UnlockArea(key);
}
DYNAMIC_CAST<State_OverworldMap*>(GameState::STATE)->SetStageMarker(loadFile["Overworld Map Location"].GetString());
game->SetChapter(loadFile["Chapter"].GetInt());
SaveFile::SetSaveFileName(loadFile["Save Name"].GetString());
game->GetPlayer()->RecalculateEquipStats();
}
const std::string_view SaveFile::GetSaveFileName(){ const std::string_view SaveFile::GetSaveFileName(){
return saveFileName; return saveFileName;
} }

@ -47,5 +47,6 @@ public:
static const void SetSaveFileName(std::string_view saveFileName); static const void SetSaveFileName(std::string_view saveFileName);
static const size_t GetSaveFileCount(); static const size_t GetSaveFileCount();
static const void SaveGame(); static const void SaveGame();
static const void LoadGame();
static const void SetSaveFileID(size_t saveFileID); static const void SetSaveFileID(size_t saveFileID);
}; };

@ -46,7 +46,7 @@ class Unlock{
static std::set<std::string>unlocks; static std::set<std::string>unlocks;
static void Initialize(); static void Initialize();
public: public:
//Provide a map's actual name to trigger unlocks for all connected areas. You can get the current map you are on via State_OverworlMap::GetCurrentConnectionPoint().map //Provide a map's actual name to trigger unlocks for all connected areas. You can get the current map you are on via State_OverworldMap::GetCurrentConnectionPoint().map
static void UnlockArea(std::string mapName); static void UnlockArea(std::string mapName);
//Uses the current map as the unlock criteria. //Uses the current map as the unlock criteria.
static void UnlockCurrentMap(); static void UnlockCurrentMap();

@ -4,7 +4,7 @@ Items
Item[0] Item[0]
{ {
Amt = 10 Amt = 9
Enhancement Level = 0 Enhancement Level = 0
Item Name = Bandages Item Name = Bandages
Equip Slot = 0 Equip Slot = 0
@ -34,7 +34,7 @@ Items
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
Item Name = Bone Gloves Item Name = Bone Gloves
Equip Slot = 0 Equip Slot = 8
} }
@ -43,7 +43,7 @@ Items
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
Item Name = Bone Pants Item Name = Bone Pants
Equip Slot = 0 Equip Slot = 16
} }
@ -85,7 +85,7 @@ Items
Item[9] Item[9]
{ {
Amt = 3 Amt = 2
Enhancement Level = 0 Enhancement Level = 0
Item Name = Elixir of Bear Strength Item Name = Elixir of Bear Strength
Equip Slot = 0 Equip Slot = 0
@ -94,7 +94,7 @@ Items
Item[10] Item[10]
{ {
Amt = 40 Amt = 42
Enhancement Level = 0 Enhancement Level = 0
Item Name = Green Slime Remains Item Name = Green Slime Remains
Equip Slot = 0 Equip Slot = 0
@ -156,24 +156,33 @@ Items
Item[17] Item[17]
{
Amt = 4
Enhancement Level = 0
Item Name = Red Slime Remains
Equip Slot = 0
}
Item[18]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
Item Name = Ring of the Slime King Item Name = Ring of the Slime King
Equip Slot = 0 Equip Slot = 128
Attributes Attributes
{ {
Attack = 2.000000 Attack = 4.000000
Health = 19.000000 Health = 17.000000
Mana = 1.000000 Mana = 1.000000
Move Spd = 3.000000 Move Spd % = 3.000000
} }
} }
Item[18] Item[19]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -182,16 +191,16 @@ Items
Attributes Attributes
{ {
Attack = 2.000000 Attack = 3.000000
Health = 7.000000 Health = 8.000000
Mana = 3.000000 Mana = 3.000000
Move Spd = 3.000000 Move Spd % = 1.000000
} }
} }
Item[19] Item[20]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -201,15 +210,15 @@ Items
Attributes Attributes
{ {
Attack = 3.000000 Attack = 3.000000
Health = 18.000000 Health = 6.000000
Mana = 2.000000 Mana = 1.000000
Move Spd = 3.000000 Move Spd % = 3.000000
} }
} }
Item[20] Item[21]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -218,7 +227,7 @@ Items
} }
Item[21] Item[22]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -227,7 +236,7 @@ Items
} }
Item[22] Item[23]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -236,7 +245,7 @@ Items
} }
Item[23] Item[24]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -245,7 +254,7 @@ Items
} }
Item[24] Item[25]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -254,7 +263,7 @@ Items
} }
Item[25] Item[26]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -263,7 +272,7 @@ Items
} }
Item[26] Item[27]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -272,7 +281,7 @@ Items
} }
Item[27] Item[28]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -281,7 +290,7 @@ Items
} }
Item[28] Item[29]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -290,7 +299,7 @@ Items
} }
Item[29] Item[30]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -299,7 +308,7 @@ Items
} }
Item[30] Item[31]
{ {
Amt = 1 Amt = 1
Enhancement Level = 0 Enhancement Level = 0
@ -312,22 +321,23 @@ Items
Player Player
{ {
Class = Warrior Class = Wizard
Level = 1 Level = 1
Current EXP = 0 Current EXP = 44
Total EXP = 0 Total EXP = 44
Base Stats Base Stats
{ {
Attack = 10.000000 Attack = 15.000000
CDR = 0.000000 CDR = 0.000000
Crit Dmg = 50.000000 Crit Dmg = 50.000000
Crit Rate = 0.000000 Crit Rate = 0.000000
Defense = 0.000000 Defense = 0.000000
HP/6 Recovery = 0.000000 HP6 Recovery % = 0.000000
Health = 0.000000 Health = 80.000000
Health % = 0.000000
Mana = 100.000000 Mana = 100.000000
Move Spd = 100.000000 Move Spd % = 100.000000
} }
} }

@ -1,331 +0,0 @@
Items
{
Item[0]
{
Amt = 10
Enhancement Level = 0
Item Name = Bandages
Equip Slot = 0
}
Item[1]
{
Amt = 15
Enhancement Level = 0
Item Name = Blue Slime Remains
Equip Slot = 0
}
Item[2]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Armor
Equip Slot = 0
}
Item[3]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Gloves
Equip Slot = 0
}
Item[4]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Pants
Equip Slot = 0
}
Item[5]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Armor
Equip Slot = 0
}
Item[6]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Helmet
Equip Slot = 0
}
Item[7]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Pants
Equip Slot = 0
}
Item[8]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Shoes
Equip Slot = 0
}
Item[9]
{
Amt = 3
Enhancement Level = 0
Item Name = Elixir of Bear Strength
Equip Slot = 0
}
Item[10]
{
Amt = 25
Enhancement Level = 0
Item Name = Green Slime Remains
Equip Slot = 0
}
Item[11]
{
Amt = 1
Enhancement Level = 4
Item Name = Laser Sword
Equip Slot = 0
}
Item[12]
{
Amt = 1
Enhancement Level = 4
Item Name = Leather Gloves
Equip Slot = 0
}
Item[13]
{
Amt = 1
Enhancement Level = 4
Item Name = Leather Helmet
Equip Slot = 0
}
Item[14]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Pants
Equip Slot = 0
}
Item[15]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Shoes
Equip Slot = 0
}
Item[16]
{
Amt = 2
Enhancement Level = 0
Item Name = Red Slime Remains
Equip Slot = 0
}
Item[17]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 4.000000
Health = 16.000000
Mana = 3.000000
Move Spd = 2.000000
}
}
Item[18]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 2.000000
Health = 19.000000
Mana = 1.000000
Move Spd = 2.000000
}
}
Item[19]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[20]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[21]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[22]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[23]
{
Amt = 1
Enhancement Level = 4
Item Name = Shell Gloves
Equip Slot = 8
}
Item[24]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[25]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[26]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Helmet
Equip Slot = 0
}
Item[27]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Shoes
Equip Slot = 32
}
Item[28]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Sword
Equip Slot = 0
}
Item[29]
{
Amt = 1
Enhancement Level = 0
Item Name = Wooden Sword
Equip Slot = 0
}
}
Player
{
Class = Ranger
Level = 1
Current EXP = 44
Total EXP = 44
Base Stats
{
Attack = 0.000000
Attack Spd = 0.000000
CDR = 0.000000
Crit Dmg = 50.000000
Crit Rate = 0.000000
Damage Reduction = 0.000000
Defense = 0.000000
HP Recovery = 0.000000
HP/4 Recovery = 0.000000
HP/6 Recovery = 0.000000
Health = 0.000000
Mana = 100.000000
Move Spd = 105.000000
}
}
Unlocks
{
CAMPAIGN_1_1 = True
CAMPAIGN_1_2 = True
WORLD_MAP = True
}
Overworld Map Location = Story I
Chapter = 1
Save Name = Test File 2

@ -1,344 +0,0 @@
Items
{
Item[0]
{
Amt = 10
Enhancement Level = 0
Item Name = Bandages
Equip Slot = 0
}
Item[1]
{
Amt = 22
Enhancement Level = 0
Item Name = Blue Slime Remains
Equip Slot = 0
}
Item[2]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Armor
Equip Slot = 0
}
Item[3]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Gloves
Equip Slot = 0
}
Item[4]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Pants
Equip Slot = 0
}
Item[5]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Armor
Equip Slot = 0
}
Item[6]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Helmet
Equip Slot = 0
}
Item[7]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Pants
Equip Slot = 0
}
Item[8]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Shoes
Equip Slot = 0
}
Item[9]
{
Amt = 3
Enhancement Level = 0
Item Name = Elixir of Bear Strength
Equip Slot = 0
}
Item[10]
{
Amt = 40
Enhancement Level = 0
Item Name = Green Slime Remains
Equip Slot = 0
}
Item[11]
{
Amt = 1
Enhancement Level = 0
Item Name = Laser Sword
Equip Slot = 0
}
Item[12]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Gloves
Equip Slot = 0
}
Item[13]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Helmet
Equip Slot = 0
}
Item[14]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Pants
Equip Slot = 0
}
Item[15]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Shoes
Equip Slot = 0
}
Item[16]
{
Amt = 16
Enhancement Level = 0
Item Name = Minor Health Potion
Equip Slot = 0
}
Item[17]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 2.000000
Health = 12.000000
Mana = 4.000000
Move Spd = 3.000000
}
}
Item[18]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 2.000000
Health = 16.000000
Mana = 2.000000
Move Spd = 3.000000
}
}
Item[19]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 4.000000
Health = 14.000000
Mana = 3.000000
Move Spd = 3.000000
}
}
Item[20]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[21]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[22]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[23]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[24]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[25]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[26]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[27]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Helmet
Equip Slot = 0
}
Item[28]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Shoes
Equip Slot = 0
}
Item[29]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Sword
Equip Slot = 0
}
Item[30]
{
Amt = 1
Enhancement Level = 0
Item Name = Wooden Sword
Equip Slot = 0
}
}
Player
{
Class = Warrior
Level = 1
Current EXP = 0
Total EXP = 0
Base Stats
{
Attack = 10.000000
CDR = 0.000000
Crit Dmg = 50.000000
Crit Rate = 0.000000
Defense = 0.000000
HP/6 Recovery = 0.000000
Health = 0.000000
Mana = 100.000000
Move Spd = 100.000000
}
}
Unlocks
{
CAMPAIGN_1_1 = True
WORLD_MAP = True
}
Overworld Map Location = Stage I-I
Chapter = 1
Save Name = dfaf

@ -1,344 +0,0 @@
Items
{
Item[0]
{
Amt = 10
Enhancement Level = 0
Item Name = Bandages
Equip Slot = 0
}
Item[1]
{
Amt = 22
Enhancement Level = 0
Item Name = Blue Slime Remains
Equip Slot = 0
}
Item[2]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Armor
Equip Slot = 0
}
Item[3]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Gloves
Equip Slot = 0
}
Item[4]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Pants
Equip Slot = 0
}
Item[5]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Armor
Equip Slot = 4
}
Item[6]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Helmet
Equip Slot = 1
}
Item[7]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Pants
Equip Slot = 16
}
Item[8]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Shoes
Equip Slot = 32
}
Item[9]
{
Amt = 3
Enhancement Level = 0
Item Name = Elixir of Bear Strength
Equip Slot = 0
}
Item[10]
{
Amt = 40
Enhancement Level = 0
Item Name = Green Slime Remains
Equip Slot = 0
}
Item[11]
{
Amt = 1
Enhancement Level = 0
Item Name = Laser Sword
Equip Slot = 0
}
Item[12]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Gloves
Equip Slot = 0
}
Item[13]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Helmet
Equip Slot = 0
}
Item[14]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Pants
Equip Slot = 0
}
Item[15]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Shoes
Equip Slot = 0
}
Item[16]
{
Amt = 16
Enhancement Level = 0
Item Name = Minor Health Potion
Equip Slot = 0
}
Item[17]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 3.000000
Health = 19.000000
Mana = 1.000000
Move Spd = 3.000000
}
}
Item[18]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 4.000000
Health = 20.000000
Mana = 1.000000
Move Spd = 1.000000
}
}
Item[19]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 3.000000
Health = 12.000000
Mana = 4.000000
Move Spd = 2.000000
}
}
Item[20]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[21]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[22]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[23]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[24]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[25]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[26]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[27]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Helmet
Equip Slot = 0
}
Item[28]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Shoes
Equip Slot = 0
}
Item[29]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Sword
Equip Slot = 0
}
Item[30]
{
Amt = 1
Enhancement Level = 0
Item Name = Wooden Sword
Equip Slot = 0
}
}
Player
{
Class = Warrior
Level = 1
Current EXP = 0
Total EXP = 0
Base Stats
{
Attack = 10.000000
CDR = 0.000000
Crit Dmg = 50.000000
Crit Rate = 0.000000
Defense = 0.000000
HP/6 Recovery = 0.000000
Health = 0.000000
Mana = 100.000000
Move Spd = 100.000000
}
}
Unlocks
{
CAMPAIGN_1_1 = True
WORLD_MAP = True
}
Overworld Map Location = Stage I-I
Chapter = 1
Save Name = Test File

@ -1,354 +0,0 @@
Items
{
Item[0]
{
Amt = 9
Enhancement Level = 0
Item Name = Bandages
Equip Slot = 0
}
Item[1]
{
Amt = 22
Enhancement Level = 0
Item Name = Blue Slime Remains
Equip Slot = 0
}
Item[2]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Armor
Equip Slot = 0
}
Item[3]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Gloves
Equip Slot = 8
}
Item[4]
{
Amt = 1
Enhancement Level = 0
Item Name = Bone Pants
Equip Slot = 16
}
Item[5]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Armor
Equip Slot = 0
}
Item[6]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Helmet
Equip Slot = 0
}
Item[7]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Pants
Equip Slot = 0
}
Item[8]
{
Amt = 1
Enhancement Level = 0
Item Name = Copper Shoes
Equip Slot = 0
}
Item[9]
{
Amt = 2
Enhancement Level = 0
Item Name = Elixir of Bear Strength
Equip Slot = 0
}
Item[10]
{
Amt = 42
Enhancement Level = 0
Item Name = Green Slime Remains
Equip Slot = 0
}
Item[11]
{
Amt = 1
Enhancement Level = 0
Item Name = Laser Sword
Equip Slot = 0
}
Item[12]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Gloves
Equip Slot = 0
}
Item[13]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Helmet
Equip Slot = 0
}
Item[14]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Pants
Equip Slot = 0
}
Item[15]
{
Amt = 1
Enhancement Level = 0
Item Name = Leather Shoes
Equip Slot = 0
}
Item[16]
{
Amt = 16
Enhancement Level = 0
Item Name = Minor Health Potion
Equip Slot = 0
}
Item[17]
{
Amt = 4
Enhancement Level = 0
Item Name = Red Slime Remains
Equip Slot = 0
}
Item[18]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 128
Attributes
{
Attack = 4.000000
Health = 17.000000
Mana = 1.000000
Move Spd % = 3.000000
}
}
Item[19]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 3.000000
Health = 8.000000
Mana = 3.000000
Move Spd % = 1.000000
}
}
Item[20]
{
Amt = 1
Enhancement Level = 0
Item Name = Ring of the Slime King
Equip Slot = 0
Attributes
{
Attack = 3.000000
Health = 6.000000
Mana = 1.000000
Move Spd % = 3.000000
}
}
Item[21]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[22]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[23]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Armor
Equip Slot = 0
}
Item[24]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[25]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[26]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[27]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Gloves
Equip Slot = 0
}
Item[28]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Helmet
Equip Slot = 0
}
Item[29]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Shoes
Equip Slot = 0
}
Item[30]
{
Amt = 1
Enhancement Level = 0
Item Name = Shell Sword
Equip Slot = 0
}
Item[31]
{
Amt = 1
Enhancement Level = 0
Item Name = Wooden Sword
Equip Slot = 0
}
}
Player
{
Class = Wizard
Level = 1
Current EXP = 44
Total EXP = 44
Base Stats
{
Attack = 15.000000
CDR = 0.000000
Crit Dmg = 50.000000
Crit Rate = 0.000000
Defense = 0.000000
HP6 Recovery % = 0.000000
Health = 80.000000
Health % = 0.000000
Mana = 100.000000
Move Spd % = 100.000000
}
}
Unlocks
{
CAMPAIGN_1_1 = True
WORLD_MAP = True
}
Overworld Map Location = Stage I-I
Chapter = 1
Save Name = Test File
Loading…
Cancel
Save