Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/gui/wiki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ fn mat_link_id(mat: MaterialName) -> &'static str {
MaterialName::VintageComponents => "79",
MaterialName::OffcutComponents => "80",
MaterialName::ManufacturedComponents => "81",
MaterialName::EclipticComponents => "82",
_ => "0",
}
}
74 changes: 74 additions & 0 deletions src/prelude/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,25 @@ impl Data {
},
])
},
MaterialName::EclipticComponents => CompPerksPerGizmoType {
ancient_only: false,
weapon: StackVec::new(&[
ComponentValues {
perk: PerkName::Equilibrium,
base: 40,
roll: 8
},
]),
armour: StackVec::new(&[
ComponentValues {
perk: PerkName::Equilibrium,
base: 40,
roll: 8
},
]),
tool: StackVec::new(&[
])
},
MaterialName::EnhancingComponents => CompPerksPerGizmoType {
ancient_only: false,
weapon: StackVec::new(&[
Expand Down Expand Up @@ -1802,8 +1821,18 @@ impl Data {
MaterialName::ManufacturedComponents => CompPerksPerGizmoType {
ancient_only: false,
weapon: StackVec::new(&[
ComponentValues {
perk: PerkName::Equilibrium,
base: 7,
roll: 17
},
]),
armour: StackVec::new(&[
ComponentValues {
perk: PerkName::Equilibrium,
base: 7,
roll: 17
},
]),
tool: StackVec::new(&[
ComponentValues {
Expand Down Expand Up @@ -4751,6 +4780,51 @@ impl Data {
},
])
},
PerkName::Equilibrium => PerkRanksData {
doubleslot: false,
ranks: StackVec::new(&[
PerkRankValues {
name: PerkName::Equilibrium,
rank: 0,
cost: 0,
threshold: 0,
ancient_only: false,
doubleslot: false
},
PerkRankValues {
name: PerkName::Equilibrium,
rank: 1,
cost: 40,
threshold: 55,
ancient_only: false,
doubleslot: false
},
PerkRankValues {
name: PerkName::Equilibrium,
rank: 2,
cost: 90,
threshold: 115,
ancient_only: false,
doubleslot: false
},
PerkRankValues {
name: PerkName::Equilibrium,
rank: 3,
cost: 175,
threshold: 170,
ancient_only: false,
doubleslot: false
},
PerkRankValues {
name: PerkName::Equilibrium,
rank: 4,
cost: 185,
threshold: 200,
ancient_only: true,
doubleslot: false
},
])
},
PerkName::Eruptive => PerkRanksData {
doubleslot: false,
ranks: StackVec::new(&[
Expand Down
3 changes: 3 additions & 0 deletions src/prelude/material_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ pub enum MaterialName {
DirectComponents,
#[strum(serialize = "Dragonfire components")]
DragonfireComponents,
#[strum(serialize = "Ecliptic components")]
EclipticComponents,
#[strum(serialize = "Enhancing components")]
EnhancingComponents,
#[strum(serialize = "Ethereal components")]
Expand Down Expand Up @@ -304,6 +306,7 @@ pub static RARE_MATERIALS: &[MaterialName] = &[
MaterialName::CulinaryComponents,
MaterialName::CywirComponents,
MaterialName::DragonfireComponents,
MaterialName::EclipticComponents,
MaterialName::ExplosiveComponents,
MaterialName::FacetedComponents,
MaterialName::FortunateComponents,
Expand Down
1 change: 1 addition & 0 deletions src/prelude/perk_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pub enum PerkName {
EnhancedDevoted,
EnhancedEfficient,
Enlightened,
Equilibrium,
Eruptive,
Explosive,
Fatiguing,
Expand Down