public static Craft CopperMace() { var CopperMace = new Craft() { Name = "Copper Mace", StartMessage = "You put all your copper ore into the furnace", FailureMessages = new List <CraftFailMessage>() { new CraftFailMessage() { Message = "You accidently drop the copper ore inside the furnace.", BreakMaterial = true }, new CraftFailMessage() { Message = "You miss the cast and pour molten hot metal on the floor.", } }, SuccessMessage = "You have forged a copper mace.", Description = "To forge a copper mace you need to be at a furnace", CraftCommand = CraftType.Forge, CraftAppearsInRoom = false, CraftingEmotes = new List <string>() { "The copper ore begins to melt down.", "You take out the melted metal and pour it into a cast.", "The casts begin to cool down.", "The metal in the casts go hard.", "You crack the cast open." }, Materials = new List <CraftMaterials>() { new CraftMaterials() { Name = "Copper Ore", Count = 2 } }, CreatesItem = MaceBasic.CopperMace(), MoveCost = 20 }; return(CopperMace); }
public static PlayerSetup.Player OddsNSodsShopKeeper() { #region NPC setup var Anika = new PlayerSetup.Player { NPCId = Guid.NewGuid(), Name = "Anika", NPCLongName = "Anika", KnownByName = true, Type = PlayerSetup.Player.PlayerTypes.Mob, Description = "The shop keeper", Strength = 15, Dexterity = 16, Constitution = 16, Intelligence = 12, Wisdom = 16, Charisma = 18, MaxHitPoints = 350, HitPoints = 350, Level = 20, Status = PlayerSetup.Player.PlayerStatus.Standing, Skills = new List <Skill>(), Inventory = new List <Item.Item>(), Trainer = false, Greet = true, Shop = true, itemsToSell = new List <Item.Item>(), sellerMessage = "Why of course, here is what I can sell you.", GreetMessage = "Hello there!", DialogueTree = new List <DialogTree>(), Dialogue = new List <Responses>(), Quest = new List <Quest>() }; var backpack = new Item.Item { name = "Leather Backpack", container = true, containerSize = 30, Weight = 1, count = 10, equipable = false, location = Item.Item.ItemLocation.Inventory, canOpen = true, Gold = 25 }; Anika.itemsToSell.Add(ShortSwordBasic.ShortIronSword()); Anika.itemsToSell.Add(DaggerBasic.IronDagger()); Anika.itemsToSell.Add(LongSwordBasic.LongIronSword()); Anika.itemsToSell.Add(StaffBasic.WoodenQuarterstaff()); Anika.itemsToSell.Add(AxeBasic.IronHatchet()); Anika.itemsToSell.Add(MaceBasic.IronMace()); Anika.itemsToSell.Add(PaddedBodyBasic.PaddedBreastPlate()); Anika.itemsToSell.Add(PaddedSleeves.PaddedSleeve()); Anika.itemsToSell.Add(PaddedHandsBasic.PaddedGloves()); Anika.itemsToSell.Add(PaddedLegsBasic.PaddedGreaves()); Anika.itemsToSell.Add(LeatherBootBasic.WornLeatherBoots()); Anika.itemsToSell.Add(Light.WoodenTorch()); Anika.itemsToSell.Add(drink.WaterSkin()); Anika.itemsToSell.Add(Food.Cheese()); Anika.itemsToSell.Add(backpack); #endregion return(Anika); }