npcgeneratec.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. # npcgeneratec
  2. ! {This file expects npctempgsex which is the desired sex of the NPC to be generated, $npctempgn[0], which is the used name of the generated NPC. Rapist or Red Headed Stranger, for example. And npctempgage, which is the approximate age of the NPC in years. Everything is then randomly generated, and you are expected to fix the generated NPC yourself with any special items you need from it after it completes running. So sex, what you call them until they introduce themselves, and age.}
  3. ! The fourth parameters indicates what area the npc''s home is in
  4. !! 1 - Pavlovsk Residential Area
  5. !! 2 - Student dorms in the city
  6. !! 3 - St. Petersburg Residential Area
  7. !! 4 - St. Petersburg City Center
  8. !! {A example to use this would be gs 'npcgeneratec', 0, 'stranger', rand(18,45) which would generate a male with a used name of stranger between 18 and 45.}
  9. npctempgsex = ARGS[0]
  10. $npctempgn[0] = $ARGS[1]
  11. npctempgage = ARGS[2]
  12. temp_location = ARGS[3]
  13. if temp_location = 0:
  14. if $region = 'city_center' or $region = 'city_residential' or $region = 'city_industrial' or $region = 'city_island' or $region = 'city_lake' or $region = 'city_park':
  15. temp_location = rand(3,4)
  16. elseif $region = 'pav_commercial' or $region = 'pav_park' or $region = 'pav_residential':
  17. temp_location = 1
  18. end
  19. end
  20. !! {First we set the newly generated index number or overwrite the first blank number}
  21. !! {Checks to see if array 0 in the cleanup list is available for overwrite and makes the overwrite as that if so.}
  22. if mid($cemptyarray[0],1,1) = 'C':
  23. $npclastgenerated = $cemptyarray[0]
  24. killvar '$cemptyarray', 0
  25. else
  26. :npcgencsanityloop
  27. i = 0
  28. $npclastgenerated = 'C' + '<<carraynumber>>'
  29. $npctemparrc = 'C' + '<<(carraynumber)-(1)>>'
  30. if $npc_perstype[$npctemparrc] = '' and carraynumber > 0:
  31. carraynumber -= 1
  32. i = 1
  33. elseif $npc_perstype[$npclastgenerated] = '':
  34. i = 0
  35. else
  36. carraynumber += 1
  37. i = 1
  38. end
  39. if i = 1: jump 'npcgencsanityloop'
  40. end
  41. carraynumber += 1
  42. $npc_index[$npclastgenerated] = $npclastgenerated
  43. ! {Now we need a random birthday based on the rough age given.}
  44. npctempc1[1] = year - npctempgage
  45. npctempc1[2] = rand(1,12)
  46. if npctempc1[2] = 4 or npctempc1[2] = 6 or npctempc1[2] = 9 or npctempc1[2] = 11:
  47. npctempc1[3] = rand(1,30)
  48. elseif npctempc1[2] = 1 or npctempc1[2] = 3 or npctempc1[2] = 5 or npctempc1[2] = 7 or npctempc1[2] = 8 or npctempc1[2] = 10 or npctempc1[2] = 12:
  49. npctempc1[3] = rand(1,31)
  50. elseif ((npctempc1[1] mod 4 = 0) and (npctempc1[1] mod 100 ! 0)) or (npctempc1[1] mod 400 = 0):
  51. npctempc1[3] = rand(1,29)
  52. else
  53. npctempc1[3] = rand(1,28)
  54. end
  55. npc_dob[$npclastgenerated] = npctempc1[1] * 10000
  56. npc_dob[$npclastgenerated] += (npctempc1[2] * 100)
  57. npc_dob[$npclastgenerated] += npctempc1[3]
  58. ! {we save the unique number of the npc, to be able to get the index of the array via arrpos}
  59. ! {Now, we set the variable for the stat randomization as well as calculate chance of virginity.}
  60. if npctempgage < 18:
  61. npctempc2[0] = 30
  62. npctempc2[1] = rand(0,20)
  63. else
  64. npctempc2[0] = 50
  65. npctempc2[1] = rand(19,24)
  66. end
  67. ! {We flag virginity based on the results of the check. Overwrite it after generation if you want to be sure of status.}
  68. if npctempc2[1] < 20:
  69. npc_sexskill[$npclastgenerated] = 0
  70. end
  71. ! {Then we need to give them a name, and establish their official gender}
  72. if npctempgsex = 0:
  73. ! {Male}
  74. gs 'npcrnamefile', 'rusMale'
  75. gs 'npcgenext', 'dick'
  76. npc_gender[$npclastgenerated] = 0
  77. npc_spermpot[$npclastgenerated] = 10000
  78. $npc_thdick[$npclastgenerated] = $npctempgn[4]
  79. npc_dick[$npclastgenerated] = npctempgn[5]
  80. $npc_notes[$npclastgenerated] = 'A male.'
  81. npc_bust[$npclastgenerated] = 0
  82. elseif npctempgsex = 1:
  83. ! {Female}
  84. gs 'npcrnamefile', 'rusFemale'
  85. npc_gender[$npclastgenerated] = 1
  86. npc_spermpot[$npclastgenerated] = -1
  87. $npc_thdick[$npclastgenerated] = 'clitoris'
  88. npc_dick[$npclastgenerated] = rand(0,1)
  89. $npc_notes[$npclastgenerated] = 'A female.'
  90. !!0 - 60 curve around 22,5 (C/D cups)
  91. npc_bust[$npclastgenerated] = rand(0,15) + rand(0,15) + rand(0,15) & if rand(1,10) = 1: npc_bust[$npclastgenerated] += rand(0,15)
  92. elseif npctempgsex = 2:
  93. ! {HermFemale}
  94. gs 'npcrnamefile', 'rusFemale'
  95. gs 'npcgenext', 'dick'
  96. npc_gender[$npclastgenerated] = 1
  97. npc_spermpot[$npclastgenerated] = -1
  98. $npc_thdick[$npclastgenerated] = 'clitoris'
  99. npc_dick[$npclastgenerated] = npctempgn[5]
  100. $npc_notes[$npclastgenerated] = 'A female Hermaphrodite.'
  101. !!0 - 60 curve around 22,5 (C/D cups)
  102. npc_bust[$npclastgenerated] = rand(0,15) + rand(0,15) + rand(0,15)
  103. else
  104. ! {HermMale}
  105. gs 'npcrnamefile', 'rusMale'
  106. gs 'npcgenext', 'dick'
  107. npc_gender[$npclastgenerated] = 0
  108. npc_spermpot[$npclastgenerated] = 10000
  109. $npc_thdick[$npclastgenerated] = $npctempgn[4]
  110. npc_dick[$npclastgenerated] = npctempgn[5]
  111. $npc_notes[$npclastgenerated] = 'A male Hermaphrodite.'
  112. npc_bust[$npclastgenerated]= rand(0,10)
  113. end
  114. ! {Then we set the names, and the stat high ends as determined earlier.}
  115. gs 'npcrnamefile', 'rusSur'
  116. $npc_firstname[$npclastgenerated] = $npctempgn[1]
  117. $npc_nickname[$npclastgenerated] = $npctempgn[2]
  118. $npc_lastname[$npclastgenerated] = $npctempgn[3]
  119. $npc_usedname[$npclastgenerated] = $npctempgn[0]
  120. npc_intel[$npclastgenerated] = rand(1,npctempc2)
  121. ! {Then we call out other stats}
  122. npc_drunk[$npclastgenerated] = 0
  123. ! {NPCs start with random horniness}
  124. npc_horny[$npclastgenerated] = rand(0,60)
  125. ! {Random attractiveness}
  126. npc_apprnc[$npclastgenerated] = rand(30,60)
  127. ! {Random skin quality and body hair}
  128. npc_height[$npclastgenerated] = 0
  129. ! {Random pubic hair}
  130. npc_haircol[$npclastgenerated] = 0
  131. ! {Starting at 0 quest state and love for the character, and slightly disliked.}
  132. npc_QW[$npclastgenerated]= 0
  133. npc_rel[$npclastgenerated] = 40
  134. npc_love[$npclastgenerated] = 0
  135. ! {Start unemployed and unspecified location}
  136. npc_occupation[$npclastgenerated] = 0
  137. npc_outfit[$npclastgenerated] = 0
  138. ! {Unspecified dad and <<$npc_nickname[''A29'']>>, and picture. We could have a stock group of pictures and have it pick based on certain attribute types, but...}
  139. $npc_pic[$npclastgenerated] = 'xPICx'
  140. ! {STDs are not randomly given here. For characters with a STD, you need to gs npcgenext rstd }
  141. npc_herpes[$npclastgenerated] = 0
  142. npc_syth[$npclastgenerated] = 0
  143. npc_gon[$npclastgenerated] = 0
  144. npc_thrush[$npclastgenerated] = 0
  145. npc_sex[$npclastgenerated] = 0
  146. npc_perv[$npclastgenerated] = 0
  147. ! {Personality is called up}
  148. gs 'npcgenext', 'pers'
  149. $npc_perstype[$npclastgenerated] = $npctempgn[6]
  150. ! {Creating the DNA of the character. If it is someone specific, like father, mother, daughter, sone, etc. then should be overwritten.}
  151. $npc_dna[$npclastgenerated] = func('DNA','create')
  152. ! npc_apt_type = 1: student dorm (only available in the city for obvious reasons)
  153. ! npc_apt_type = 2: studio apartment
  154. ! npc_apt_type = 3: one bedroom apartment (or 2 bedroom by UK/european definition, an apartment that has a separate bedroom unlike a studio)
  155. ! npc_apt_type = 4: multi-bedroom apartment with roommates
  156. ! npc_apt_type = 5: multi-bedroom apartment living alone
  157. ! npc_apt_type = 6: high rise apartment (for rich people only)
  158. ! boyfriend attributes
  159. !! temp_location
  160. !! 1 - Pavlovsk Residential Area
  161. !! 2 - Student dorms in the city
  162. !! 3 - St. Petersburg Residential Area
  163. !! 4 - St. Petersburg City Center
  164. npc_residence[$npclastgenerated] = temp_location
  165. if temp_location = 1:
  166. npc_finance[$npclastgenerated] = 0
  167. elseif temp_location = 2:
  168. npc_finance[$npclastgenerated] = 0
  169. elseif temp_location = 3:
  170. npc_finance[$npclastgenerated] = rand(1,2)
  171. elseif temp_location = 4:
  172. npc_finance[$npclastgenerated] = 2
  173. end
  174. if npc_finance[$npclastgenerated] = 0:
  175. if npc_residence[$npclastgenerated] ! 1 and npc_residence[$npclastgenerated] ! 4 and npctempgage < 22:
  176. npc_student[$npclastgenerated] = rand(0,1)
  177. npc_apt_type[$npclastgenerated] = rand(1,4)
  178. elseif npc_residence[$npclastgenerated] = 2:
  179. npc_student[$npclastgenerated] = 1
  180. npc_apt_type[$npclastgenerated] = 2
  181. else
  182. npc_apt_type[$npclastgenerated] = rand(2,4)
  183. end
  184. npc_occupation[$npclastgenerated] = rand(1,7)
  185. elseif npc_finance[$npclastgenerated] = 1:
  186. npc_apt_type[$npclastgenerated] = rand(2,5)
  187. npc_occupation[$npclastgenerated] = rand(7,15)
  188. elseif npc_finance[$npclastgenerated] = 2:
  189. npc_apt_type[$npclastgenerated] = rand(5,6)
  190. npc_occupation[$npclastgenerated] = rand(14,18)
  191. end
  192. ! npc_style determines generally how they dress and what their "persona" is
  193. ! 1 - "normal"
  194. ! 2 - Gopnik
  195. ! 3 - nerdy
  196. ! 4 - sporty
  197. ! 5 - fashionable
  198. ! 6 - businessman
  199. if npc_occupation < 15:
  200. npc_style[$npclastgenerated] = rand(1,5)
  201. else
  202. npc_style[$npclastgenerated] = (rand(2,6) mod 6) + 1
  203. end
  204. if npc_apt_type = 6:
  205. !! high rise
  206. !! this is to determine what their spare room is used for based on their personality type
  207. if npc_style = 3:
  208. npc_apt_spare = 1
  209. elseif npc_style = 2 or npc_style = 4:
  210. npc_apt_spare = 2
  211. else
  212. npc_apt_spare = rand(1,2)
  213. end
  214. if npc_apt_spare = 1:
  215. $npc_apt_spare = 'gaming'
  216. elseif npc_apt_spare = 2:
  217. $npc_apt_spare = 'gym'
  218. end
  219. npc_apt_number[$npclastgenerated] = rand(1,2)
  220. $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  221. $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  222. $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  223. $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  224. $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  225. elseif npc_apt_type = 4 or npc_apt_type = 5:
  226. !! multi-bedroom
  227. !! npc_apt_type = 4 will one day be living with roommates but for now we''re just making it easy on ourselves. No roommates until later.
  228. !! this is to determine what their spare room is used for based on their personality type
  229. if npc_style = 3:
  230. npc_apt_spare = 1
  231. elseif npc_style = 2 or npc_style = 4:
  232. npc_apt_spare = 2
  233. else
  234. npc_apt_spare = rand(1,2)
  235. end
  236. if npc_apt_spare = 1:
  237. $npc_apt_spare = 'gaming'
  238. elseif npc_apt_spare = 2:
  239. $npc_apt_spare = 'gym'
  240. end
  241. npc_apt_number[$npclastgenerated] = rand(1,2)
  242. $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  243. $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
  244. $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  245. $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
  246. $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  247. $npc_apt_spare[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/<<$npc_apt_spare[$npclastgenerated]>>.jpg"></center>'
  248. elseif npc_apt_type = 3:
  249. !! one bedroom
  250. npc_apt_number[$npclastgenerated] = rand(1,3)
  251. $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  252. $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
  253. $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  254. $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
  255. $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  256. elseif npc_apt_type = 2:
  257. !! studio apartment
  258. npc_apt_number[$npclastgenerated] = rand(1,2)
  259. $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  260. $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  261. $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  262. $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  263. $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  264. elseif npc_apt_type = 1:
  265. !! student dorm
  266. npc_apt_number[$npclastgenerated] = rand(1,3)
  267. $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
  268. $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
  269. $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  270. $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
  271. $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
  272. end
  273. ! if npc_occupation = 1: $npc_occupation = cashier at supermarket
  274. ! if npc_occupation = 2: $npc_occupation = cashier at liquor store
  275. ! if npc_occupation = 3: $npc_occupation = cashier at coffee shop
  276. ! if npc_occupation = 4: $npc_occupation = barista
  277. ! if npc_occupation = 5: $npc_occupation = cheap restaurant job
  278. ! if npc_occupation = 6: $npc_occupation = taxi driver
  279. ! if npc_occupation = 7: $npc_occupation = masseuse
  280. ! if npc_occupation = 8: $npc_occupation = sexual masseuse
  281. ! if npc_occupation = 9: $npc_occupation = factory job
  282. ! if npc_occupation = 10: $npc_occupation = bartender
  283. ! if npc_occupation = 11: $npc_occupation = mechanic
  284. ! if npc_occupation = 12: $npc_occupation = line cook
  285. ! if npc_occupation = 13: $npc_occupation = waiter
  286. ! if npc_occupation = 14: $npc_occupation = personal trainer
  287. ! if npc_occupation = 15: $npc_occupation = programmer
  288. ! if npc_occupation = 16: $npc_occupation = businessman
  289. ! if npc_occupation = 17: $npc_occupation = lawyer
  290. ! if npc_occupation = 18: $npc_occupation = investment banker
  291. npc_humor[$npclastgenerated] = rand(0,3)
  292. !! npc_fav_pos = 1: missionary
  293. !! npc_fav_pos = 2: doggy
  294. !! npc_fav_pos = 3: cowgirl
  295. !! npc_fav_pos = 4: blowjobs
  296. !! npc_fav_pos = 5: titjobs
  297. !! npc_fav_pos = 6: 69
  298. !! npc_fav_pos = 7: anal
  299. npc_fav_pos[$npclastgenerated] = rand(1,7)
  300. npc_cum_pref[$npclastgenerated] = rand(0,4)
  301. npc_tit_pref[$npclastgenerated] = rand(0,3)
  302. npc_bush_pref[$npclastgenerated] = rand(0,3)
  303. npc_style[$npclastgenerated] = rand(1,6)
  304. npc_smoker[$npclastgenerated] = rand(0,2)
  305. ! we will skip addit for now, have a variable just for smoking
  306. !! npc_addit[$npclastgenerated] = rand(0,1)
  307. npc_doors[$npclastgenerated] = rand(0,2)
  308. npc_goal[$npclastgenerated] = rand(1,3)
  309. !! npc_goal is what they want out of a relationship
  310. !! 1 = just sex
  311. !! 2 = casual relationship
  312. !! 3 = serious relationship
  313. npc_fidelity[$npclastgenerated] = rand(1,10)
  314. npc_lover_days[$npclastgenerated] = 0
  315. npc_lover_keys[$npclastgenerated] = 0
  316. npc_residence[$npclastgenerated] = temp_location
  317. !! traits
  318. if rand(0,2) > 0:
  319. if rand(0,1) = 1:
  320. npc_earlyriser[$npclastgenerated] = 1
  321. npc_latesleeper[$npclastgenerated] = 0
  322. else
  323. npc_latesleeper[$npclastgenerated] = 1
  324. npc_earlyriser[$npclastgenerated] = 0
  325. end
  326. end
  327. if rand(0,2) > 0:
  328. if rand(0,1) = 1:
  329. npc_generous[$npclastgenerated] = 1
  330. npc_selfish[$npclastgenerated] = 0
  331. else
  332. npc_selfish[$npclastgenerated] = 1
  333. npc_generous[$npclastgenerated] = 0
  334. end
  335. end
  336. npc_argumentative[$npclastgenerated] = rand(0,2)
  337. npc_competitive[$npclastgenerated] = rand(-1,1)
  338. npc_insecure[$npclastgenerated] = rand(-1,1)
  339. if rand(0,1) = 1:
  340. npc_condom_conscious[$npclastgenerated] = rand(-1,1)
  341. else
  342. npc_no_condoms[$npclastgenerated] = rand(-1,1)
  343. end
  344. npc_childfree[$npclastgenerated] = rand(-3,1)
  345. npc_abusive[$npclastgenerated] = rand(-3,1)
  346. npc_sexdrive[$npclastgenerated] = rand(1,10)
  347. npc_pussyeater[$npclastgenerated] = rand(-2,1)
  348. npc_cum_cannon[$npclastgenerated] = rand(-3,1)
  349. ! {Variables are cleaned up.}
  350. killvar '$npctempgn'
  351. killvar 'npctempc1'
  352. killvar 'npctempc2'
  353. killvar 'npctempgsex'
  354. killvar '$npctempgn'
  355. killvar 'npctempgage'
  356. killvar '$npctemparrc'
  357. killvar 'temp_location'
  358. --- npcgeneratec ---------------------------------