Renamed to potion of agility, burning potion to combustion

This commit is contained in:
HEIEnthusiast 2023-12-05 14:15:54 -04:00
parent 99b5571fd8
commit 933c897450
14 changed files with 32 additions and 31 deletions

View File

@ -38,7 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- A way to target non-player entities with commands. With rtsim_id: `rtsim@<id>`, with uid: `uid@<id>`.
- Shorthand in voxygen for specific entities in commands, some examples `@target`, `@mount`, `@viewpoint`.
- Added hit_timing to BasicMelee abilities
- Retreating Potion
- Potion of Agility
### Changed
@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed offset of items carried on backs when wearing cloaks and backpacks
- Linearize light colors on the CPU rather than in shaders on the GPU
- You can no longer stack self buffs
- Renamed "Burning Potion" to "Potion of Combustion"
### Removed
- Medium and large potions from all loot tables

View File

@ -1,11 +1,11 @@
ItemDef(
name: "Potion of Retreat",
description: "Don't get caught fighting too fierce a foe.",
name: "Potion of Agility",
description: "Fly, you fools!",
kind: Consumable(
kind: Drink,
effects: All([
Buff((
kind: Retreating,
kind: Agility,
data: (
strength: 0.55,
duration: Some(25),

View File

@ -1,5 +1,5 @@
ItemDef(
name: "Burning Potion",
name: "Potion of Combustion",
description: "Sets the user ablaze",
kind: Consumable(
kind: Drink,

View File

@ -31,8 +31,8 @@
],
craft_sprite: Some(Anvil),
),
"potion_burning": (
output: ("common.items.consumable.potion_burning", 1),
"potion_combustion": (
output: ("common.items.consumable.potion_combustion", 1),
inputs: [
(Item("common.items.crafting_ing.empty_vial"), 1, false),
(Item("common.items.crafting_ing.living_embers"), 3, false),
@ -40,8 +40,8 @@
],
craft_sprite: Some(Cauldron),
),
"potion_retreat": (
output: ("common.items.consumable.potion_retreat", 1),
"potion_agility": (
output: ("common.items.consumable.potion_agility", 1),
inputs: [
(Item("common.items.crafting_ing.empty_vial"), 1, false),
(Item("common.items.mineral.ore.veloritefrag"), 2, false),

View File

@ -5,10 +5,10 @@ buff-stat-health = Restores { $str_total } Health
## Potion
buff-title-potion = Potion
buff-desc-potion = Drinking...
## Retreating
buff-title-retreat = Retreating
buff-desc-retreat = Your movement is faster, but you deal less damage, and take more damage.
buff-stat-retreat =
## Agility
buff-title-agility = Agility
buff-desc-agility = Your movement is faster, but you deal less damage, and take more damage.
buff-stat-agility =
Increases movement speed by { $strength }%.
but decreases your damage by 100%,
and increases your damage vulnerability

View File

@ -3199,12 +3199,12 @@
"voxel.object.curious_potion",
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
),
Simple("common.items.consumable.potion_burning"): VoxTrans(
"voxel.object.potion_burning",
Simple("common.items.consumable.potion_combustion"): VoxTrans(
"voxel.object.potion_combustion",
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
),
Simple("common.items.consumable.potion_retreat"): VoxTrans(
"voxel.object.potion_retreat",
Simple("common.items.consumable.potion_agility"): VoxTrans(
"voxel.object.potion_agility",
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
),
Simple("common.items.charms.burning_charm"): VoxTrans(

View File

@ -809,8 +809,8 @@
Simple("common.items.consumable.potion_minor"): "voxel.object.potion_red",
Simple("common.items.consumable.potion_big"): "voxel.object.potion_red",
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_retreat"): "voxel.object.potion_retreat",
Simple("common.items.consumable.potion_combustion"): "voxel.object.potion_combustion",
Simple("common.items.consumable.potion_agility"): "voxel.object.potion_agility",
Simple("common.items.charms.burning_charm"): "voxel.object.burning_charm",
Simple("common.items.charms.frozen_charm"): "voxel.object.frozen_charm",
Simple("common.items.charms.lifesteal_charm"): "voxel.object.lifesteal_charm",

View File

@ -155,7 +155,7 @@ lazy_static! {
BuffKind::Bleeding => "bleeding",
BuffKind::Cursed => "cursed",
BuffKind::Potion => "potion",
BuffKind::Retreating => "retreating",
BuffKind::Agility => "agility",
BuffKind::CampfireHeal => "campfire_heal",
BuffKind::EnergyRegen => "energy_regen",
BuffKind::IncreaseMaxEnergy => "increase_max_energy",

View File

@ -41,7 +41,7 @@ pub enum BuffKind {
/// decreases the amount of damage dealt.
/// Movement speed increases linearly with strength 1.0 is an 100% increase
/// Damage vulnerability and damage reduction are both hard set to 100%
Retreating,
Agility,
/// Applied when sitting at a campfire.
/// Strength is fraction of health restored per second.
CampfireHeal,
@ -182,7 +182,7 @@ impl BuffKind {
BuffKind::Regeneration
| BuffKind::Saturation
| BuffKind::Potion
| BuffKind::Retreating
| BuffKind::Agility
| BuffKind::CampfireHeal
| BuffKind::Frenzied
| BuffKind::EnergyRegen
@ -270,7 +270,7 @@ impl BuffKind {
tick_dur: Secs(0.1),
}]
},
BuffKind::Retreating => vec![
BuffKind::Agility => vec![
BuffEffect::MovementSpeed(
1.0 + data.strength * stats.map_or(1.0, |s| s.move_speed_multiplier),
),

View File

@ -109,7 +109,7 @@ pub fn localize_chat_message(
BuffKind::Regeneration
| BuffKind::Saturation
| BuffKind::Potion
| BuffKind::Retreating
| BuffKind::Agility
| BuffKind::CampfireHeal
| BuffKind::EnergyRegen
| BuffKind::IncreaseMaxEnergy

View File

@ -5160,8 +5160,8 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id {
BuffKind::Regeneration => imgs.buff_plus_0,
BuffKind::Saturation => imgs.buff_saturation_0,
BuffKind::Potion => imgs.buff_potion_0,
// TODO: Need unique image for Retreating (uses same as regeneration atm)
BuffKind::Retreating => imgs.buff_plus_0,
// TODO: Need unique image for Agility (uses same as regeneration atm)
BuffKind::Agility => imgs.buff_plus_0,
BuffKind::CampfireHeal => imgs.buff_campfire_heal_0,
BuffKind::EnergyRegen => imgs.buff_energyplus_0,
BuffKind::IncreaseMaxEnergy => imgs.buff_energyplus_0,
@ -5205,7 +5205,7 @@ pub fn get_buff_title(buff: BuffKind, localized_strings: &Localization) -> Cow<s
BuffKind::Regeneration => localized_strings.get_msg("buff-title-heal"),
BuffKind::Saturation => localized_strings.get_msg("buff-title-saturation"),
BuffKind::Potion => localized_strings.get_msg("buff-title-potion"),
BuffKind::Retreating => localized_strings.get_msg("buff-title-retreat"),
BuffKind::Agility => localized_strings.get_msg("buff-title-agility"),
BuffKind::CampfireHeal => localized_strings.get_msg("buff-title-campfire_heal"),
BuffKind::EnergyRegen => localized_strings.get_msg("buff-title-energy_regen"),
BuffKind::IncreaseMaxHealth => localized_strings.get_msg("buff-title-increase_max_health"),
@ -5248,7 +5248,7 @@ pub fn get_buff_desc(buff: BuffKind, data: BuffData, localized_strings: &Localiz
BuffKind::Regeneration => localized_strings.get_msg("buff-desc-heal"),
BuffKind::Saturation => localized_strings.get_msg("buff-desc-saturation"),
BuffKind::Potion => localized_strings.get_msg("buff-desc-potion"),
BuffKind::Retreating => localized_strings.get_msg("buff-desc-retreat"),
BuffKind::Agility => localized_strings.get_msg("buff-desc-agility"),
BuffKind::CampfireHeal => {
localized_strings.get_msg_ctx("buff-desc-campfire_heal", &i18n::fluent_args! {
"rate" => data.strength * 100.0

View File

@ -189,8 +189,8 @@ pub fn consumable_desc(effects: &Effects, i18n: &Localization) -> Vec<String> {
"strength" => format_float(strength * 100.0),
})
},
BuffKind::Retreating => {
i18n.get_msg_ctx("buff-stat-retreat", &i18n::fluent_args! {
BuffKind::Agility => {
i18n.get_msg_ctx("buff-stat-agility", &i18n::fluent_args! {
"strength" => format_float(strength * 100.0),
})
},
@ -236,7 +236,7 @@ pub fn consumable_desc(effects: &Effects, i18n: &Localization) -> Vec<String> {
})
},
BuffKind::IncreaseMaxEnergy
| BuffKind::Retreating
| BuffKind::Agility
| BuffKind::IncreaseMaxHealth
| BuffKind::Invulnerability
| BuffKind::PotionSickness