mod_bestmod_willpower.qsrc 1.0 KB

1234567891011121314151617181920212223242526
  1. # mod_bestmod_willpower
  2. !! This file will implement willpower elements exclusive to the bestmod.
  3. !! See willpower.qsrc in the base game code to see how that library works.
  4. !! To use call with gs 'mod_bestmod_willpower', '<type>'
  5. !! An alternate form with three arguments can be used to specify the animal type when 'type' is not 'force' or 'resist':
  6. !! gs 'mod_bestmod_willpower', '<type>', '<animal_type>'
  7. !! Not used in the game yet as we need the inverse calculation so that it would be
  8. !! harder to accept when experience is low
  9. !! Use stat['beast'] instead of bm_beast['exp']
  10. if $ARGS[0] = 'sex':
  11. !! Use basemod willpower calc to calculate the base cost.
  12. gs 'willpower', 'calc'
  13. !! Use basemod willpower sex to calculate how willing PC is to have sex.
  14. gs 'willpower', 'sex'
  15. !! will_cost is set now. Now we need to add the penalty based on willingness
  16. !! of PC to have sex with an animal
  17. if $ARGS[1] ! '':
  18. !! Specific species
  19. will_cost += bm_beast['<<$ARGS[1]>>_exp']/10
  20. else
  21. !! Beast sex overall
  22. will_cost += bm_beast['exp']/10
  23. end
  24. end