mod_addedflavour_A77_Functions.qsrc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # mod_addedflavour_A77_Functions
  2. if $ARGS[0] = 'config':
  3. $npc_fontcolor['A77'] = 'Blue'
  4. end
  5. if $ARGS[0] = 'TalkEvents':
  6. if sosed >= 7 and modVar_AF_EventOpen['A77-AptInvEv'] = 0:
  7. menu_off = 0
  8. gt 'mod_addedflavour_A77_Events' , 'A77-AptInvEv-X1'
  9. end
  10. !---
  11. modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 0
  12. if modVar_AF_EventProgress['A77-AptInvEv'] > 4:
  13. if modVar_AF_EventProgress['A77-AptInvEv'] = modVar_AF_EventGates['A77-AptInvEv-3'] and rand(1,3) = 1:
  14. modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 1
  15. elseif modVar_AF_EventOpen['A77-AptInvEv'] = 1 and rand(1,6) = 1:
  16. modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 1
  17. end
  18. end
  19. if modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 1:
  20. *nl
  21. 'Timothy mentions that he was thinking of meeting a friend of his in the Building prompting you to consider inviting both of them into the Apartment.'
  22. act 'Invite them both in' : gt 'mod_addedflavour_A77_Events' , 'A77-AptInvEv-1'
  23. end
  24. if modVar_AF_EventOpen['A77-AptInvEv'] = 1 and (home_owned[1] = 1 or home_owned[1] = 2):
  25. act 'Invite Timothy in' : modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 0 & gt 'mod_addedflavour_A77_Events' , 'A77-AptInvEv-1'
  26. end
  27. end
  28. if $ARGS[0] = 'AddProgress' and $ARGS[1] = 'A77-AptInvEv':
  29. if modVar_AF_EventProgress['A77-AptInvEv'] < ARGS[3]:
  30. modVar_AF_EventProgress['A77-AptInvEv'] += ARGS[2]
  31. if modVar_AF_EventProgress['A77-AptInvEv'] > ARGS[3] : modVar_AF_EventProgress['A77-AptInvEv'] = ARGS[3]
  32. end
  33. end
  34. if $ARGS[0] = 'A77-AptInvThreesomeEv-OrgasmTracking':
  35. *nl
  36. if modVar_AF_OrgasmTracking['NPC-1'] >= 100:
  37. '<center><font color="red">Timothy''s Orgasm - CUMMING!!!</font></center>'
  38. elseif modVar_AF_OrgasmTracking['NPC-1'] >= 75:
  39. '<center><font color="red">Timothy''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-1'']>>%</font></center>'
  40. elseif modVar_AF_OrgasmTracking['NPC-1'] >= 25:
  41. '<center><font color="orange">Timothy''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-1'']>>%</font></center>'
  42. else
  43. '<center><font color="green">Timothy''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-1'']>>%</font></center>'
  44. end
  45. *nl
  46. if modVar_AF_OrgasmTracking['NPC-2'] >= 100:
  47. '<center><font color="red">Timothy''s Friend''s Orgasm - CUMMING!!!</font></center>'
  48. elseif modVar_AF_OrgasmTracking['NPC-2'] >= 75:
  49. '<center><font color="red">Timothy''s Friend''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-2'']>>%</font></center>'
  50. elseif modVar_AF_OrgasmTracking['NPC-2'] >= 25:
  51. '<center><font color="orange">Timothy''s Friend''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-2'']>>%</font></center>'
  52. else
  53. '<center><font color="green">Timothy''s Friend''s Orgasm - <<modVar_AF_OrgasmTracking[''NPC-2'']>>%</font></center>'
  54. end
  55. end
  56. --- mod_addedflavour_A77_Functions ---------------------------------