krupo 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # krupo
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'event'
  5. frost = 0
  6. gs'stat'
  7. if night_mode = 1:
  8. fcolor = rgb(255, 255, 255)
  9. bcolor = rgb(0, 0, 0)
  10. lcolor = rgb(106, 90, 205)
  11. else
  12. fcolor = rgb(0, 0, 0)
  13. bcolor = rgb(255, 255, 255)
  14. lcolor = rgb(106, 90, 205)
  15. end
  16. '<center><b><font color = maroon>Sewing circle</font></b></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
  18. if pcs_sewng < 40:
  19. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  20. minut += 60
  21. 'You spend an hour learning different sewing techniques.'
  22. end
  23. if pcs_sewng >= 40:
  24. if tkanfirst = 0:
  25. '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.'
  26. tkanfirst = 1
  27. elseif tkan <= 0:
  28. 'The teacher reminds you, that in order to further improve your skills, you need to buy some fabric to work with.'
  29. if tkanfirst = 1:
  30. tkanfirst = 2
  31. tkan = 1
  32. 'She has some spare fabric and gives it to you as it''s the first time you have forgotten, but she reminds you to bring some next time.'
  33. end
  34. else
  35. minut += 60
  36. tkan -= 1
  37. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  38. 'For an hour you learn more advanced techniques and practice cutting and sewing the fabric you purchased.'
  39. end
  40. end
  41. if pcs_sewng >= 60 and poTalk = 0:
  42. poTalk=1
  43. '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."'
  44. end
  45. if pcs_sewng >= 80 and poTalk = 1:
  46. '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."'
  47. end
  48. *nl
  49. 'Your sewing skill is now <<pcs_sewng>>.'
  50. *nl
  51. if tkan >= 0:'Your cloth will suffice for <<tkan>> more lessons.'
  52. gs'stat'
  53. act 'Leave':gt'gdkkru'
  54. --- krupo ---------------------------------