mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed strength and regeneration potions
This commit is contained in:
parent
6ecbd5ee92
commit
bb2adfb2e5
@ -1,19 +0,0 @@
|
|||||||
ItemDef(
|
|
||||||
name: "Regeneration Potion",
|
|
||||||
description: "You must have lost an arm and a leg to need this.",
|
|
||||||
kind: Consumable(
|
|
||||||
kind: Drink,
|
|
||||||
effects: All([
|
|
||||||
Buff((
|
|
||||||
kind: Regeneration,
|
|
||||||
data: (
|
|
||||||
strength: 1.0,
|
|
||||||
duration: Some(60),
|
|
||||||
),
|
|
||||||
cat_ids: [Natural],
|
|
||||||
)),
|
|
||||||
])
|
|
||||||
),
|
|
||||||
quality: Common,
|
|
||||||
tags: [Potion],
|
|
||||||
)
|
|
@ -1,19 +0,0 @@
|
|||||||
ItemDef(
|
|
||||||
name: "Strength Potion",
|
|
||||||
description: "Makes you stronger.",
|
|
||||||
kind: Consumable(
|
|
||||||
kind: Drink,
|
|
||||||
effects: All([
|
|
||||||
Buff((
|
|
||||||
kind: Strength,
|
|
||||||
data: (
|
|
||||||
strength: 0.15,
|
|
||||||
duration: Some(45),
|
|
||||||
),
|
|
||||||
cat_ids: [Natural],
|
|
||||||
)),
|
|
||||||
])
|
|
||||||
),
|
|
||||||
quality: Moderate,
|
|
||||||
tags: [Potion],
|
|
||||||
)
|
|
@ -49,24 +49,6 @@
|
|||||||
],
|
],
|
||||||
craft_sprite: Some(Cauldron),
|
craft_sprite: Some(Cauldron),
|
||||||
),
|
),
|
||||||
"potion_regeneration": (
|
|
||||||
output: ("common.items.consumable.potion_regeneration", 1),
|
|
||||||
inputs: [
|
|
||||||
(Item("common.items.consumable.potion_minor"), 1, false),
|
|
||||||
(Item("common.items.crafting_ing.sentient_seed"), 1, false),
|
|
||||||
],
|
|
||||||
craft_sprite: Some(Cauldron),
|
|
||||||
),
|
|
||||||
"potion_strength": (
|
|
||||||
output: ("common.items.consumable.potion_strength", 1),
|
|
||||||
inputs: [
|
|
||||||
(Item("common.items.crafting_ing.empty_vial"), 1, false),
|
|
||||||
(Item("common.items.mineral.ore.velorite"), 1, false),
|
|
||||||
(Item("common.items.crafting_ing.animal_misc.grim_eyeball"), 1, false),
|
|
||||||
(Item("common.items.crafting_ing.animal_misc.viscous_ooze"), 1, false),
|
|
||||||
],
|
|
||||||
craft_sprite: Some(Cauldron),
|
|
||||||
),
|
|
||||||
"potion_s": (
|
"potion_s": (
|
||||||
output: ("common.items.consumable.potion_minor", 1),
|
output: ("common.items.consumable.potion_minor", 1),
|
||||||
inputs: [
|
inputs: [
|
||||||
|
@ -3207,14 +3207,6 @@
|
|||||||
"voxel.object.potion_swiftness",
|
"voxel.object.potion_swiftness",
|
||||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.5,
|
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.5,
|
||||||
),
|
),
|
||||||
Simple("common.items.consumable.potion_regeneration"): VoxTrans(
|
|
||||||
"voxel.object.potion_regeneration",
|
|
||||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.5,
|
|
||||||
),
|
|
||||||
Simple("common.items.consumable.potion_strength"): VoxTrans(
|
|
||||||
"voxel.object.potion_strength",
|
|
||||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
|
|
||||||
),
|
|
||||||
Simple("common.items.charms.burning_charm"): VoxTrans(
|
Simple("common.items.charms.burning_charm"): VoxTrans(
|
||||||
"voxel.object.burning_charm",
|
"voxel.object.burning_charm",
|
||||||
(0.0, 0.0, 0.0), (-80.0, 15.0, 15.0), 1.0,
|
(0.0, 0.0, 0.0), (-80.0, 15.0, 15.0), 1.0,
|
||||||
|
@ -811,8 +811,6 @@
|
|||||||
Simple("common.items.consumable.curious_potion"): "voxel.object.curious_potion",
|
Simple("common.items.consumable.curious_potion"): "voxel.object.curious_potion",
|
||||||
Simple("common.items.consumable.potion_burning"): "voxel.object.potion_burning",
|
Simple("common.items.consumable.potion_burning"): "voxel.object.potion_burning",
|
||||||
Simple("common.items.consumable.potion_swiftness"): "voxel.object.potion_swiftness",
|
Simple("common.items.consumable.potion_swiftness"): "voxel.object.potion_swiftness",
|
||||||
Simple("common.items.consumable.potion_regeneration"): "voxel.object.potion_regeneration",
|
|
||||||
Simple("common.items.consumable.potion_strength"): "voxel.object.potion_strength",
|
|
||||||
Simple("common.items.charms.burning_charm"): "voxel.object.burning_charm",
|
Simple("common.items.charms.burning_charm"): "voxel.object.burning_charm",
|
||||||
Simple("common.items.charms.frozen_charm"): "voxel.object.frozen_charm",
|
Simple("common.items.charms.frozen_charm"): "voxel.object.frozen_charm",
|
||||||
Simple("common.items.charms.lifesteal_charm"): "voxel.object.lifesteal_charm",
|
Simple("common.items.charms.lifesteal_charm"): "voxel.object.lifesteal_charm",
|
||||||
|
BIN
assets/voxygen/voxel/object/potion_regeneration.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/object/potion_regeneration.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/object/potion_strength.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/object/potion_strength.vox
(Stored with Git LFS)
Binary file not shown.
@ -157,7 +157,6 @@ lazy_static! {
|
|||||||
BuffKind::Potion => "potion",
|
BuffKind::Potion => "potion",
|
||||||
BuffKind::Swiftness => "swiftness",
|
BuffKind::Swiftness => "swiftness",
|
||||||
BuffKind::CampfireHeal => "campfire_heal",
|
BuffKind::CampfireHeal => "campfire_heal",
|
||||||
BuffKind::Strength => "strength",
|
|
||||||
BuffKind::EnergyRegen => "energy_regen",
|
BuffKind::EnergyRegen => "energy_regen",
|
||||||
BuffKind::IncreaseMaxEnergy => "increase_max_energy",
|
BuffKind::IncreaseMaxEnergy => "increase_max_energy",
|
||||||
BuffKind::IncreaseMaxHealth => "increase_max_health",
|
BuffKind::IncreaseMaxHealth => "increase_max_health",
|
||||||
|
@ -41,10 +41,6 @@ pub enum BuffKind {
|
|||||||
/// to get critical hits. Movement speed and vulnerability to damage
|
/// to get critical hits. Movement speed and vulnerability to damage
|
||||||
/// increase linearly with strength, 1.0 is an 100% increase for both.
|
/// increase linearly with strength, 1.0 is an 100% increase for both.
|
||||||
Swiftness,
|
Swiftness,
|
||||||
/// Increases attack damage.
|
|
||||||
/// Attack damage scales linearly with strength
|
|
||||||
/// 1.0 is an 100% increase of attack damage
|
|
||||||
Strength,
|
|
||||||
/// Applied when sitting at a campfire.
|
/// Applied when sitting at a campfire.
|
||||||
/// Strength is fraction of health restored per second.
|
/// Strength is fraction of health restored per second.
|
||||||
CampfireHeal,
|
CampfireHeal,
|
||||||
@ -180,7 +176,6 @@ impl BuffKind {
|
|||||||
| BuffKind::Saturation
|
| BuffKind::Saturation
|
||||||
| BuffKind::Potion
|
| BuffKind::Potion
|
||||||
| BuffKind::Swiftness
|
| BuffKind::Swiftness
|
||||||
| BuffKind::Strength
|
|
||||||
| BuffKind::CampfireHeal
|
| BuffKind::CampfireHeal
|
||||||
| BuffKind::Frenzied
|
| BuffKind::Frenzied
|
||||||
| BuffKind::EnergyRegen
|
| BuffKind::EnergyRegen
|
||||||
@ -272,7 +267,6 @@ impl BuffKind {
|
|||||||
BuffEffect::DamageReduction(-data.strength),
|
BuffEffect::DamageReduction(-data.strength),
|
||||||
BuffEffect::PrecisionOverride(0.0),
|
BuffEffect::PrecisionOverride(0.0),
|
||||||
],
|
],
|
||||||
BuffKind::Strength => vec![BuffEffect::AttackDamage(1.0 + data.strength)],
|
|
||||||
BuffKind::CampfireHeal => vec![BuffEffect::HealthChangeOverTime {
|
BuffKind::CampfireHeal => vec![BuffEffect::HealthChangeOverTime {
|
||||||
rate: data.strength,
|
rate: data.strength,
|
||||||
kind: ModifierKind::Multiplicative,
|
kind: ModifierKind::Multiplicative,
|
||||||
|
@ -110,7 +110,6 @@ pub fn localize_chat_message(
|
|||||||
| BuffKind::Saturation
|
| BuffKind::Saturation
|
||||||
| BuffKind::Potion
|
| BuffKind::Potion
|
||||||
| BuffKind::Swiftness
|
| BuffKind::Swiftness
|
||||||
| BuffKind::Strength
|
|
||||||
| BuffKind::CampfireHeal
|
| BuffKind::CampfireHeal
|
||||||
| BuffKind::EnergyRegen
|
| BuffKind::EnergyRegen
|
||||||
| BuffKind::IncreaseMaxEnergy
|
| BuffKind::IncreaseMaxEnergy
|
||||||
|
@ -5162,7 +5162,6 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id {
|
|||||||
BuffKind::Potion => imgs.buff_potion_0,
|
BuffKind::Potion => imgs.buff_potion_0,
|
||||||
// TODO: Need unique image for Swiftness and Strength
|
// TODO: Need unique image for Swiftness and Strength
|
||||||
BuffKind::Swiftness => imgs.buff_plus_0,
|
BuffKind::Swiftness => imgs.buff_plus_0,
|
||||||
BuffKind::Strength => imgs.buff_plus_0,
|
|
||||||
BuffKind::CampfireHeal => imgs.buff_campfire_heal_0,
|
BuffKind::CampfireHeal => imgs.buff_campfire_heal_0,
|
||||||
BuffKind::EnergyRegen => imgs.buff_energyplus_0,
|
BuffKind::EnergyRegen => imgs.buff_energyplus_0,
|
||||||
BuffKind::IncreaseMaxEnergy => imgs.buff_energyplus_0,
|
BuffKind::IncreaseMaxEnergy => imgs.buff_energyplus_0,
|
||||||
@ -5206,7 +5205,6 @@ pub fn get_buff_title(buff: BuffKind, localized_strings: &Localization) -> Cow<s
|
|||||||
BuffKind::Saturation => localized_strings.get_msg("buff-title-saturation"),
|
BuffKind::Saturation => localized_strings.get_msg("buff-title-saturation"),
|
||||||
BuffKind::Potion => localized_strings.get_msg("buff-title-potion"),
|
BuffKind::Potion => localized_strings.get_msg("buff-title-potion"),
|
||||||
BuffKind::Swiftness => localized_strings.get_msg("buff-title-swift"),
|
BuffKind::Swiftness => localized_strings.get_msg("buff-title-swift"),
|
||||||
BuffKind::Strength => localized_strings.get_msg("buff-title-strength"),
|
|
||||||
BuffKind::CampfireHeal => localized_strings.get_msg("buff-title-campfire_heal"),
|
BuffKind::CampfireHeal => localized_strings.get_msg("buff-title-campfire_heal"),
|
||||||
BuffKind::EnergyRegen => localized_strings.get_msg("buff-title-energy_regen"),
|
BuffKind::EnergyRegen => localized_strings.get_msg("buff-title-energy_regen"),
|
||||||
BuffKind::IncreaseMaxHealth => localized_strings.get_msg("buff-title-increase_max_health"),
|
BuffKind::IncreaseMaxHealth => localized_strings.get_msg("buff-title-increase_max_health"),
|
||||||
@ -5249,7 +5247,6 @@ pub fn get_buff_desc(buff: BuffKind, data: BuffData, localized_strings: &Localiz
|
|||||||
BuffKind::Saturation => localized_strings.get_msg("buff-desc-saturation"),
|
BuffKind::Saturation => localized_strings.get_msg("buff-desc-saturation"),
|
||||||
BuffKind::Potion => localized_strings.get_msg("buff-desc-potion"),
|
BuffKind::Potion => localized_strings.get_msg("buff-desc-potion"),
|
||||||
BuffKind::Swiftness => localized_strings.get_msg("buff-desc-swift"),
|
BuffKind::Swiftness => localized_strings.get_msg("buff-desc-swift"),
|
||||||
BuffKind::Strength => localized_strings.get_msg("buff-desc-strength"),
|
|
||||||
BuffKind::CampfireHeal => {
|
BuffKind::CampfireHeal => {
|
||||||
localized_strings.get_msg_ctx("buff-desc-campfire_heal", &i18n::fluent_args! {
|
localized_strings.get_msg_ctx("buff-desc-campfire_heal", &i18n::fluent_args! {
|
||||||
"rate" => data.strength * 100.0
|
"rate" => data.strength * 100.0
|
||||||
|
@ -194,11 +194,6 @@ pub fn consumable_desc(effects: &Effects, i18n: &Localization) -> Vec<String> {
|
|||||||
"strength" => format_float(strength * 100.0),
|
"strength" => format_float(strength * 100.0),
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
BuffKind::Strength => {
|
|
||||||
i18n.get_msg_ctx("buff-stat-strength", &i18n::fluent_args! {
|
|
||||||
"strength" => format_float(strength * 100.0),
|
|
||||||
})
|
|
||||||
},
|
|
||||||
BuffKind::Invulnerability => i18n.get_msg("buff-stat-invulnerability"),
|
BuffKind::Invulnerability => i18n.get_msg("buff-stat-invulnerability"),
|
||||||
BuffKind::Bleeding
|
BuffKind::Bleeding
|
||||||
| BuffKind::Burning
|
| BuffKind::Burning
|
||||||
@ -240,7 +235,6 @@ pub fn consumable_desc(effects: &Effects, i18n: &Localization) -> Vec<String> {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
BuffKind::IncreaseMaxEnergy
|
BuffKind::IncreaseMaxEnergy
|
||||||
| BuffKind::Strength
|
|
||||||
| BuffKind::Swiftness
|
| BuffKind::Swiftness
|
||||||
| BuffKind::IncreaseMaxHealth
|
| BuffKind::IncreaseMaxHealth
|
||||||
| BuffKind::Invulnerability
|
| BuffKind::Invulnerability
|
||||||
|
Loading…
Reference in New Issue
Block a user