npccleanc.qsrc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # npccleanc
  2. !! {This code should be called to purge a specific NPC. It expects an ARGS[0] of the code of the C array.}
  3. $tempcclean = $ARGS[0]
  4. $npc_firstname[$tempcclean] = ''
  5. $npc_nickname[$tempcclean] = ''
  6. $npc_lastname[$tempcclean] = ''
  7. $npc_usedname[$tempcclean] = ''
  8. $npc_notes[$tempcclean] = ''
  9. npc_dob[$tempcclean] = 0
  10. npc_vital[$tempcclean] = 0
  11. npc_stren[$tempcclean] = 0
  12. npc_intel[$tempcclean] = 0
  13. npc_agil[$tempcclean] = 0
  14. npc_sprt[$tempcclean] = 0
  15. npc_magik[$tempcclean] = 0
  16. npc_drunk[$tempcclean] = 0
  17. npc_pantys[$tempcclean] = 0
  18. npc_cyc[$tempcclean] = 0
  19. npc_fert[$tempcclean] = 0
  20. $npc_firstpart[$tempcclean] = ''
  21. $npc_lastpart[$tempcclean] = ''
  22. $npc_kidpater[$tempcclean] = ''
  23. npc_gender[$tempcclean] = 0
  24. $npc_thdick[$tempcclean] = ''
  25. npc_dick[$tempcclean] = 0
  26. npc_sexskill[$tempcclean] = 0
  27. npc_spermpot[$tempcclean] = 0
  28. npc_vag[$tempcclean] = 0
  29. npc_ass[$tempcclean] = 0
  30. npc_hymen[$tempcclean] = 0
  31. npc_horny[$tempcclean] = 0
  32. npc_Pavrep[$tempcclean] = 0
  33. npc_Godrep[$tempcclean] = 0
  34. npc_apprnc[$tempcclean] = 0
  35. npc_lipbalm[$tempcclean] = 0
  36. npc_makeup[$tempcclean] = 0
  37. npc_sweat[$tempcclean] = 0
  38. npc_dye[$tempcclean] = 0
  39. npc_hairbsh[$tempcclean] = 0
  40. npc_skin[$tempcclean] = 0
  41. npc_bodyhair[$tempcclean] = 0
  42. npc_breath[$tempcclean] = 0
  43. npc_hipcurv[$tempcclean] = 0
  44. npc_hgt[$tempcclean] = 0
  45. npc_bust[$tempcclean] = 0
  46. npc_nips[$tempcclean] = 0
  47. npc_fat[$tempcclean] = 0
  48. npc_pubes[$tempcclean] = 0
  49. npc_hairlng[$tempcclean] = 0
  50. npc_haircol[$tempcclean] = 0
  51. npc_haircurl[$tempcclean] = 0
  52. npc_tan[$tempcclean] = 0
  53. npc_lip[$tempcclean] = 0
  54. npc_lashes[$tempcclean] = 0
  55. npc_eyesize[$tempcclean] = 0
  56. npc_eyecol[$tempcclean] = 0
  57. npc_dom[$tempcclean] = 0
  58. npc_sub[$tempcclean] = 0
  59. npc_glasses[$tempcclean] = 0
  60. npc_grades[$tempcclean] = 0
  61. npc_run[$tempcclean] = 0
  62. npc_vball[$tempcclean] = 0
  63. npc_shoot[$tempcclean] = 0
  64. npc_sewing[$tempcclean] = 0
  65. npc_serving[$tempcclean] = 0
  66. npc_chess[$tempcclean] = 0
  67. npc_dance[$tempcclean] = 0
  68. npc_danceero[$tempcclean] = 0
  69. npc_jab[$tempcclean] = 0
  70. npc_punch[$tempcclean] = 0
  71. npc_kick[$tempcclean] = 0
  72. npc_def[$tempcclean] = 0
  73. npc_vokal[$tempcclean] = 0
  74. npc_teach[$tempcclean] = 0
  75. npc_QW[$tempcclean] = 0
  76. npc_rel[$tempcclean] = 0
  77. npc_love[$tempcclean] = 0
  78. npc_job[$tempcclean] = 0
  79. npc_cloc[$tempcclean] = 0
  80. $npc_dad[$tempcclean] = ''
  81. $npc_mom[$tempcclean] = ''
  82. $npc_pic[$tempcclean] = ''
  83. npc_herpes[$tempcclean] = 0
  84. npc_syth[$tempcclean] = 0
  85. npc_gon[$tempcclean] = 0
  86. npc_chlam[$tempcclean] = 0
  87. npc_genwart[$tempcclean] = 0
  88. npc_thrush[$tempcclean] = 0
  89. npc_malen[$tempcclean] = 0
  90. npc_chem[$tempcclean] = 0
  91. npc_clothpref[$tempcclean] = 0
  92. $npc_PersType[$tempcclean] = ''
  93. $npc_dna[$tempcclean] = ''
  94. i = arrsize('$cemptyarray')
  95. $cemptyarray[i] = $tempcclean
  96. :clean_sanity_loop
  97. i = arrsize('$cemptyarray')
  98. If i > 1 and $cemptyarray[0] = $cemptyarray[i]: killvar '$cemptyarray', i & jump 'clean_sanity_loop'
  99. killvar '$tempcclean'
  100. --- npccleanc ---------------------------------