public Location(int id, string Name, string Des, Item itemrequiredtoenter = null, Mission availablemission = null, Creature creaturepresent = null) { ID = id; name = Name; des = Des; ItemRequiredToEnter = itemrequiredtoenter; AvailableMission = availablemission; CreaturePresent = creaturepresent; }
private static void PopulateCreatures() { Creature skeever = new Creature(CREATURE_ID_SKEEVER, "Skeever", 5, 3, 10, 3, 3); skeever.LootTable.Add(new LootItem(ItemByID(ITEM_ID_SKEEVER_TAIL), 75, false)); skeever.LootTable.Add(new LootItem(ItemByID(ITEM_ID_PIECE_OF_FUR), 75, true)); Creature Deathhound = new Creature(CREATURE_ID_DEATH_HOUND, "Death Hound", 5, 3, 10, 3, 3); Deathhound.LootTable.Add(new LootItem(ItemByID(ITEM_ID_DEATH_HOUND_TOOTH), 75, false)); Deathhound.LootTable.Add(new LootItem(ItemByID(ITEM_ID_DEATH_HOUND_FUR), 75, true)); Creature dragon = new Creature(CREATURE_ID_DRAGON, "Dragon", 20, 5, 40, 10, 10); dragon.LootTable.Add(new LootItem(ItemByID(ITEM_ID_DRAGON_BLOOD), 75, true)); dragon.LootTable.Add(new LootItem(ItemByID(ITEM_ID_DRAGON_SCALE), 25, false)); Creatures.Add(skeever); Creatures.Add(Deathhound); Creatures.Add(dragon); }