German locale update, fix CR displays

This commit is contained in:
Monty 2021-04-17 00:55:36 +02:00
parent e26646caba
commit 47b4d7a14a
13 changed files with 133 additions and 51 deletions

View File

@ -1,6 +1,6 @@
ItemDef(
name: "Cultist Belt",
description: "Ceremonial attire used by members.",
description: "Ceremonial attire used by members.\n\nWearing cultist armor might frighten and anger villagers.",
kind: Armor((
kind: Belt("Cultist"),
stats: (

View File

@ -1,6 +1,6 @@
ItemDef(
name: "Cultist Chest",
description: "Ceremonial attire used by members.",
description: "Ceremonial attire used by members.\n\nWearing cultist armor might frighten and anger villagers.",
kind: Armor((
kind: Chest("Cultist"),
stats: (

View File

@ -1,6 +1,6 @@
ItemDef(
name: "Cultist Gloves",
description: "Ceremonial attire used by members.",
description: "Ceremonial attire used by members.\n\nWearing cultist armor might frighten and anger villagers.",
kind: Armor((
kind: Hand("Cultist"),
stats: (

View File

@ -1,6 +1,6 @@
ItemDef(
name: "Cultist Skirt",
description: "Ceremonial attire used by members.",
description: "Ceremonial attire used by members.\n\nWearing cultist armor might frighten and anger villagers.",
kind: Armor((
kind: Pants("Cultist"),
stats: (

View File

@ -1,6 +1,6 @@
ItemDef(
name: "Cultist Mantle",
description: "Ceremonial attire used by members.",
description: "Ceremonial attire used by members.\n\nWearing cultist armor might frighten and anger villagers.",
kind: Armor((
kind: Shoulder("Cultist"),
stats: (

View File

@ -139,6 +139,7 @@
(Item("common.items.food.mushroom"), 8),
(Item("common.items.food.coconut"), 1),
(Item("common.items.food.apple"), 4),
(Item("common.items.crafting_ing.bowl"), 1),
(Item("common.items.crafting_tools.mortar_pestle"), 0),
],
craft_sprite: Some(CookingPot),

View File

@ -0,0 +1,31 @@
/// WARNING: Localization files shall be saved in UTF-8 format without BOM
/// Localization for "german" Germany
(
string_map: {
"char_selection.loading_characters": "Lade Charaktere...",
"char_selection.delete_permanently": "Den Charakter unwiderruflich löschen?",
"char_selection.deleting_character": "Lösche Charakter...",
"char_selection.change_server": "Wechsle Server",
"char_selection.enter_world": "Welt betreten",
"char_selection.logout": "Ausloggen",
"char_selection.create_new_character": "Neuen Charakter erstellen",
"char_selection.creating_character": "Erstelle Charakter...",
"char_selection.character_creation": "Charakter Erstellung",
"char_selection.human_default": "Human Default",
"char_selection.level_fmt": "Level {level_nb}",
"char_selection.uncanny_valley": "Wildnis",
"char_selection.plains_of_uncertainty": "Steppen der Ungewissheit",
"char_selection.beard": "Bart",
"char_selection.hair_style": "Frisur",
"char_selection.hair_color": "Haarfarbe",
"char_selection.eye_color": "Augenfarbe",
"char_selection.skin": "Hautfarbe",
"char_selection.eyeshape": "Details der Augenpartie",
"char_selection.accessories": "Accessoires",
"char_selection.create_info_name": "Dein Charakter benötigt einen Namen!",
},
vector_map: {
}
)

View File

@ -0,0 +1,40 @@
/// WARNING: Localization files shall be saved in UTF-8 format without BOM
/// Localization for german (germany)
(
string_map: {
// Buffs
"buff.remove": "Klicke zum Entfernen",
"buff.title.missing": "Fehlender Titel",
"buff.desc.missing": "Fehlende Beschreibung",
"buff.title.heal": "Heilung",
"buff.desc.heal": "Heilung über Zeit.",
"buff.title.potion": "Trank",
"buff.desc.potion": "Trinke...",
"buff.title.saturation": "Sättigung",
"buff.desc.saturation": "Erhalte mit der Zeit Lebenspunkte durch Konsumgüter.",
"buff.title.campfire_heal": "Heilung durch Lagerfeuer",
"buff.desc.campfire_heal": "Das sitzen am Lagerfeuer heilt 1% der Lebensenergie pro Sekunde.",
"buff.title.invulnerability": "Unverwundbarkeit",
"buff.desc.invulnerability": "Du bist immung gegen jeglichen Schaden.",
"buff.title.protectingward": "Protecting Ward",
"buff.desc.protectingward": "Du bist einigermaßen vor Angriffen geschützt.",
// Debuffs
"buff.title.bleed": "Bluten",
"buff.desc.bleed": "Fügt regelmäßigen Schaden zu.",
"buff.title.cursed": "Verflucht",
"buff.desc.cursed": "Du bist verflucht.",
// Buffs stats
"buff.stat.health": "Stellt {str_total} Leben wiederher",
"buff.stat.increase_max_stamina": "Erhöt die maximale Ausdauer um {strength}",
"buff.stat.increase_max_health": "Erhöht die maximale Lebensenergie um {strength}",
"buff.stat.invulnerability": "Gewährt Unverwundbarkeit",
// Text
"buff.text.over_seconds": "über {dur_secs} Sekunden",
"buff.text.for_seconds": "für {dur_secs} Sekunden",
},
vector_map: {
}
)

View File

@ -379,91 +379,91 @@
// 1h Swords
Tool("common.items.weapons.sword_1h.bloodsteel-0"): VoxTrans(
"voxel.weapon.sword_1h.bloodsteel-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.bloodsteel-1"): VoxTrans(
"voxel.weapon.sword_1h.bloodsteel-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.bloodsteel-2"): VoxTrans(
"voxel.weapon.sword_1h.bloodsteel-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.bronze-0"): VoxTrans(
"voxel.weapon.sword_1h.bronze-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.bronze-1"): VoxTrans(
"voxel.weapon.sword_1h.bronze-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.bronze-2"): VoxTrans(
"voxel.weapon.sword_1h.bronze-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.cobalt-0"): VoxTrans(
"voxel.weapon.sword_1h.cobalt-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.cobalt-1"): VoxTrans(
"voxel.weapon.sword_1h.cobalt-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.cobalt-2"): VoxTrans(
"voxel.weapon.sword_1h.cobalt-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.cobalt-3"): VoxTrans(
"voxel.weapon.sword_1h.cobalt-3",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.iron-0"): VoxTrans(
"voxel.weapon.sword_1h.iron-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.iron-1"): VoxTrans(
"voxel.weapon.sword_1h.iron-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.iron-2"): VoxTrans(
"voxel.weapon.sword_1h.iron-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.iron-3"): VoxTrans(
"voxel.weapon.sword_1h.iron-3",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.iron-4"): VoxTrans(
"voxel.weapon.sword_1h.iron-4",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.obsidian-0"): VoxTrans(
"voxel.weapon.sword_1h.obsidian-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.orichalcum-0"): VoxTrans(
"voxel.weapon.sword_1h.orichalcum-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.orichalcum-1"): VoxTrans(
"voxel.weapon.sword_1h.orichalcum-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.steel-0"): VoxTrans(
"voxel.weapon.sword_1h.steel-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.steel-1"): VoxTrans(
"voxel.weapon.sword_1h.steel-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.steel-2"): VoxTrans(
"voxel.weapon.sword_1h.steel-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
Tool("common.items.weapons.sword_1h.steel-3"): VoxTrans(
"voxel.weapon.sword_1h.steel-3",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.0,
),
// Axes
Tool("common.items.weapons.axe.starter_axe"): VoxTrans(
@ -585,75 +585,75 @@
// 1h Axes
Tool("common.items.weapons.axe_1h.bloodsteel-0"): VoxTrans(
"voxel.weapon.axe_1h.bloodsteel-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.bloodsteel-1"): VoxTrans(
"voxel.weapon.axe_1h.bloodsteel-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.bronze-0"): VoxTrans(
"voxel.weapon.axe_1h.bronze-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.bronze-1"): VoxTrans(
"voxel.weapon.axe_1h.bronze-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.cobalt-0"): VoxTrans(
"voxel.weapon.axe_1h.cobalt-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.cobalt-1"): VoxTrans(
"voxel.weapon.axe_1h.cobalt-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.iron-0"): VoxTrans(
"voxel.weapon.axe_1h.iron-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.iron-1"): VoxTrans(
"voxel.weapon.axe_1h.iron-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.iron-2"): VoxTrans(
"voxel.weapon.axe_1h.iron-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.iron-3"): VoxTrans(
"voxel.weapon.axe_1h.iron-3",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.orichalcum-0"): VoxTrans(
"voxel.weapon.axe_1h.orichalcum-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.steel-0"): VoxTrans(
"voxel.weapon.axe_1h.steel-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.steel-1"): VoxTrans(
"voxel.weapon.axe_1h.steel-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.steel-2"): VoxTrans(
"voxel.weapon.axe_1h.steel-2",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.stone-0"): VoxTrans(
"voxel.weapon.axe_1h.stone-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.stone-1"): VoxTrans(
"voxel.weapon.axe_1h.stone-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.wood-0"): VoxTrans(
"voxel.weapon.axe_1h.wood-0",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
Tool("common.items.weapons.axe_1h.wood-1"): VoxTrans(
"voxel.weapon.axe_1h.wood-1",
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 1.2,
(0.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
),
// Hammers
Tool("common.items.weapons.hammer.hammer_1"): VoxTrans(

Binary file not shown.

Binary file not shown.

View File

@ -293,11 +293,11 @@
),
"CultistSlayer": (
left: (
vox_spec: ("armor.cultist_slayer.shoulder_l", (-6.0, -5.0 , -2.0)),
vox_spec: ("armor.cultist_slayer.shoulder_l", (-7.0, -5.0 , -2.0)),
color: None
),
right: (
vox_spec: ("armor.cultist_slayer.shoulder_l", (-3.0, -5.0, -2.0)),
vox_spec: ("armor.cultist_slayer.shoulder_l", (-2.0, -5.0, -2.0)),
color: None
)
),

View File

@ -444,7 +444,17 @@ impl<'a> Widget for Overhead<'a> {
.color(Some(indicator_col))
.parent(id)
.set(state.ids.level, ui);
}
// Keep this for testing
/*Text::new(&(combat_rating*10.0).floor().to_string())
.x_y(-37.0 * BARSIZE, MANA_BAR_Y + 6.0)
.font_size(10)
.font_id(self.fonts.cyri.conrod_id)
.color(indicator_col)
.parent(id)
.set(state.ids.level, ui);*/
}
_ => {},
}