mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed descriptions from modular weapons and components.
This commit is contained in:
parent
c5b79021f8
commit
c6f4b51215
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Axe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Battleaxe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Greataxe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Jagged Axe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Great Mace Head"),
|
||||
description: "A hamemr head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Ornate Axe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Poleaxe Head"),
|
||||
description: "An axe head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Greathammer Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Great Mace Head"),
|
||||
description: "A hamemr head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Hammer Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Maul Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Ornate Hammer Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Spiked Mace Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Warhammer Head"),
|
||||
description: "A hammer head made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Greatsword Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Katana Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Longsword Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Ornate Sword Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Sabre Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Sawblade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Zweihander Blade"),
|
||||
description: "A sword blade made of metal.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Damage,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Long Axe Haft"),
|
||||
description: "A axe haft.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Medium Axe Haft"),
|
||||
description: "A axe half.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Short Axe Haft"),
|
||||
description: "A axe haft.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Long Hammer Haft"),
|
||||
description: "A hammer haft.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Medium Hammer Haft"),
|
||||
description: "A hammer half.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Short Hammer Haft"),
|
||||
description: "A hammer haft.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Hand-and-a-Half Sword Hilt"),
|
||||
description: "A sword hilt.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("One-Handed Sword Hilt"),
|
||||
description: "A sword hilt.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Held,
|
||||
|
@ -1,6 +1,6 @@
|
||||
ItemDef(
|
||||
name: Component("Two-Handed Sword Hilt"),
|
||||
description: "A sword hilt.",
|
||||
description: "",
|
||||
kind: ModularComponent((
|
||||
toolkind: Sword,
|
||||
modkind: Held,
|
||||
|
@ -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)],
|
||||
|
Loading…
Reference in New Issue
Block a user