Snpc.qsrc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Snpc
  2. !2022/11/21
  3. gs 'dinnpc'
  4. gs 'stat'
  5. !!$static_num = $school_static_num[numnpc]
  6. $static_num = 'A<<numnpc>>'
  7. '<center><b><font color="maroon"><<$npc_firstname[''A<<numnpc>>'']>> <<$npc_lastname[''A<<numnpc>>'']>></font></b></center>'
  8. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big<<numnpc>>.jpg"></center>'
  9. '<<$npc_notes[''A<<numnpc>>'']>>'
  10. if npc_rel['A<<numnpc>>'] < 20:'They really don''t like you.'
  11. if npc_rel['A<<numnpc>>'] >= 20 and npc_rel['A<<numnpc>>'] < 40:'They are fairly indifferent to you.'
  12. if npc_rel['A<<numnpc>>'] >= 40 and npc_rel['A<<numnpc>>'] < 60:'The two of you get along together fairly well, more of casual friends.'
  13. if npc_rel['A<<numnpc>>'] >= 60 and npc_rel['A<<numnpc>>'] < 80:'You get along great with them. They are one of your friends.'
  14. if npc_rel['A<<numnpc>>'] >= 80:'They are one of your best friends.'
  15. !!act 'Move away':gt $loc, $loc_arg
  16. gs 'cumreaction'
  17. if $loc ! 'pav_disco':
  18. act 'Leave': gt 'gschool_lessons', 'short_break'
  19. else
  20. act 'Move away': gt $loc, $loc_arg
  21. end
  22. !!Chat
  23. act 'Chat':
  24. *clr & cla
  25. if $loc = 'pav_disco':minut += 5
  26. gs 'stat'
  27. '<center><b><font color="maroon"><<$npc_firstname[''A<<numnpc>>'']>> <<$npc_lastname[''A<<numnpc>>'']>></font></b></center>'
  28. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big<<numnpc>>.jpg"></center>'
  29. if $loc ! 'pav_disco':
  30. act 'Continue': gt 'gschool_lessons', 'short_break'
  31. else
  32. act 'Move away':gt $loc, $loc_arg
  33. end
  34. end
  35. --- Snpc ---------------------------------