1
0

tattoo_management.qsrc 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. # tattoo_management
  2. if $ARGS[0] = 'totals':
  3. result = 0
  4. if $ARGS[1] = 'ankle':
  5. result = 25
  6. elseif $ARGS[1] = 'arm':
  7. result = 77
  8. elseif $ARGS[1] = 'ass':
  9. result = 25
  10. elseif $ARGS[1] = 'back':
  11. result = 61
  12. elseif $ARGS[1] = 'belly':
  13. result = 21
  14. elseif $ARGS[1] = 'breast':
  15. result = 11
  16. elseif $ARGS[1] = 'chest':
  17. result = 15
  18. elseif $ARGS[1] = 'face':
  19. result = 8
  20. elseif $ARGS[1] = 'hand':
  21. result = 9
  22. elseif $ARGS[1] = 'leg':
  23. result = 47
  24. elseif $ARGS[1] = 'lip':
  25. result = 9
  26. elseif $ARGS[1] = 'neck':
  27. result = 30
  28. elseif $ARGS[1] = 'pussy':
  29. result = 53
  30. elseif $ARGS[1] = 'shoulder':
  31. result = 25
  32. elseif $ARGS[1] = 'side':
  33. result = 23
  34. elseif $ARGS[1] = 'tramp':
  35. result = 32
  36. elseif $ARGS[1] = 'under':
  37. result = 22
  38. elseif $ARGS[1] = 'wrist':
  39. result = 51
  40. end
  41. exit
  42. end
  43. if $ARGS[0] = 'add':
  44. if pcs_tattoos[$ARGS[1]] < 0: pcs_tattoos['total'] += 1
  45. pcs_tattoos['any'] = 1
  46. pcs_tattoos[$ARGS[1]] = ARGS[2]
  47. exit
  48. end
  49. if $ARGS[0] = 'remove':
  50. if pcs_tattoos[$ARGS[1]] > 0:
  51. pcs_tattoos['total'] -= 1
  52. pcs_tattoos[$ARGS[1]] = -pcs_tattoos[$ARGS[1]]
  53. end
  54. exit
  55. end
  56. if $ARGS[0] = 'full_reset':
  57. killvar 'pcs_tattoos'
  58. exit
  59. end
  60. if $ARGS[0] = 'count':
  61. pcs_tattoos['total'] = 0
  62. if pcs_tattoos['ankle'] > 0: pcs_tattoos['total'] += 1
  63. if pcs_tattoos['arm'] > 0: pcs_tattoos['total'] += 1
  64. if pcs_tattoos['ass'] > 0: pcs_tattoos['total'] += 1
  65. if pcs_tattoos['back'] > 0: pcs_tattoos['total'] += 1
  66. if pcs_tattoos['belly'] > 0: pcs_tattoos['total'] += 1
  67. if pcs_tattoos['breast'] > 0: pcs_tattoos['total'] += 1
  68. if pcs_tattoos['chest'] > 0: pcs_tattoos['total'] += 1
  69. if pcs_tattoos['face'] > 0: pcs_tattoos['total'] += 1
  70. if pcs_tattoos['hand'] > 0: pcs_tattoos['total'] += 1
  71. if pcs_tattoos['leg'] > 0: pcs_tattoos['total'] += 1
  72. if pcs_tattoos['lip'] > 0: pcs_tattoos['total'] += 1
  73. if pcs_tattoos['neck'] > 0: pcs_tattoos['total'] += 1
  74. if pcs_tattoos['pussy'] > 0: pcs_tattoos['total'] += 1
  75. if pcs_tattoos['shoulder'] > 0: pcs_tattoos['total'] += 1
  76. if pcs_tattoos['side'] > 0: pcs_tattoos['total'] += 1
  77. if pcs_tattoos['tramp'] > 0: pcs_tattoos['total'] += 1
  78. if pcs_tattoos['under'] > 0: pcs_tattoos['total'] += 1
  79. if pcs_tattoos['wrist'] > 0: pcs_tattoos['total'] += 1
  80. exit
  81. end
  82. if $ARGS[0] = 'ankle_image':
  83. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['ankle']
  84. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  85. $result = 'images/pc/body/tattoos/foot/tatankle<<ARGS[1]>>.jpg'
  86. exit
  87. end
  88. if $ARGS[0] = 'arm_image':
  89. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['arm']
  90. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  91. $result = 'images/pc/body/tattoos/arms/tatarm<<ARGS[1]>>.jpg'
  92. exit
  93. end
  94. if $ARGS[0] = 'ass_image':
  95. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['ass']
  96. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  97. $result = 'images/pc/body/tattoos/ass/tatass<<ARGS[1]>>.jpg'
  98. exit
  99. end
  100. if $ARGS[0] = 'back_image':
  101. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['back']
  102. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  103. $result = 'images/pc/body/tattoos/back/tatback<<ARGS[1]>>.jpg'
  104. exit
  105. end
  106. if $ARGS[0] = 'belly_image':
  107. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['belly']
  108. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  109. $result = 'images/pc/body/tattoos/belly/tatblly<<ARGS[1]>>.jpg'
  110. exit
  111. end
  112. if $ARGS[0] = 'breast_image':
  113. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['breast']
  114. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  115. $result = 'images/pc/body/tattoos/breasts/tatbrst<<ARGS[1]>>.jpg'
  116. exit
  117. end
  118. if $ARGS[0] = 'chest_image':
  119. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['chest']
  120. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  121. $result = 'images/pc/body/tattoos/chest/tatchst<<ARGS[1]>>.jpg'
  122. exit
  123. end
  124. if $ARGS[0] = 'face_image':
  125. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['face']
  126. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  127. $result = 'images/pc/body/tattoos/face/tatfce<<ARGS[1]>>.jpg'
  128. exit
  129. end
  130. if $ARGS[0] = 'hand_image':
  131. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['hand']
  132. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  133. $result = 'images/pc/body/tattoos/hand/tathnd<<ARGS[1]>>.jpg'
  134. exit
  135. end
  136. if $ARGS[0] = 'leg_image':
  137. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['leg']
  138. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  139. $result = 'images/pc/body/tattoos/legs/tatleg<<ARGS[1]>>.jpg'
  140. exit
  141. end
  142. if $ARGS[0] = 'lip_image':
  143. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['lip']
  144. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  145. $result = 'images/pc/body/tattoos/lip/tatlip<<ARGS[1]>>.jpg'
  146. exit
  147. end
  148. if $ARGS[0] = 'neck_image':
  149. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['neck']
  150. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  151. $result = 'images/pc/body/tattoos/neck/tatnck<<ARGS[1]>>.jpg'
  152. exit
  153. end
  154. if $ARGS[0] = 'pussy_image':
  155. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['pussy']
  156. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  157. $result = 'images/pc/body/tattoos/pubic/tatvag<<ARGS[1]>>.jpg'
  158. exit
  159. end
  160. if $ARGS[0] = 'shoulder_image':
  161. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['shoulder']
  162. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  163. $result = 'images/pc/body/tattoos/shoulder/tatshldr<<ARGS[1]>>.jpg'
  164. exit
  165. end
  166. if $ARGS[0] = 'side_image':
  167. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['side']
  168. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  169. $result = 'images/pc/body/tattoos/side/tatside<<ARGS[1]>>.jpg'
  170. exit
  171. end
  172. if $ARGS[0] = 'tramp_image':
  173. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['tramp']
  174. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  175. $result = 'images/pc/body/tattoos/trampStamp/tatlowbck<<ARGS[1]>>.jpg'
  176. exit
  177. end
  178. if $ARGS[0] = 'under_image':
  179. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['under']
  180. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  181. $result = 'images/pc/body/tattoos/underBreast/tatundbreast<<ARGS[1]>>.jpg'
  182. exit
  183. end
  184. if $ARGS[0] = 'wrist_image':
  185. if ARGS[1] = 0: ARGS[1] = pcs_tattoos['wrist']
  186. if ARGS[1] < 0: ARGS[1] = -ARGS[1]
  187. $result = 'images/pc/body/tattoos/wrists/tatwrst<<ARGS[1]>>.jpg'
  188. exit
  189. end
  190. --- tattoo_management --------------------------------------------------