Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- public class ItemDatabase : MonoBehaviour
- {
- // ItemID
- // 0-99: Armor
- // 100-199: Weapons
- // 200-299: Consumables
- // 300-399: Crafting Materials
- // 400-499: Quest Items
- public List<Item> items = new List<Item>();
- void Awake()
- {
- items.Add(new Armor(0, "Leather Shirt", "A shirt made from leather", Item.ItemType.Armor, Item.Rarity.Uncommon, 50, "Flavor", 12, 25, 0));
- items.Add(new Weapon(1, "Stone Dagger of Leech", "A dagger with a sharp stone as a blade", Item.ItemType.Weapon, Item.Rarity.Exclusive, 100, "Stabbing foes with this dagger " +
- "feels oddly satisfying", 4, 6, 0, 25, 10, 5, 7, 0, 0, 1.5f));
- items.Add(new Consumable(2, "Minor Potion of Health", "A potion that replenishes health", Item.ItemType.Consumable, Item.Rarity.Uncommon, 20, "When young alchemists start venturing " +
- "into the field, the health potions are usually the first brew to attempt to master", 10, 0));
- items.Add(new Consumable(3, "Minor Potion of Mana", "A potion that replenishes Mana", Item.ItemType.Consumable, Item.Rarity.Uncommon, 20, "Mana potions are, like health potions, easy " +
- "to attempt, but hard to master", 0, 10));
- items.Add(new CraftingMaterial(4, "Log of Wood", "A heavy wooden log", Item.ItemType.CraftingMaterial, Item.Rarity.Common, 20, "It's heavy!"));
- items.Add(new CraftingMaterial(5, "Sharp Rock", "A rock with a sharp edge", Item.ItemType.CraftingMaterial, Item.Rarity.Common, 2, "Don't cut yourself!"));
- items.Add(new CraftingMaterial(6, "Small Rock", "A small rock", Item.ItemType.CraftingMaterial, Item.Rarity.Common, 1, "Holds potential!"));
- items.Add(new Jewelry(7, "Amulet of Kings", "Former property of King Aldorin", Item.ItemType.Jewelry, Item.Rarity.Exclusive, 1500, "King Aldorin was a kind, but just king. " +
- "He was liked by his people, and his power lingers in this amulet", 75, 20, 30, 30, 20));
- items.Add(new Jewelry(8, "Jeroma's Necklace of Adventure", "Wear this around your neck", Item.ItemType.Jewelry,
- Item.Rarity.Rare, 100, "Jeroma was a very successful sailor. He sailed the seas many a time, and often returned with interesting goods", 10, 5, 20, 0, 10));
- items.Add(new CraftingMaterial(9, "Wooden Stick", "A stick made of wood", Item.ItemType.CraftingMaterial, Item.Rarity.Common, 5, ""));
- items.Add(new CraftingMaterial(10, "Sharp Stick", "A sharp stick, with a pointy edge", Item.ItemType.CraftingMaterial, Item.Rarity.Common, 5, ""));
- items.Add(new Consumable(11, "Golden Banana", "Holy s***! A Golden Banana!", Item.ItemType.Consumable, Item.Rarity.Exclusive, 1000, "Well, this is not something you see everyday!",
- 100, 100));
- items.Add(new Armor(12, "Leather Hat", "A hat made from leather", Item.ItemType.Armor, Item.Rarity.Uncommon, 25, "A hat is a hat, even if it is made of leather... and smells",
- 4, 10, 0));
- items.Add(new CraftingMaterial(13, "Lockbox", "Holds a random item", Item.ItemType.CraftingMaterial, Item.Rarity.Rare, 100, ""));
- items.Add(new CraftingMaterial(14, "Open Lockbox", "Can hold items", Item.ItemType.CraftingMaterial, Item.Rarity.Rare, 20, ""));
- items.Add(new Armor(15, "Wooden Shield", "A shield made of wood", Item.ItemType.Armor, Item.Rarity.Uncommon, 23, "Shields are typical tools for warriors", 6, 25, 0));
- items.Add(new CraftingMaterial(16, "Gold Bar", "A chunk of gold", Item.ItemType.CraftingMaterial, Item.Rarity.Rare, 500, "GOLD!!!!!!"));
- items.Add(new SkillBook(17, "Skill Book: Fire Ball", "This book teaches you a skill", Item.ItemType.SkillBook, Item.Rarity.Rare, 20, "When scholars are unavailable, books can serve as valuable teachers", "Fire Ball", 35));
- items.Add(new SkillBook(18, "Skill Book: Build Campfire", "This book teaches you how to build a campfire", Item.ItemType.SkillBook, Item.Rarity.Uncommon, 20, "When scholars are unavailable, books can serve as valuable teachers", "Build Campfire", 10));
- items.Add(new SkillBook(19, "Skill Book: Lightning Strike", "This book teaches you a skill", Item.ItemType.SkillBook, Item.Rarity.Exclusive, 20, "When scholars are unavailable, books can serve as valuable teachers", "Lightning Strike", 100));
- items.Add(new StatBook(20, "Stat Book: Strength", "This book increases your Strength", Item.ItemType.StatBook, Item.Rarity.Rare, 30, "You should read more...", 0, 10));
- items.Add(new Consumable(21, "Clam Meat", "Meat extracted from a clam", Item.ItemType.Consumable, Item.Rarity.Uncommon, 20, "Seafood is good for you", 10, 0));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement