npcgenext.qsrc 1.0 KB

1234567891011121314151617181920212223242526
  1. # npcgenext
  2. ! {Venerial Disease Generator. requires an index.}
  3. if $args[0] = 'rstd':
  4. if $ARGS[1] = '': ARGS[1] = 0
  5. if isnum(mid($ARGS[1],1,1)) and val(mid($ARGS[1],1,1)) < 10:
  6. $tempvan1 = 'A' + $ARGS[1]
  7. else
  8. $tempvan1 = $ARGS[1]
  9. end
  10. if rand(0,100) = 100:
  11. tempvenerial = rand(1,4)
  12. !! Herpes simplex virus 1 and 2 (HSV-1 and HSV-2) are common and contagious. About 67% of the world population under the age of 50 has HSV-1
  13. if tempvenerial = 1: npc_herpes[$tempvan1] = 1
  14. !! Syphilis is a sexually transmitted infection caused by the bacterium
  15. if tempvenerial = 2: npc_syth[$tempvan1] = 1
  16. !! Gonorrhea, colloquially known as the clap, is a sexually transmitted infection (STI) caused by the bacterium
  17. if tempvenerial = 3: npc_gon[$tempvan1] = 1
  18. !! Candidiasis/yeast infection is a fungal infection due to any type of Candida. When it affects the mouth, in some countries it is commonly called thrush.
  19. if tempvenerial = 4: npc_thrush[$tempvan1] = 1
  20. end
  21. killvar 'tempvenerial'
  22. killvar '$tempvan1'
  23. end
  24. --- npcgenext ---------------------------------