Skip to content

Commit

Permalink
🐛 fix tweaks definitions for order
Browse files Browse the repository at this point in the history
  • Loading branch information
Roms1383 committed Apr 18, 2024
1 parent 0424541 commit cbdae2c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 51 deletions.
51 changes: 0 additions & 51 deletions tweaks/Addicted/stimulants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,6 @@ UIIcon.PhotoSensitive:
atlasPartName: photosensitive_icon
atlasResourcePath: addicted\gameplay\gui\widgets\healthbar\atlas_buffinfo.inkatlas

UIData.WithdrawnFrom$(consumable):
$instances:
- { consumable: StaminaBooster, key: Stamina-Booster }
- { consumable: CarryCapacityBooster, key: Capacity-Booster }
- { consumable: MemoryBooster, key: Memory-Booster }
$base: BaseStatusEffect.$(consumable)_inline2
description: LocKey#Mod-Addicted-Withdrawn-$(key)-Desc
displayName: LocKey#Mod-Addicted-Craving-For-$(key)
iconPath: WithdrawnFromPill

BaseStatusEffect.$(threshold)WithdrawnFrom$(consumable):
$instances:
- { threshold: Notably, consumable: StaminaBooster, stat: Stamina, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, consumable: StaminaBooster, stat: Stamina, modifier: 0.7, modifiers: 70 }
- { threshold: Notably, consumable: CarryCapacityBooster, stat: CarryCapacity, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, consumable: CarryCapacityBooster, stat: CarryCapacity, modifier: 0.7, modifiers: 70 }
$base: BaseStatusEffect.WithdrawalSymptom
packages:
- $type: GameplayLogicPackage_Record
stats:
- $type: ConstantStatModifier_Record
modifierType: Multiplier
statType: BaseStats.$(stat)
value: $(modifier)
- $type: GameplayLogicPackage_Record
effectors: [Effectors.Grunt]
uiData:
$base: UIData.WithdrawnFrom$(consumable)
intValues: [ $(modifiers) ]

BaseStatusEffect.$(threshold)WithdrawnFromMemoryBooster:
$instances:
- { threshold: Notably, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, modifier: 0.7, modifiers: 70 }
$base: BaseStatusEffect.WithdrawalSymptom
packages:
- $type: GameplayLogicPackage_Record
stats:
- $type: ConstantStatModifier_Record
modifierType: Multiplier
statType: BaseStats.Memory
value: $(modifier)
- $type: GameplayLogicPackage_Record
effectors: [Effectors.MigraineStart, Effectors.MigraineDecrease, Effectors.MigraineEnd]
- $type: GameplayLogicPackage_Record
effectors:
- Effectors.Dizzy
uiData:
$base: UIData.WithdrawnFromMemoryBooster
intValues: [ $(modifiers) ]

Effectors.Grunt:
$type: Effector_Record
effectorClassName: PlaySFXEffector
Expand Down
File renamed without changes.
File renamed without changes.
50 changes: 50 additions & 0 deletions tweaks/Addicted/z_stimulants.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
UIData.WithdrawnFrom$(consumable):
$instances:
- { consumable: StaminaBooster, key: Stamina-Booster }
- { consumable: CarryCapacityBooster, key: Capacity-Booster }
- { consumable: MemoryBooster, key: Memory-Booster }
$base: BaseStatusEffect.$(consumable)_inline2
description: LocKey#Mod-Addicted-Withdrawn-$(key)-Desc
displayName: LocKey#Mod-Addicted-Craving-For-$(key)
iconPath: WithdrawnFromPill

BaseStatusEffect.$(threshold)WithdrawnFrom$(consumable):
$instances:
- { threshold: Notably, consumable: StaminaBooster, stat: Stamina, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, consumable: StaminaBooster, stat: Stamina, modifier: 0.7, modifiers: 70 }
- { threshold: Notably, consumable: CarryCapacityBooster, stat: CarryCapacity, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, consumable: CarryCapacityBooster, stat: CarryCapacity, modifier: 0.7, modifiers: 70 }
$base: BaseStatusEffect.WithdrawalSymptom
packages:
- $type: GameplayLogicPackage_Record
stats:
- $type: ConstantStatModifier_Record
modifierType: Multiplier
statType: BaseStats.$(stat)
value: $(modifier)
- $type: GameplayLogicPackage_Record
effectors: [Effectors.Grunt]
uiData:
$base: UIData.WithdrawnFrom$(consumable)
intValues: [ $(modifiers) ]

BaseStatusEffect.$(threshold)WithdrawnFromMemoryBooster:
$instances:
- { threshold: Notably, modifier: 0.9, modifiers: 90 }
- { threshold: Severely, modifier: 0.7, modifiers: 70 }
$base: BaseStatusEffect.WithdrawalSymptom
packages:
- $type: GameplayLogicPackage_Record
stats:
- $type: ConstantStatModifier_Record
modifierType: Multiplier
statType: BaseStats.Memory
value: $(modifier)
- $type: GameplayLogicPackage_Record
effectors: [Effectors.MigraineStart, Effectors.MigraineDecrease, Effectors.MigraineEnd]
- $type: GameplayLogicPackage_Record
effectors:
- Effectors.Dizzy
uiData:
$base: UIData.WithdrawnFromMemoryBooster
intValues: [ $(modifiers) ]

0 comments on commit cbdae2c

Please sign in to comment.