public AlchemyRecipe(string recipeName, int recipeID, GameItems craftingItem) { RecipeName = recipeName; RecipeID = recipeID; CraftingItem = craftingItem; RequiredToCraft = new Dictionary <GameItems, int>(); }
public static GameItems CreateGameItem(int itemID) { GameItems standardItem = standardGameItems.FirstOrDefault(item => item.ID == itemID); if (standardItem != null) { return(standardItem.Clone()); } return(null); }
internal void AddQuest(string name, int id, string description, string startMessage, string inProgressMessage, string completeMessage, Items.GameItems requiredItems, int requiredCount, int rewardEXP, int rewardGold) { Quest quest = new Quest { Name = name, ID = id, Description = description, StartMessage = startMessage, InProgressMessage = inProgressMessage, CompleteMessage = completeMessage, RequiredItems = requiredItems, RequiredCount = requiredCount, RewardEXP = rewardEXP, RewardGold = rewardGold, QuestStatus = Quest.Status.Available, }; allQuests.Add(quest); }