1
0

Snpc.qsrc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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, like 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. You come here eg from school lunch.
  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. 'You chat a bit with <<$npc_firstname[''A<<numnpc>>'']>> <<$npc_lastname[''A<<numnpc>>'']>>'
  31. if npc_rel['A<<numnpc>>'] < 20:
  32. '"I have to go now, goodbye."'
  33. elseif npc_rel['A<<numnpc>>'] >= 20 and npc_rel['A<<numnpc>>'] < 40:
  34. '"Nice talking to you. I will see you in class."'
  35. elseif npc_rel['A<<numnpc>>'] >= 40 and npc_rel['A<<numnpc>>'] < 60:
  36. '"Really nice to talk to you. I will see you in class."'
  37. elseif npc_rel['A<<numnpc>>'] >= 60 and npc_rel['A<<numnpc>>'] < 80:
  38. '"It was really nice chatting with you. I will see you in class."'
  39. elseif npc_rel['A<<numnpc>>'] >= 80:
  40. '"Really nice chatting with you, but I really need to go now. You konw, preparing my lecture. Oh, and you look great by the way!"'
  41. end
  42. act 'Continue': gt 'gschool_lessons', 'short_break'
  43. else
  44. act 'Move away':gt $loc, $loc_arg
  45. end
  46. end
  47. --- Snpc ---------------------------------