fix: inline LocalizationOverride + simplified Iconic structure
- Moved localization into the same YAML (LocalizationOverride block) - Removed separate JSON localization file - Simplified OnAttach (empty array, stats via statModifiers only) - UIData directly on the mod record - Still: 100% armor pen, 100% bleed, legendary quality
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Crystal Blades — Kristallklingen
|
||||
# Korrekte TweakXL Struktur für CP2077 2.31
|
||||
# Eine Iconic Waffe = Base Weapon + Hidden Mod (GameplayLogicPackage)
|
||||
# CP2077 2.31 — Korrekte Iconic Waffen-Definition
|
||||
|
||||
# ============================================================
|
||||
# WAFFE 1: Kristallschneider (Katana)
|
||||
@@ -8,66 +7,51 @@
|
||||
|
||||
Items.Preset_Crystal_Katana:
|
||||
$base: Items.Preset_Katana_Default
|
||||
|
||||
# Name & Beschreibung — direkte LocKeys
|
||||
displayName: LocKey#crystal_katana_name
|
||||
localizedDescription: LocKey#crystal_katana_desc
|
||||
quality: Quality.Legendary
|
||||
iconicName: LocKey#crystal_katana_iconic
|
||||
iconicDescription: LocKey#crystal_katana_iconic_desc
|
||||
|
||||
# Hidden Iconic Mod (das ist der Schlüssel!)
|
||||
# Legendary Qualität
|
||||
quality: Quality.Legendary
|
||||
|
||||
# Iconic hidden mod
|
||||
mods:
|
||||
- Items.Crystal_Katana_Mod
|
||||
|
||||
# Das Hidden Mod — enthält alle Stat-Veränderungen
|
||||
# Hidden Iconic Mod
|
||||
Items.Crystal_Katana_Mod:
|
||||
$base: Items.IconicWeaponModAbilityBase
|
||||
statModifiers:
|
||||
# 100% Armor Penetration
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: ArmorPenetration
|
||||
value: 1.0
|
||||
# 100% Bleed Chance
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: BleedingApplicationRate
|
||||
value: 1.0
|
||||
# Damage Bonus
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
modifierType: Multiplier
|
||||
statType: DPS
|
||||
value: 150.0
|
||||
# Attack Speed
|
||||
value: 2.0
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: AttackSpeed
|
||||
value: 0.2
|
||||
# Crit Chance
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: CritChance
|
||||
value: 15.0
|
||||
OnAttach:
|
||||
- Items.Crystal_Katana_Package
|
||||
|
||||
# Gameplay Logic Package — Iconic Effekte
|
||||
Items.Crystal_Katana_Package:
|
||||
$type: gamedataGameplayLogicPackage_Record
|
||||
stackable: false
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: CritDamage
|
||||
value: 30.0
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: BleedingApplicationRate
|
||||
value: 1.0
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: ArmorPenetration
|
||||
value: 1.0
|
||||
OnAttach: []
|
||||
UIData:
|
||||
$type: gamedataGameplayLogicPackageUIData_Record
|
||||
iconPath: icon katana
|
||||
iconPath: ability_icon
|
||||
localizedDescription: LocKey#crystal_katana_iconic_desc
|
||||
effects:
|
||||
- Items.Crystal_Katana_Bleed_Effect
|
||||
|
||||
# 100% Bleed Effekt bei jedem Treffer
|
||||
Items.Crystal_Katana_Bleed_Effect:
|
||||
$type: gamedataEffector_Record
|
||||
effectorType: AddStatusEffect
|
||||
applicationTarget: Target
|
||||
statusEffect: BaseStatusEffect.Bleeding
|
||||
probability: 1.0
|
||||
|
||||
# ============================================================
|
||||
# WAFFE 2: Phantom Splitter (Wurfdolch)
|
||||
@@ -75,11 +59,11 @@ Items.Crystal_Katana_Bleed_Effect:
|
||||
|
||||
Items.Preset_Crystal_ThrowingKnife:
|
||||
$base: Items.Preset_Knife_Default
|
||||
|
||||
displayName: LocKey#crystal_knife_name
|
||||
localizedDescription: LocKey#crystal_knife_desc
|
||||
|
||||
quality: Quality.Legendary
|
||||
iconicName: LocKey#crystal_knife_iconic
|
||||
iconicDescription: LocKey#crystal_knife_iconic_desc
|
||||
|
||||
mods:
|
||||
- Items.Crystal_Knife_Mod
|
||||
@@ -87,52 +71,55 @@ Items.Preset_Crystal_ThrowingKnife:
|
||||
Items.Crystal_Knife_Mod:
|
||||
$base: Items.IconicWeaponModAbilityBase
|
||||
statModifiers:
|
||||
# 100% Armor Penetration
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: ArmorPenetration
|
||||
value: 1.0
|
||||
# 100% Bleed Chance
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: BleedingApplicationRate
|
||||
value: 1.0
|
||||
# Damage Bonus
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
modifierType: Multiplier
|
||||
statType: DPS
|
||||
value: 100.0
|
||||
# Attack Speed — sehr schnell für Wurfdolch
|
||||
value: 1.8
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: AttackSpeed
|
||||
value: 0.5
|
||||
# Crit Chance — hoch für Wurfdolch
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: CritChance
|
||||
value: 25.0
|
||||
# Crit Damage
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: CritDamage
|
||||
value: 50.0
|
||||
OnAttach:
|
||||
- Items.Crystal_Knife_Package
|
||||
|
||||
Items.Crystal_Knife_Package:
|
||||
$type: gamedataGameplayLogicPackage_Record
|
||||
stackable: false
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: BleedingApplicationRate
|
||||
value: 1.0
|
||||
- $type: gamedataConstantStatModifier_Record
|
||||
modifierType: Additive
|
||||
statType: ArmorPenetration
|
||||
value: 1.0
|
||||
OnAttach: []
|
||||
UIData:
|
||||
$type: gamedataGameplayLogicPackageUIData_Record
|
||||
iconPath: icon knife
|
||||
iconPath: ability_icon
|
||||
localizedDescription: LocKey#crystal_knife_iconic_desc
|
||||
effects:
|
||||
- Items.Crystal_Knife_Bleed_Effect
|
||||
|
||||
Items.Crystal_Knife_Bleed_Effect:
|
||||
$type: gamedataEffector_Record
|
||||
effectorType: AddStatusEffect
|
||||
applicationTarget: Target
|
||||
statusEffect: BaseStatusEffect.Bleeding
|
||||
probability: 1.0
|
||||
# ============================================================
|
||||
# Localization Override
|
||||
# ============================================================
|
||||
|
||||
LocalizationOverride:
|
||||
en-us:
|
||||
crystal_katana_name: "Crystal Cleaver"
|
||||
crystal_katana_desc: "A katana with a monomolecular crystal blade. Forged in the depths of Night City's black market, this weapon ignores all armor and guarantees bleeding on every strike."
|
||||
crystal_katana_iconic_desc: "Monomolecular Edge: Ignores all armor. Every hit causes bleeding."
|
||||
|
||||
crystal_knife_name: "Phantom Splitter"
|
||||
crystal_knife_desc: "A throwing knife with a monomolecular crystal edge. Designed for silent takedowns, it pierces any armor and ensures your target bleeds out."
|
||||
crystal_knife_iconic_desc: "Monomolecular Edge: Ignores all armor. Every hit causes bleeding."
|
||||
|
||||
de-de:
|
||||
crystal_katana_name: "Kristallschneider"
|
||||
crystal_katana_desc: "Ein Katana mit monomolekularer Kristallklinge. Geschmiedet in den Tiefen des schwarzen Marktes von Night City, ignoriert diese Waffe alle Rüstung und garantiert Blutung bei jedem Treffer."
|
||||
crystal_katana_iconic_desc: "Monomolekulare Klinge: Ignoriert alle Rüstung. Jeder Treffer verursacht Blutung."
|
||||
|
||||
crystal_knife_name: "Phantom Splitter"
|
||||
crystal_knife_desc: "Ein Wurfdolch mit monomolekularer Kristallklinge. Konstruiert für stille Eliminierungen, durchdringt er jede Rüstung und sorgt dafür, dass dein Ziel verblutet."
|
||||
crystal_knife_iconic_desc: "Monomolekulare Klinge: Ignoriert alle Rüstung. Jeder Treffer verursacht Blutung."
|
||||
Reference in New Issue
Block a user