Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- label special:
- call screen special
- screen special:
- tag test
- modal True
- imagemap:
- ground "special_fon"
- idle "button_special_idle"
- hover "button_special_hover"
- text "Сила:[s]" xpos 1 ypos 0.1
- hotspot(426,382,45,85) action (SetVariable('s', s+1, 10), SetVariable('points', points-1), Jump(Check_stats)) #s
- label Check_stats:
- init python:
- if points > 0:
- if s > 10: #Этот блок ифов для того, чтобы мужики не ставили статы больше 10
- s = 10
- points += 1
- if s < 1: #Этот блок ифов для того, чтобы мужики не ставили статы в отрицательные числа
- s = 1
- points -= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement