Talk:GetReputationPct
From GECK
I can't edit this in without word-wrap making it look bad so I'll just display it in the discussion page. It's a bunch of if statements corresponding to different reputation titles.
If GetReputationPct RepNVGoodsprings 0 == 1 ;VILLIFIED ElseIf GetReputationPct RepNVGoodsprings 0 >= .5 && GetReputationPct RepNVGoodsprings 0 < 1 ;HATED ElseIf GetReputationPct RepNVGoodsprings 0 >= .15 && GetReputationPct RepNVGoodsprings 0 < .5 ;SHUNNED ElseIf GetReputationPct RepNVGoodsprings 0 < .15 ;NEUTRAL ElseIf GetReputationPct RepNVGoodsprings 1 >= .15 && GetReputationPct RepNVGoodsprings 1 < .5 ;ACCEPTED ElseIf GetReputationPct RepNVGoodsprings 1 >= .5 && GetReputationPct RepNVGoodsprings 1 < 1 ;LIKED ElseIf GetReputationPct RepNVGoodsprings 1 == 1 ;IDOLIZED ElseIf GetReputationPct RepNVGoodsprings 0 == 1 && GetReputationPct RepNVGoodsprings 1 >= .15 && GetReputationPct RepNVGoodsprings 1 < .5 ;MERCIFUL THUG ElseIf GetReputationPct RepNVGoodsprings 0 == 1 && GetReputationPct RepNVGoodsprings 1 >= .5 && GetReputationPct RepNVGoodsprings 1 < 1 ;SOFT-HEARTED DEVIL ElseIf GetReputationPct RepNVGoodsprings 0 == 1 && GetReputationPct RepNVGoodsprings 1 == 1 ;WILD CHILD ElseIf GetReputationPct RepNVGoodsprings 0 >= .5 && GetReputationPct RepNVGoodsprings 0 < 1 && GetReputationPct RepNVGoodsprings 1 >= .15 && GetReputationPct RepNVGoodsprings 1 < .5 ;SNEERING PUNK ElseIf GetReputationPct RepNVGoodsprings 0 >= .5 && GetReputationPct RepNVGoodsprings 0 < 1 && GetReputationPct RepNVGoodsprings 1 >= .5 && GetReputationPct RepNVGoodsprings 1 < 1 ;UNPREDICTABLE ElseIf GetReputationPct RepNVGoodsprings 0 >= .5 && GetReputationPct RepNVGoodsprings 0 < 1 && GetReputationPct RepNVGoodsprings 1 == 1 ;DARK HERO ElseIf GetReputationPct RepNVGoodsprings 0 >= .15 && GetReputationPct RepNVGoodsprings 0 < .5 && GetReputationPct RepNVGoodsprings 1 >= .15 && GetReputationPct RepNVGoodsprings 1 < .5 ;MIXED ElseIf GetReputationPct RepNVGoodsprings 0 >= .15 && GetReputationPct RepNVGoodsprings 0 < .5 && GetReputationPct RepNVGoodsprings 1 >= .5 && GetReputationPct RepNVGoodsprings 1 < 1 ;SMILING TROUBLEMAKER ElseIf GetReputationPct RepNVGoodsprings 0 >= .15 && GetReputationPct RepNVGoodsprings 0 < .5 && GetReputationPct RepNVGoodsprings 1 == 1 ;GOOD NATURED RASCAL EndIf