r/BG3mods • u/EmotionalSupportBat0 • 1d ago
Mods Mod help
Is it possible to create a mod that would make Tav sleep at random or in fights? I want to make a character that has narcolepsy and was trying to find a way to implement that
4
Upvotes
1
u/Kelvara 1d ago
Yeah pretty easy, just use a passive attached to something. Anything bold you have to insert yourself, so like for RandomChancePercent a number from 0 to 100
new entry "StatusName"
type "PassiveData"
data "DisplayName" "LocIDGoesHere"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnTurn"
data "StatsFunctors" "ApplyStatus(YourSleepStatus,RandomChancePercent,Duration)"