From 795ca383d60f77773213b3a18a8e7d3539aa7a16 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Sun, 16 Feb 2025 12:27:27 -0300 Subject: [PATCH] Remove GameItemsData.csv and update item loading path in Program.cs --- GameItemsData.csv | 21 --------------------- Program.cs | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 GameItemsData.csv diff --git a/GameItemsData.csv b/GameItemsData.csv deleted file mode 100644 index c304648..0000000 --- a/GameItemsData.csv +++ /dev/null @@ -1,21 +0,0 @@ -Id,Name,Type,Rarity,Description,Price,Effect,EquipTarget -1,Apple,Material,Common,Crafting material (coming soon),0,Nothing,None -2,Superfood Smoothie,Consumable,Uncommon,Adds +30 food resources; Restores 5 Intelligence,0,ADD_FOOD_30,None -3,Energy Drink,Consumable,Rare,Reduces Cooldown by 5 min,0,REDUCE_COOLDOWN_5,None -4,Golden Apple,Consumable,Legendary,Adds +20 Intelligence (Permanent); Adds +100 food resources,0,ADD_INTELLIGENCE_20,None -5,Healing Potion,Consumable,Uncommon,Adds +20 to Health; Adds +20 food resources,0,ADD_HEALTH_20;ADD_FOOD_20,None -6,Charisma Cookie,Consumable,Rare,Adds +2 Charisma (Permanent),0,ADD_CHARISMA_2,None -7,Strength Serum,Consumable,Uncommon,Adds +5 Strength (Permanent),0,ADD_STRENGTH_5,None -8,Sleeping Draught,Consumable,Common,Reduces Cooldown by 10 min,0,REDUCE_COOLDOWN_10,None -9,Mystery Meat,Consumable,Uncommon,Randomly ±2 to one stat (Permanent),0,ADD_RANDOMSTAT_2,None -10,Elixir of Vitality,Consumable,Legendary,Fully restores all stats and health,0,RESTORE_STATS,None -11,Leather Hat,Equipment,Common,Helmet: +10 Max Health,0,ADD_MAXHEALTH_5,Head -12,Wizard Hat,Equipment,Rare,Helmet: +15 Max Intelligence,0,ADD_MAXINTELLIGENCE_15,Head -13,Knight's Armor,Equipment,Rare,Chest: +15 Max Strength,0,ADD_MAXSTRENGTH_15,Body -14,Golden Boots,Equipment,Uncommon,Legging: +10 Max Charisma,0,ADD_MAXCHARISMA_10,Legs -15,Laser Pointer,Equipment,Common,Weapon: +5 Max Strength,0,ADD_MAXSTRENGTH_5,Weapon -16,Celestial Crown,Equipment,Legendary,Helmet: +20 max to all stats,0,ADD_MAXALLSTATS_20,Head -17,Dragon Scale Shield,Equipment,Legendary,Chest: +50 Max Health,0,ADD_MAXHEALTH_50,Weapon -18,Feathers,Material,Common,Crafting material (coming soon),0,Nothing,None -19,Phoenix Feather,Material,Legendary,Crafting material (coming soon),0,Nothing,None -21,Basic Kibble,Consumable,Common,Adds +20 food resources,0,ADD_FOOD_20,None \ No newline at end of file diff --git a/Program.cs b/Program.cs index 6f1e21c..8858c0f 100644 --- a/Program.cs +++ b/Program.cs @@ -96,7 +96,7 @@ namespace PetCompanion using (var scope = app.Services.CreateScope()) { var itemService = scope.ServiceProvider.GetRequiredService(); - itemService.LoadItemsFromCsv("GameItemsData.csv"); + itemService.LoadItemsFromCsv("game-data/GameItemsData.csv"); } // Use CORS policy