12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- # gdkkru
- $metka = ''
- $loc = 'gdkkru'
- $location_type = 'public_indoors'
- frost = 0
- gs'stat'
- if night_mode = 1:
- fcolor = rgb(255, 255, 255)
- bcolor = rgb(0, 0, 0)
- lcolor = rgb(106, 90, 205)
- else
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- end
- '<center><b><font color = maroon>The community center</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/gdkkru.jpg"></center>'
- act 'Leave': gt 'gdk'
- act 'Go to the toilets': gt 'gdktoilet', 'start'
- if hour >= 12 and hour <= 20:
- 'At this time of day the community center operates various clubs.'
- if krumonth = month and kruyear = year:
- act 'Go to the sewing club': gt 'krupo'
- else
- act 'Go to the sewing club':
- cls
- gs 'stat'
- '<center><b><font color = maroon>Sewing circle</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
- 'You went to the sewing club room, as you walked in, a teacher looked at you said. "It costs 500 <b>₽</b> for one month to join, you can come as many days as you like. Once the month is up any days you did not attend are not transferred."'
- if money >= 500:
- act 'Sign up':
- cls
- money -= 500
- krumonth = month
- kruyear = year
- gs 'stat'
- 'You pay the tuition.'
- act 'Leave': gt 'gdkkru'
- end
- end
- act 'Leave':gt 'gdkkru'
- end
- end
-
- if chessmonth=month and chessyear=year:
- act 'Go to the chess club': gt 'kruchess'
- else
- act 'Go to the chess club':
- cls
- gs 'stat'
- '<center><b><font color = maroon>Chess Circle</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/kruchess.jpg"></center>'
- 'You went to the chess club room, as you walked in, a teacher looked at you said. "It costs 500 <b>₽</b> for one month to join, you can come as many days as you like. Once the month is up any days you did not attend are not transferred."'
- if money >= 500:
- act 'Sign up':
- cls
- money -= 500
- chessmonth = month
- chessyear = year
- gs'stat'
- 'You pay the tuition.'
- act 'Leave': gt 'gdkkru'
- end
- end
- act 'Leave': gt 'gdkkru'
- end
- end
- else
- 'Clubs closed.'
- end
- --- gdkkru ---------------------------------
|