krupo.qsrc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # krupo
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'event'
  5. frost = 0
  6. gs'stat'
  7. gs 'themes', 'indoors'
  8. '<center><b><font color = maroon>Sewing circle</font></b></center>'
  9. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
  10. if pcs_sewng < 40:
  11. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  12. minut += 60
  13. 'You spend an hour learning different sewing techniques.'
  14. end
  15. if pcs_sewng >= 40:
  16. if tkanfirst = 0:
  17. minut += 60
  18. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  19. 'She has some spare fabric for you as it''s the first time you need some, but she tells you to bring some next time.'
  20. msg 'The teacher tells you that you will need to bring in fabric for further studies, you can buy some in the hardware department at the supermarket.'
  21. tkanfirst = 1
  22. elseif tkan <= 0:
  23. msg 'The teacher reminds you, that in order to further improve your skills, you need to buy some fabric to work with.'
  24. 'You can''t do your lesson without fabric so there is nothing you can do here now.'
  25. else
  26. minut += 60
  27. tkan -= 1
  28. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  29. 'For an hour you learn more advanced techniques and practice cutting and sewing the fabric you purchased.'
  30. if pcs_sewng >= 60 and poTalk = 0:
  31. poTalk = 1
  32. *nl
  33. 'With a satisfied smile your teacher tells you, "Well done, now you can alter clothes to fit your size perfectly! However, this does not mean that any further studies would be useless. With further lessons I feel that I can teach you how to embroider splendid tapestries, which would be highly sought after, although very laborious to make."'
  34. end
  35. if pcs_sewng >= 80 and poTalk = 1:
  36. *nl
  37. 'The teacher nods quietly and says, "You have mastered simple tapestries. It''s not without flaws, but good enough to be able to sell them and as your skills continue to grow, the quality will improve as well."'
  38. end
  39. end
  40. end
  41. *nl
  42. 'Your sewing skill is now <<pcs_sewng>>.'
  43. *nl
  44. if tkan >= 0:'Your cloth will suffice for <<tkan>> more lessons.'
  45. gs'stat'
  46. act 'Leave':gt'gdkkru'
  47. --- krupo ---------------------------------