[0.69.420-PUBLIC#1890] piercingLustMinTotal() and piercingLustGainTotal() functions broken

one_two

Well-Known Member
Jan 20, 2022
457
130
piercingLustMinTotal() and piercingLustGainTotal() from inventory.js should return bonus to minLust and lustGain from equipped piercings, respectively. Both however appear to be broken, returning 0 for character with equipped piercings of both relevant types (regular and crude savicite piercings). As a result, wearing savicite piercings doesn't have any effect.

Attached a savefile with character sporting Savicite Bar + Savicite Hoop Set + Savicite Stud Set (expected return value of piercingLustMinTotal() is 2+4+6 = 12, instead returns 0) and Crude Savicite Hoop (expected return value of piercingLustGainTotal() is 0.05, instead returns 0)
 

Attachments

  • Ava (F) - 17Hrs 39Mins, 286 Days - Uveto VII, Siretta.json
    1.1 MB · Views: 2