export const SYSTEM_ID = "fvtt-oath-hammer" export const ATTRIBUTES = { might: { id: "might", abbrev: "M", label: "OATHHAMMER.Attribute.Might" }, toughness: { id: "toughness", abbrev: "T", label: "OATHHAMMER.Attribute.Toughness" }, agility: { id: "agility", abbrev: "A", label: "OATHHAMMER.Attribute.Agility" }, willpower: { id: "willpower", abbrev: "WP", label: "OATHHAMMER.Attribute.Willpower" }, intelligence: { id: "intelligence", abbrev: "I", label: "OATHHAMMER.Attribute.Intelligence" }, fate: { id: "fate", abbrev: "F", label: "OATHHAMMER.Attribute.Fate" } } export const LINEAGE_CHOICES = { dwarf: { id: "dwarf", label: "OATHHAMMER.Lineage.Dwarf" }, human: { id: "human", label: "OATHHAMMER.Lineage.Human" }, elf: { id: "elf", label: "OATHHAMMER.Lineage.Elf" }, halfelf: { id: "halfelf", label: "OATHHAMMER.Lineage.HalfElf" }, halfling: { id: "halfling", label: "OATHHAMMER.Lineage.Halfling" } } export const CLASS_CHOICES = { fighter: { id: "fighter", label: "OATHHAMMER.Class.Fighter" }, ranger: { id: "ranger", label: "OATHHAMMER.Class.Ranger" }, wizard: { id: "wizard", label: "OATHHAMMER.Class.Wizard" }, cleric: { id: "cleric", label: "OATHHAMMER.Class.Cleric" }, rogue: { id: "rogue", label: "OATHHAMMER.Class.Rogue" }, paladin: { id: "paladin", label: "OATHHAMMER.Class.Paladin" } } export const OATH_TYPES = { "oath-of-justice": { id: "oath-of-justice", label: "OATHHAMMER.Oath.Justice" }, "oath-of-courage": { id: "oath-of-courage", label: "OATHHAMMER.Oath.Courage" }, "oath-of-honor": { id: "oath-of-honor", label: "OATHHAMMER.Oath.Honor" }, "oath-of-mercy": { id: "oath-of-mercy", label: "OATHHAMMER.Oath.Mercy" }, "oath-of-truth": { id: "oath-of-truth", label: "OATHHAMMER.Oath.Truth" }, "oath-of-valor": { id: "oath-of-valor", label: "OATHHAMMER.Oath.Valor" }, "oath-of-protection": { id: "oath-of-protection", label: "OATHHAMMER.Oath.Protection" }, "oath-of-vengeance": { id: "oath-of-vengeance", label: "OATHHAMMER.Oath.Vengeance" }, "oath-of-sacrifice": { id: "oath-of-sacrifice", label: "OATHHAMMER.Oath.Sacrifice" }, "oath-of-faith": { id: "oath-of-faith", label: "OATHHAMMER.Oath.Faith" }, "oath-of-service": { id: "oath-of-service", label: "OATHHAMMER.Oath.Service" }, "oath-of-brotherhood": { id: "oath-of-brotherhood", label: "OATHHAMMER.Oath.Brotherhood" } } export const SORCEROUS_TRADITIONS = { elemental: { id: "elemental", label: "OATHHAMMER.Tradition.Elemental" }, illusionist: { id: "illusionist", label: "OATHHAMMER.Tradition.Illusionist" }, imperial: { id: "imperial", label: "OATHHAMMER.Tradition.Imperial" }, infernal: { id: "infernal", label: "OATHHAMMER.Tradition.Infernal" }, runic: { id: "runic", label: "OATHHAMMER.Tradition.Runic" }, stygian: { id: "stygian", label: "OATHHAMMER.Tradition.Stygian" } } export const WEAPON_TYPE_CHOICES = { melee: "OATHHAMMER.WeaponType.Melee", ranged: "OATHHAMMER.WeaponType.Ranged" } export const DAMAGE_TYPE_CHOICES = { slashing: "OATHHAMMER.DamageType.Slashing", piercing: "OATHHAMMER.DamageType.Piercing", bludgeoning: "OATHHAMMER.DamageType.Bludgeoning", fire: "OATHHAMMER.DamageType.Fire", cold: "OATHHAMMER.DamageType.Cold", lightning: "OATHHAMMER.DamageType.Lightning", acid: "OATHHAMMER.DamageType.Acid", poison: "OATHHAMMER.DamageType.Poison", necrotic: "OATHHAMMER.DamageType.Necrotic", radiant: "OATHHAMMER.DamageType.Radiant" } export const ATTRIBUTE_BONUS_CHOICES = { might: "OATHHAMMER.Attribute.Might", agility: "OATHHAMMER.Attribute.Agility", none: "OATHHAMMER.Label.None" } export const RANGE_CHOICES = { short: "OATHHAMMER.Range.Short", medium: "OATHHAMMER.Range.Medium", long: "OATHHAMMER.Range.Long" } export const HANDS_CHOICES = { "one-handed": "OATHHAMMER.Hands.OneHanded", "two-handed": "OATHHAMMER.Hands.TwoHanded" } export const CURRENCY_CHOICES = { gp: "OATHHAMMER.Currency.GP", sp: "OATHHAMMER.Currency.SP", cp: "OATHHAMMER.Currency.CP" } export const ARMOR_TYPE_CHOICES = { light: "OATHHAMMER.ArmorType.Light", medium: "OATHHAMMER.ArmorType.Medium", heavy: "OATHHAMMER.ArmorType.Heavy" } export const AMMO_TYPE_CHOICES = { arrow: "OATHHAMMER.AmmoType.Arrow", bolt: "OATHHAMMER.AmmoType.Bolt", stone: "OATHHAMMER.AmmoType.Stone", javelin: "OATHHAMMER.AmmoType.Javelin", "throwing-knife": "OATHHAMMER.AmmoType.ThrowingKnife" } export const EQUIPMENT_TYPE_CHOICES = { potion: "OATHHAMMER.EquipmentType.Potion", container: "OATHHAMMER.EquipmentType.Container", tool: "OATHHAMMER.EquipmentType.Tool", consumable: "OATHHAMMER.EquipmentType.Consumable", misc: "OATHHAMMER.EquipmentType.Misc", "healing-supply": "OATHHAMMER.EquipmentType.HealingSupply", food: "OATHHAMMER.EquipmentType.Food", mount: "OATHHAMMER.EquipmentType.Mount", vehicle: "OATHHAMMER.EquipmentType.Vehicle", "war-machine": "OATHHAMMER.EquipmentType.WarMachine" } export const MAGIC_ITEM_TYPE_CHOICES = { weapon: "OATHHAMMER.MagicItemType.Weapon", armor: "OATHHAMMER.MagicItemType.Armor", wondrous: "OATHHAMMER.MagicItemType.Wondrous", potion: "OATHHAMMER.MagicItemType.Potion", ring: "OATHHAMMER.MagicItemType.Ring", staff: "OATHHAMMER.MagicItemType.Staff", wand: "OATHHAMMER.MagicItemType.Wand", scroll: "OATHHAMMER.MagicItemType.Scroll", rod: "OATHHAMMER.MagicItemType.Rod" } export const RARITY_CHOICES = { common: "OATHHAMMER.Rarity.Common", uncommon: "OATHHAMMER.Rarity.Uncommon", rare: "OATHHAMMER.Rarity.Rare", "very-rare": "OATHHAMMER.Rarity.VeryRare", legendary: "OATHHAMMER.Rarity.Legendary" } export const ABILITY_TYPE_CHOICES = { "class-ability": "OATHHAMMER.AbilityType.ClassAbility", "lineage-trait": "OATHHAMMER.AbilityType.LineageTrait", feat: "OATHHAMMER.AbilityType.Feat" } export const CONDITION_TYPE_CHOICES = { blinded: "OATHHAMMER.Condition.Blinded", deafened: "OATHHAMMER.Condition.Deafened", prone: "OATHHAMMER.Condition.Prone", stunned: "OATHHAMMER.Condition.Stunned", frightened: "OATHHAMMER.Condition.Frightened", poisoned: "OATHHAMMER.Condition.Poisoned", restrained: "OATHHAMMER.Condition.Restrained", wounded: "OATHHAMMER.Condition.Wounded", other: "OATHHAMMER.Condition.Other" } export const ATTRIBUTE_RANK_CHOICES = { 1: "1", 2: "2", 3: "3", 4: "4" } export const ASCII = ` ················································· : ___ _ _ _ _ : : / _ \\ __ _| |_| |__ | | | | __ _ _ __ ___ : : | | | / _\` | __| '_ \\ | |_| |/ _\` | '_ \` _ \\: : | |_| | (_| | |_| | | | | _ | (_| | | | | | | : \\___/ \\__,_|\\__|_| |_| |_| |_|\\__,_|_| |_| |_| : : ················································· ` export const SYSTEM = { id: SYSTEM_ID, ATTRIBUTES, LINEAGE_CHOICES, CLASS_CHOICES, OATH_TYPES, SORCEROUS_TRADITIONS, WEAPON_TYPE_CHOICES, DAMAGE_TYPE_CHOICES, ATTRIBUTE_BONUS_CHOICES, RANGE_CHOICES, HANDS_CHOICES, CURRENCY_CHOICES, ARMOR_TYPE_CHOICES, AMMO_TYPE_CHOICES, EQUIPMENT_TYPE_CHOICES, MAGIC_ITEM_TYPE_CHOICES, RARITY_CHOICES, ABILITY_TYPE_CHOICES, CONDITION_TYPE_CHOICES, ATTRIBUTE_RANK_CHOICES, ASCII }