Removed descriptions from modular weapons and components.

This commit is contained in:
Sam 2021-07-31 20:35:50 -05:00
parent c5b79021f8
commit c6f4b51215
31 changed files with 32 additions and 38 deletions

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Axe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Battleaxe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Greataxe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Jagged Axe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Great Mace Head"),
description: "A hamemr head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Ornate Axe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Poleaxe Head"),
description: "An axe head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Greathammer Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Great Mace Head"),
description: "A hamemr head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Hammer Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Maul Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Ornate Hammer Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Spiked Mace Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Warhammer Head"),
description: "A hammer head made of metal.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Greatsword Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Katana Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Longsword Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Ornate Sword Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Sabre Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Sawblade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Zweihander Blade"),
description: "A sword blade made of metal.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Long Axe Haft"),
description: "A axe haft.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Medium Axe Haft"),
description: "A axe half.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Short Axe Haft"),
description: "A axe haft.",
description: "",
kind: ModularComponent((
toolkind: Axe,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Long Hammer Haft"),
description: "A hammer haft.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Medium Hammer Haft"),
description: "A hammer half.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Short Hammer Haft"),
description: "A hammer haft.",
description: "",
kind: ModularComponent((
toolkind: Hammer,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Hand-and-a-Half Sword Hilt"),
description: "A sword hilt.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("One-Handed Sword Hilt"),
description: "A sword hilt.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Held,

View File

@ -1,6 +1,6 @@
ItemDef(
name: Component("Two-Handed Sword Hilt"),
description: "A sword hilt.",
description: "",
kind: ModularComponent((
toolkind: Sword,
modkind: Held,

View File

@ -115,7 +115,6 @@ const HANDS: [Hands; 2] = [Hands::One, Hands::Two];
fn make_weapon_def(toolkind: ToolKind) -> (String, RawItemDef) {
let identifier = format!("{}.{}", WEAPON_PREFIX, toolkind.identifier_name());
let name = ItemName::Modular;
let description = format!("A {} made of components", toolkind.identifier_name());
let tool = tool::Tool {
kind: toolkind,
hands: tool::HandsKind::Modular,
@ -125,7 +124,7 @@ fn make_weapon_def(toolkind: ToolKind) -> (String, RawItemDef) {
let quality = Quality::Common;
let item = RawItemDef {
name,
description,
description: "".to_string(),
kind,
quality,
tags: Vec::new(),
@ -172,11 +171,6 @@ fn make_tagexample_def(
};
// TODO: i18n
let name = ItemName::Direct(format!("Any {}", tag.name()));
let description = format!(
"{}s used to make {}s",
tag.name(),
toolkind.identifier_name()
);
let kind = ItemKind::TagExamples {
// TODO: Iterate over components
item_ids: Vec::new(),
@ -185,7 +179,7 @@ fn make_tagexample_def(
let item = RawItemDef {
name,
description,
description: "".to_string(),
kind,
quality,
tags: vec![ItemTag::ModularComponent(tag)],