Modular weapons now have programmatically generated names.

This commit is contained in:
Sam 2021-07-31 18:37:45 -05:00
parent 4e89bc7485
commit 405b9b2448
139 changed files with 273 additions and 20 deletions

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Take with plenty of water",
kind: Ingredient(
kind: "PotionExp",
// Descriptor not needed
descriptor: "",
),
quality: High,
tags: [Potion],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "It doesn't seem to be doing anything...",
kind: Ingredient(
kind: "Potion",
// Descriptor not needed
descriptor: "",
),
quality: High,
tags: [Potion],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A bone sturdy enough to craft with.",
kind: Ingredient(
kind: "Bone",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Incredibly sharp claw from a predatory animal.",
kind: Ingredient(
kind: "Claw",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A flicking ember left by a fiery creature.",
kind: Ingredient(
kind: "Ember",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Feather from a bird.",
kind: Ingredient(
kind: "Feather",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Soft fur from an animal.",
kind: Ingredient(
kind: "Fur",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Casts a petrifying gaze.",
kind: Ingredient(
kind: "GrimEyeball",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Looted from a frosty creature.",
kind: Ingredient(
kind: "IcyShard",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A huge sharp horn from an animal.",
kind: Ingredient(
kind: "LargeHorn",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "I think it just moved.",
kind: Ingredient(
kind: "LivelyVine",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Said to have magical properties.",
kind: Ingredient(
kind: "PhoenixFeather",
// Descriptor not needed
descriptor: "",
),
quality: Legendary,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Large colorful feather from a raptor.",
kind: Ingredient(
kind: "RaptorFeather",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Incredibly sharp tooth from a predatory animal.",
kind: Ingredient(
kind: "SharpFang",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A venomous sac from a poisonous creature.",
kind: Ingredient(
kind: "VenomSac",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A measure of viscous ooze from a slimy creature.",
kind: Ingredient(
kind: "ViscousOoze",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A simple bowl for preparing meals.",
kind: Ingredient(
kind: "Bowl",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Grows in warm and dry places.",
kind: Ingredient(
kind: "Cactus",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Easy to work with and multi-functional.",
kind: Ingredient(
kind: "Cotton",
descriptor: "Cotton",
),
quality: Low,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A fabric imbued with special properties.",
kind: Ingredient(
kind: "Lifecloth",
descriptor: "Lifecloth",
),
quality: High,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A textile made from flax fibers.",
kind: Ingredient(
kind: "Linen",
descriptor: "Linen",
),
quality: Low,
tags: [Textile],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A flax fiber textile, dyed to stand out.",
kind: Ingredient(
kind: "LinenRed",
// Descriptor not needed
descriptor: "",
),
quality: Low,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A light yet very sturdy textile.",
kind: Ingredient(
kind: "Moonweave",
descriptor: "Moonwoven",
),
quality: Epic,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A fine and strong fibre produced by spiders.",
kind: Ingredient(
kind: "Silk",
descriptor: "Silken",
),
quality: Moderate,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A supernaturally strong textile.",
kind: Ingredient(
kind: "Sunsilk",
descriptor: "Sunsilken",
),
quality: Legendary,
tags: [Textile],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Soft wool from an animal.",
kind: Ingredient(
kind: "Wool",
descriptor: "Woolen",
),
quality: Common,
tags: [Textile],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Plucked from a common cotton plant.",
kind: Ingredient(
kind: "CottonBoll",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Can be filled with fluids.",
kind: Ingredient(
kind: "EmptyVial",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A pelt from an animal. Becomes leather.",
kind: Ingredient(
kind: "AnimalHide",
// Descriptor not needed
descriptor: "",
),
quality: Low,
tags: [

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Tough, hard carapace.",
kind: Ingredient(
kind: "Carapace",
descriptor: "Carapace",
),
quality: High,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Tough scale from a legendary beast.",
kind: Ingredient(
kind: "DragonScale",
descriptor: "Dragon Scaled",
),
quality: Legendary,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Looted from cave trolls.",
kind: Ingredient(
kind: "TrollLeather",
// Descriptor not needed
descriptor: "",
),
quality: High,
tags: [BaseMaterial],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Durable plate from an armored animal.",
kind: Ingredient(
kind: "Plate",
descriptor: "Plate",
),
quality: Epic,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A durable pelt, favored by leatherworkers.",
kind: Ingredient(
kind: "RuggedHide",
// Descriptor not needed
descriptor: "",
),
quality: Epic,
tags: [

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Shiny scale from an animal.",
kind: Ingredient(
kind: "Scale",
descriptor: "Scale",
),
quality: Moderate,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A pelt from something fierce. Becomes leather.",
kind: Ingredient(
kind: "ToughHide",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [

View File

@ -3,6 +3,8 @@ ItemDef(
description: "From a beehive.",
kind: Ingredient(
kind: "Honey",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Simple and versatile.",
kind: Ingredient(
kind: "LeatherStrips",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [BaseMaterial],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Light but layered, perfect for protection.",
kind: Ingredient(
kind: "RigidLeather",
// Descriptor not needed
descriptor: "",
),
quality: Epic,
tags: [BaseMaterial, Leather],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Light and flexible.",
kind: Ingredient(
kind: "SimpleLeather",
// Descriptor not needed
descriptor: "",
),
quality: Low,
tags: [BaseMaterial, Leather],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Strong and durable.",
kind: Ingredient(
kind: "ThickLeather",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [BaseMaterial, Leather],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Looted from an evil being.\n\nWith some additional work it can surely be\nbrought back to its former glory...",
kind: Ingredient(
kind: "FlayerBagDamaged",
// Descriptor not needed
descriptor: "",
),
quality: Epic,
tags: [],

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "Axe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Battleaxe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: Some(Two),
weapon_name: "Greataxe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 2.0,
),
hand_restriction: None,
weapon_name: "Jagged Axe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: Some(Two),
weapon_name: "Great Mace",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Ornate Axe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(Two),
weapon_name: "Poleaxe",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: Some(Two),
weapon_name: "Greathammer",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: Some(Two),
weapon_name: "Great Mace",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "Hammer",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(Two),
weapon_name: "Maul",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Ornate Hammer",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 2.0,
),
hand_restriction: None,
weapon_name: "Spiked Mace",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Warhammer",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: Some(Two),
weapon_name: "Greatsword",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Katana",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "Longsword",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Ornate Sword",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.8,
),
hand_restriction: None,
weapon_name: "Sabre",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 2.0,
),
hand_restriction: None,
weapon_name: "Sawblade",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(Two),
weapon_name: "Zweihander",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.1,
),
hand_restriction: Some(Two),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -14,6 +14,8 @@ ItemDef(
energy_efficiency: 1.0,
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(One),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.1,
),
hand_restriction: Some(Two),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -14,6 +14,8 @@ ItemDef(
energy_efficiency: 1.0,
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(One),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -14,6 +14,8 @@ ItemDef(
energy_efficiency: 1.0,
buff_strength: 1.0,
),
hand_restriction: None,
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -1,5 +1,5 @@
ItemDef(
name: Direct("Two-handed sword hilt"),
name: Direct("One-handed sword hilt"),
description: "A sword hilt.",
kind: ModularComponent((
toolkind: Sword,
@ -15,6 +15,7 @@ ItemDef(
buff_strength: 0.9,
),
hand_restriction: Some(One),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -15,6 +15,7 @@ ItemDef(
buff_strength: 1.1,
),
hand_restriction: Some(Two),
weapon_name: "",
)),
quality: Common,
tags: [

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A measure of thick, sludgy oil.",
kind: Ingredient(
kind: "Oil",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A solid made up of a bunch of different minerals.",
kind: Ingredient(
kind: "Rock",
// Descriptor not needed
descriptor: "",
),
quality: Low,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Shells from a sea creature.",
kind: Ingredient(
kind: "Seashells",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A messy spider extract, but a tailor may have use for it.",
kind: Ingredient(
kind: "StickyThread",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Pebbles from the ground.",
kind: Ingredient(
kind: "Stones",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Found near trees.",
kind: Ingredient(
kind: "Twigs",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Crushes and grinds things into\na fine powder or paste.\nUsed to craft various items.",
kind: Ingredient(
kind: "MortarPestle",
// Descriptor not needed
descriptor: "",
),
quality: Moderate,
tags: [CraftingTool],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Used to craft various items.",
kind: Ingredient(
kind: "SewingSet",
// Descriptor not needed
descriptor: "",
),
quality: Moderate,
tags: [CraftingTool],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Matches the color of the sky.",
kind: Ingredient(
kind: "Flower",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "It glistens brilliantly, but only under moonlight.",
kind: Ingredient(
kind: "Moonbell",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Looks like a lollipop.",
kind: Ingredient(
kind: "Flower",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "A length of raw plant material.",
kind: Ingredient(
kind: "PlantFiber",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Warm to the touch, long after picking.",
kind: Ingredient(
kind: "Pyrebloom",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Can be used as a dying ingredient.",
kind: Ingredient(
kind: "FlowerRed",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Smells like summer.",
kind: Ingredient(
kind: "Flower",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Pure and precious.",
kind: Ingredient(
kind: "Flower",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Could be used to spin some simple cloth.",
kind: Ingredient(
kind: "WildFlax",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Glows like the sun.",
kind: Ingredient(
kind: "Flower",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Greener than an orc's snout.",
kind: Ingredient(
kind: "Grass",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Greener than an orc's snout.",
kind: Ingredient(
kind: "Grass",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,8 @@ ItemDef(
description: "Greener than an orc's snout.",
kind: Ingredient(
kind: "Grass",
// Descriptor not needed
descriptor: "",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A giant woody grass.",
kind: Ingredient(
kind: "Bamboo",
descriptor: "Bamboo",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Old logs that emanate magic.",
kind: Ingredient(
kind: "EldwoodLogs",
descriptor: "Eldwood",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Chilly wood that comes from cold biomes. Cold to the touch.",
kind: Ingredient(
kind: "FrostwoodLogs",
descriptor: "Frostwood",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Extra thick and sturdy logs.",
kind: Ingredient(
kind: "HardwoodLogs",
descriptor: "Hardwood",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A particularly sturdy wood.",
kind: Ingredient(
kind: "IronwoodLogs",
descriptor: "Ironwood",
),
quality: High,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "Regular, sturdy wooden logs.",
kind: Ingredient(
kind: "WoodLogs",
descriptor: "Wooden",
),
quality: Common,
tags: [],

View File

@ -3,6 +3,7 @@ ItemDef(
description: "A precious purple gem.",
kind: Ingredient(
kind: "Amethyst",
descriptor: "Amethyst",
),
quality: Common,
tags: [],

Some files were not shown because too many files have changed in this diff Show More