krupo 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 tkan >= 0:'Your cloth will suffice for <<tkan>> more lessons.'
  19. if pcs_sewng < 40:
  20. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  21. minut += 60
  22. 'You spend an hour learning different sewing techniques.'
  23. end
  24. if pcs_sewng >= 40:
  25. if tkanfirst = 0:
  26. '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.'
  27. tkanfirst = 1
  28. elseif tkan <= 0:
  29. 'The teacher reminds you, that in order to further improve your skills, you need to buy some fabric to work with.'
  30. if tkanfirst = 1:
  31. tkanfirst = 2
  32. tkan = 1
  33. '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.'
  34. end
  35. else
  36. minut += 60
  37. tkan -= 1
  38. sewng_exp += rand(pcs_intel/20, pcs_intel/10)
  39. 'For an hour you learn more advanced techniques and practice cutting and sewing the fabric you purchased.'
  40. end
  41. end
  42. if pcs_sewng >= 60 and poTalk = 0:
  43. poTalk=1
  44. '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."'
  45. end
  46. if pcs_sewng >= 80 and poTalk = 1:
  47. '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."'
  48. end
  49. *nl
  50. 'Your sewing skill is now <<pcs_sewng>>.'
  51. gs'stat'
  52. act 'Leave':gt'gdkkru'
  53. --- krupo ---------------------------------