|
@@ -12,10 +12,17 @@ if $ARGS[0] = 'start':
|
|
|
*nl
|
|
|
'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feel pumped and awake. The store is sleek and professional, the walls and floors advertising all different kinds of sporting equipment and attire. The room is filled with beautifully fit people shopping, their bodies varying from big and muscular to lean and trim. If they don''t inspire you to want to work out, the posters advertising past and present famous athletes are motivating as hell.'
|
|
|
*nl
|
|
|
- if refillable_bottle = 0 and money >= 1000 and bag > 0:
|
|
|
- 'You could buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle (1000 <b>₽</b>)</a> that you can carry around in your purse.'
|
|
|
- elseif refillable_bottle = 0 and (money < 1000 or bag = 0):
|
|
|
- 'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
|
|
|
+ if refillable_bottle = 0:
|
|
|
+ if (money < 1000 and karta < 1000) or bag = 0:
|
|
|
+ 'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
|
|
|
+ else
|
|
|
+ if money >= 1000:
|
|
|
+ 'You could buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle (1000 <b>₽</b> cash)</a> that you can carry around in your purse.'
|
|
|
+ end
|
|
|
+ if karta >= 1000:
|
|
|
+ 'You could buy a high-quality <a href="exec:minut += 5 & karta -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle (1000 <b>₽</b> card)</a> that you can carry around in your purse.'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
act 'Leave':minut += 3 & gt 'torgcentr'
|
|
@@ -34,56 +41,112 @@ if $ARGS[0] = 'start':
|
|
|
|
|
|
act 'View coats': minut += 5 & gt 'sportshop', 'coats'
|
|
|
|
|
|
- if skak = 0 and money >= 500:
|
|
|
- act 'Buy a skipping rope (500 <b>₽</b>)':
|
|
|
- cla
|
|
|
- minut += 5
|
|
|
- money -= 500
|
|
|
- skak = 1
|
|
|
-
|
|
|
- act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ if skak = 0
|
|
|
+ if money < 500 and karta < 500:
|
|
|
+ act 'Buy a skipping rope (<font color="red">500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
+ else
|
|
|
+ if money >= 500:
|
|
|
+ act 'Buy a skipping rope (500 <b>₽</b>) cash':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ money -= 500
|
|
|
+ skak = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
+ if karta >= 500:
|
|
|
+ act 'Buy a skipping rope (500 <b>₽</b>) card':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ karta -= 500
|
|
|
+ skak = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
- elseif skak = 0:
|
|
|
- act 'Buy a skipping rope (<font color="red">500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
end
|
|
|
|
|
|
- if obruch = 0 and money >= 1500:
|
|
|
- act 'Buy a hula hoop (1,500 <b>₽</b>)':
|
|
|
- cla
|
|
|
- minut += 5
|
|
|
- money -= 1500
|
|
|
- obruch = 1
|
|
|
-
|
|
|
- act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ if obruch = 0
|
|
|
+ if money < 1500 and karta < 1500:
|
|
|
+ act 'Buy a hula hoop (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
+ else
|
|
|
+ if money >= 1500:
|
|
|
+ act 'Buy a hula hoop (1,500 <b>₽</b>) cash':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ money -= 1500
|
|
|
+ obruch = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
+ if karta >= 1500:
|
|
|
+ act 'Buy a hula hoop (1,500 <b>₽</b>) card':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ karta -= 1500
|
|
|
+ obruch = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
- elseif obruch = 0:
|
|
|
- act 'Buy a hula hoop (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
end
|
|
|
|
|
|
- if bookYog = 0 and money >= 1500:
|
|
|
- act 'Buy "Benefits of yoga" (1,500 <b>₽</b>)':
|
|
|
- cla
|
|
|
- minut += 5
|
|
|
- money -= 1500
|
|
|
- bookYog = 1
|
|
|
-
|
|
|
- act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ if bookYog = 0
|
|
|
+ if money < 1500 and karta < 1500:
|
|
|
+ act 'Buy "Benefits of yoga" (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
+ else
|
|
|
+ if money >= 1500:
|
|
|
+ act 'Buy "Benefits of yoga" (1,500 <b>₽</b>)':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ money -= 1500
|
|
|
+ bookYog = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
+ if karta >= 1500:
|
|
|
+ act 'Buy "Benefits of yoga" (1,500 <b>₽</b>)':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ karta -= 1500
|
|
|
+ bookYog = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
- elseif bookYog = 0:
|
|
|
- act 'Buy "Benefits of yoga" (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
end
|
|
|
-
|
|
|
- if konki = 0 and money >= 3000:
|
|
|
- act 'Buy some ice skates (3000 <b>₽</b>)':
|
|
|
- cla
|
|
|
- minut += 5
|
|
|
- money -= 3000
|
|
|
- konki = 1
|
|
|
-
|
|
|
- act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+
|
|
|
+ if konki = 0
|
|
|
+ if money < 3000 and karta < 3000:
|
|
|
+ act 'Buy some ice skates (<font color="red">3000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
+ else
|
|
|
+ if money >= 3000:
|
|
|
+ act 'Buy some ice skates (3000 <b>₽</b>)':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ money -= 3000
|
|
|
+ konki = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
+ if karta >= 3000:
|
|
|
+ act 'Buy some ice skates (3000 <b>₽</b>)':
|
|
|
+ cla
|
|
|
+ minut += 5
|
|
|
+ karta -= 3000
|
|
|
+ konki = 1
|
|
|
+
|
|
|
+ act 'Pick up a package':gt 'sportshop', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
- elseif konki = 0:
|
|
|
- act 'Buy some ice skates (<font color="red">3000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
|
|
|
end
|
|
|
end
|
|
|
|