public void OnNewGamePressed() { SerializationManager.CreateNewSaveFile(); ShopKeeperData weaponsShop = Resources.Load <ShopKeeperData>("ScriptableObjects/Shops/ArmorShop"); weaponsShop.Gold = 2000; weaponsShop.items.ResetInventory(player: false); weaponsShop.items.Insert("Axe", 1); weaponsShop.items.Insert("Helmet", 1); weaponsShop.items.Insert("Chest Plate", 1); weaponsShop.items.Insert("Gloves", 1); weaponsShop.items.Insert("Boots", 1); weaponsShop.items.Insert("Sword", 1); weaponsShop.items.Insert("Great Axe", 1); weaponsShop.items.Insert("Steel Helmet", 1); weaponsShop.items.Insert("Steel Chest Plate", 1); weaponsShop.items.Insert("Steel Gloves", 1); weaponsShop.items.Insert("Steel Boots", 1); weaponsShop.items.Insert("Knight Sword", 1); weaponsShop.items.Insert("Lance", 1); weaponsShop.items.Insert("Platinum Helmet", 1); weaponsShop.items.Insert("Platinum Chest Plate", 1); weaponsShop.items.Insert("Platinum Gloves", 1); weaponsShop.items.Insert("Platinum Boots", 1); ShopKeeperData goodsShop = Resources.Load <ShopKeeperData>("ScriptableObjects/Shops/Goods Shop"); goodsShop.Gold = 2000; goodsShop.items.ResetInventory(player: false); goodsShop.items.Insert("Apple", 15); goodsShop.items.Insert("Lesser Potion", 5); goodsShop.items.Insert("Potion", 5); goodsShop.items.Insert("Greater Potion", 5); GlobalFlags.SetCurrentOverworldScene("Town"); GlobalFlags.SetPlayerPosition(new Vector2(0.5f, -11f)); GameManager.instance.PushState(StateManagement.GameStateType.Overworld, "Town"); GlobalFlags.SetFirstTimeFlag(false); }