card.qsrc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # card
  2. !2021/04/26
  3. menu_off = 1
  4. gs 'stat'
  5. '<center><img <<$set_imgh>> src="images/pc/items/accessories/cards/porndeck.jpg"></center>'
  6. 'You pull your deck of cards out and spread them around '+iif($card_loc = 'gadsarai', 'an old desk in the barn', 'your desk')+' to look at them.'
  7. act 'Put the cards away':
  8. killvar '$card_loc'
  9. gt $loc
  10. end
  11. act 'Pull a card from the deck':
  12. *clr & cla
  13. you_slut += 1
  14. !!if you_slut < 10:end
  15. if you_slut >= 10 and you_slut < 20:
  16. pcs_horny += 1
  17. elseif you_slut >= 20 and you_slut < 30:
  18. pcs_horny += 2
  19. elseif you_slut >= 30 and you_slut < 40:
  20. pcs_horny += 3
  21. elseif you_slut >= 40 and you_slut < 50:
  22. pcs_horny += 4
  23. elseif you_slut >= 50 and you_slut < 60:
  24. pcs_horny += 5
  25. elseif you_slut >= 60 and you_slut < 70:
  26. pcs_horny += 6
  27. elseif you_slut >= 70 and you_slut < 80:
  28. pcs_horny += 7
  29. elseif you_slut >= 80 and you_slut < 90:
  30. pcs_horny += 8
  31. elseif you_slut >= 90 and you_slut < 100:
  32. pcs_horny += 9
  33. elseif you_slut >= 100:
  34. pcs_horny += 10
  35. end
  36. minut += 1
  37. gs 'stat'
  38. papkarand = rand(0, 4)
  39. if papkarand = 0:$papkacard = 'a'
  40. if papkarand = 1:$papkacard = 'b'
  41. if papkarand = 2:$papkacard = 'c'
  42. if papkarand = 3:$papkacard = 'd'
  43. if papkarand = 4:$papkacard = 'j'
  44. if papkarand = 4:
  45. numcard = rand(1, 2)
  46. nomcard = 10
  47. else
  48. numcard = rand(2, 14)
  49. if numcard < 10:nomcard = numcard
  50. if numcard >= 10:nomcard = 10
  51. end
  52. if card_deck = 0:
  53. '<center><img <<$set_imgh>> src="images/pc/items/accessories/cards/card/<<$papkacard>>/<<$papkacard>><<numcard>>.jpg"></center>'
  54. elseif card_deck = 1:
  55. '<center><img <<$set_imgh>> src="images/pc/items/accessories/cards/card2/<<$papkacard>>/<<$papkacard>><<numcard>>.jpg"></center>'
  56. end
  57. 'Denomination card <<nomcard>>'
  58. act 'Put the card back into the deck':gt 'card'
  59. end
  60. if card_deck = 0:
  61. act 'Throw away your deck of vintage porn cards':
  62. vcard = 0
  63. vcard_trash = 1
  64. killvar '$card_loc'
  65. gt $loc
  66. end
  67. elseif card_deck = 1:
  68. act 'Throw away your deck of new porn cards':
  69. card = 0
  70. killvar '$card_loc'
  71. gt $loc
  72. end
  73. end
  74. --- card ---------------------------------