How does the check on equipped items works ?? do you check item slots or there is a list of equipped items ? in 0.45
here is what i got so far and works like a charm..
#################################################################
elif result[1] == 'Analsex':
#################################################################
if chr.AP > 0: # AP DRAIN if ANY
chr.AP -= 1 #
######################
moodinfo = chr.stsskillmood['m%d' % (chr.moodrank)] #
cleaninfo = chr.stsskillbodycl['m%d' % (chr.bodyclrank)] #
#equipinfo = #
moodval= moodinfo['valmood'] # CALCULATE XP GAIN
cleanval = cleaninfo['valclean'] #
#equipval = equipinfo #
if ct("Nymphomaniac"): #
traitval = 2 #
else: #
traitval = 0 #
xpvalue = moodval+5+cleanval+traitval#+equipval #
######################
targetrank = chr.analsexrank #
if targetrank <= 5: #
rankinfo = chr.stskillanalsex['p%d' % (chr.analsexrank+1)] # ANAL SEX XP
targetrankxp = rankinfo['exp'] #
chr.analsexrankxp += xpvalue
######################
if chr.analsexrankxp >= targetrankxp: #
chr.analsexrank += 1 # ANAL SEX RANK UP
chr.analsexrankxp = 0 #
######################
renpy.hide_screen("pyt_girl_interactionsTrain") #
renpy.hide_screen("pyt_girltraining") #
renpy.with_statement(dissolve) # IMG TXT SCREEN JUMP
renpy.jump('stinteract_anal') #
else: ######################
renpy.show_screen("pyt_girl_interactionoutofap"), With(dissolve) # OUT OF AP
#########################################################################
copy past does not work well lol..
Atm im nearly done with interfaces.. as for the code i kept it like you see no function to parametter changes if needed and when its done ill clean it up..
rank up works as it should for:
increase 0-1 10xp 1-2 20xp 2-3 40xp 3-4 60xp 4-5 80xp ( ex: if you train Athletics.. his xp and endurance xp will increase at the same time )
decrease 1-0 10xp 2-1 20xp 3-2 40xp 4-3 60xp 5-4 80xp ( like lowering pride or counter effect from your training )
Or if you train job Pet ( pet xp will increase while pride xp decrease ) and so on..
AP regenerate every turn and match your endurance(only in the dungeon.. outside its the same AP value ( 3ap for 35con ))
I got a basic interaction screen for any action ( just changed yours to do what i needed )
the check for xp gain works as planned checking ( mood,your skill,cleanness,trait ) but im missing equipment check could you explain how its works

once i got equipment check on i can rar the files and let you test it :p