npc_finder.qsrc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # npc_finder
  2. *clr
  3. gs 'obj_din', 'cheattabs'
  4. '<center><a href="exec: gt ''npc_finder'', ''finder''">Enter the ID of the character.</a></center>'
  5. *nl
  6. '<center><a href="exec: gt ''npc_finder'', ''finderDNA''">Enter the DNA of the character.</a></center>'
  7. if $ARGS[0] = 'finder':
  8. $looking = input ('ID (like <i>A17</i>)')
  9. if $looking ! '': gt 'npc_finder'
  10. end
  11. if $ARGS[0] = 'finderDNA':
  12. $looking = input ('DNA (like <i>1594378993</i>)')
  13. if $looking ! '' and isnum($looking):
  14. killvar 'npctemp'
  15. :npcdnafinder
  16. if val($looking) = val($mid($npc_dna['A<<npctemp>>'], 1, 10)): $npctemp = 'A<<npctemp>>'
  17. if $npctemp = '':
  18. if val($looking) = val($mid($npc_dna['B<<npctemp>>'], 1, 10)): $npctemp = 'B<<npctemp>>'
  19. end
  20. if $npctemp = '':
  21. if val($looking) = val($mid($npc_dna['C<<npctemp>>'], 1, 10)): $npctemp = 'C<<npctemp>>'
  22. end
  23. if npctemp < arrsize('$npc_dna') and $npctemp = '': npctemp += 1 & jump 'npcdnafinder'
  24. $looking = $npctemp
  25. killvar 'npctemp'
  26. end
  27. if $looking = '': msg 'Can''t find this NPC' & killvar 'looking' & exit
  28. gt 'npc_finder'
  29. end
  30. if $looking ! '':
  31. '<br><br>'
  32. 'Found character:'
  33. if $mid($looking,1,1) = 'A':
  34. if $npc_pic[$looking] = '':
  35. '<center><img src="images/characters/shared/headshots_main/big<<mid($looking,2)>>.jpg"></center>'
  36. else
  37. '<center><img <<$set_imgh>> src="<<$npc_pic[$looking]>>"></center>'
  38. end
  39. else
  40. '<center><img <<$set_imgh>> src="images/system/phone/icons/<<$npc_pic[$looking]>>"></center>'
  41. end
  42. '<br>ID: <<$looking>>'
  43. 'DNA string: <<$npc_dna[$looking]>>'
  44. 'Name: <<$npc_firstname[$looking]>>'+ iif($npc_nickname[$looking] ! '', ' "<<$npc_nickname[$looking]>>" ',' ') +'<<$npc_lastname[$looking]>> (<<$npc_usedname[$looking]>>)'
  45. if npc_dob[$looking] > 0: 'Birthday (YYYY-MM-DD): <<mid(npc_dob[$looking],1,4)>>-<<mid(npc_dob[$looking],5,2)>>-<<mid(npc_dob[$looking],7,2)>>'
  46. if npc_intel[$looking] > 0: 'Intelligence: <<npc_intel[$looking]>>'
  47. if npc_grupTipe[$looking] >= 0: 'Social group: <<npc_grupTipe[$looking]>>'
  48. if npc_sexskill[$looking] >= 0: 'Sex skill: <<npc_sexskill[$looking]>>'
  49. if npc_rep[$looking] > 0: ' Reputation in school: <<npc_rep[$looking]>>'
  50. if npc_haircol[$looking] = 0:
  51. 'Natural hair color: black (<<npc_haircol[$looking]>>)'
  52. elseif npc_haircol[$looking] = 1:
  53. 'Natural hair color: brown (<<npc_haircol[$looking]>>)'
  54. elseif npc_haircol[$looking] = 2:
  55. 'Natural hair color: read (<<npc_haircol[$looking]>>)'
  56. else
  57. 'Natural hair color: blonde (<<npc_haircol[$looking]>>)'
  58. end
  59. if npc_hotcat[$looking] > 0: 'Hotness rating: <<npc_hotcat[$looking]>>'
  60. if npc_apprnc[$looking] > 0: 'Appearance value: <<npc_apprnc[$looking]>>'
  61. if nnpc_heightpc_rep[$looking] > 0: 'Height: <<npc_height[$looking]>>'
  62. if npc_gender[$looking] = 0:
  63. 'Gender: male'
  64. 'Dick thickness: <<$npc_thdick[$looking]>>'
  65. 'Dick length: <<npc_dick[$looking]>>'
  66. 'Potential: <<npc_spermpot[$looking]>> (default is 10000)'
  67. else
  68. 'Gender: female'
  69. 'Breast size: <<npc_bust[$looking]>>'
  70. end
  71. if npc_herpes[$looking] > 0: $npcvendisease += 'herpes; '
  72. if npc_syth[$looking] > 0: $npcvendisease += 'syphilis; '
  73. if npc_gon[$looking] > 0: $npcvendisease += 'gonorrhea; '
  74. if npc_thrush[$looking] > 0: $npcvendisease += 'yeast infection; '
  75. if $npcvendisease = '': $npcvendisease = 'none'
  76. 'Veneral diseases: <<$npcvendisease>>'
  77. 'Sexual acts with PC: <<npc_sex[$looking]>>'
  78. 'Perversion: <<npc_perv[$looking]>>'
  79. 'Notes: <<$npc_notes[$looking]>>'
  80. ''
  81. 'Found relationships:'
  82. npctemp = 0
  83. :relationshipfinder
  84. gs 'DNA','relate', $npc_dna[$looking], $npc_dna['A<<npctemp>>']
  85. if $gen_relationship ! '' and 'A<<npctemp>>' ! $looking:
  86. '<center><img src="images/characters/shared/headshots_main/big<<npctemp>>.jpg"></center>'
  87. '<br><a href="exec:$looking = ''A<<npctemp>>'' & gt ''npc_finder''">ID: A<<npctemp>></a>'
  88. 'DNA string: <<$npc_dna[''A<<npctemp>>'']>>'
  89. 'Name: <<$npc_firstname[''A<<npctemp>>'']>>'+ iif($npc_nickname['A<<npctemp>>'] ! '', ' "<<$npc_nickname[''A<<npctemp>>'']>>" ',' ') +'<<$npc_lastname[''A<<npctemp>>'']>> (<<$npc_usedname[''A<<npctemp>>'']>>)'
  90. 'Relationship type: <<$gen_relationship>>'
  91. end
  92. if npctemp < aarraynumber: npctemp += 1 & jump 'relationshipfinder'
  93. killvar 'npctemp'
  94. killvar 'npcvendisease'
  95. killvar 'looking'
  96. end
  97. --- npc_finder ---------------------------------