|
@@ -215,8 +215,13 @@ if $shoplocation = 'grocery':
|
|
|
end
|
|
|
|
|
|
!! output from purchase
|
|
|
- iif($ARGS[1] = '', '', '<center><<$ARGS[1]>></center>')
|
|
|
- *pl '<center><table align="center">'
|
|
|
+ if $message ! '':
|
|
|
+ '<center>'+$message+'</center>'
|
|
|
+ killvar '$message'
|
|
|
+ else
|
|
|
+ ''
|
|
|
+ end
|
|
|
+ *pl '<center><table align="center" width=80%>'
|
|
|
*P FUNC ('$stock_item', 1, 'Regular food', 50, 'eda', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 10, 'Regular food', 500, 'eda', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 1, 'Diet food', 250, 'edaD', $CURLOC)
|
|
@@ -226,11 +231,6 @@ if $shoplocation = 'grocery':
|
|
|
*P iif(bag > 0, FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', $CURLOC), '<tr><td></td><td>Sandwich</td><td colspan=2>You need a handbag</td><td>for 100 <b>₽</b></td></tr>')
|
|
|
*P iif(bag > 0, FUNC ('$single_stock_item', 1, 'Bottle of wine', 500, 'wine', $CURLOC), '<tr><td></td><td>Bottle of wine</td><td colspan=2>You need a handbag</td><td>for 500 <b>₽</b></td></tr>')
|
|
|
*P '</table></center>'
|
|
|
- if $message ! '':
|
|
|
- $message
|
|
|
- killvar '$message'
|
|
|
- end
|
|
|
- clr
|
|
|
gs 'stat'
|
|
|
fcolor = rgb(0, 0, 0)
|
|
|
bcolor = rgb(255, 255, 255)
|
|
@@ -256,7 +256,12 @@ if $shoplocation= 'cosmetics':
|
|
|
end
|
|
|
|
|
|
!! output from purchase
|
|
|
- iif($ARGS[1] = '', '', '<center><<$ARGS[1]>></center>')
|
|
|
+ if $message ! '':
|
|
|
+ '<center>'+$message+'</center>'
|
|
|
+ killvar '$message'
|
|
|
+ else
|
|
|
+ ''
|
|
|
+ end
|
|
|
*pl '<center><table align="center" width=80%>'
|
|
|
*P FUNC ('$stock_item', 50, 'Cosmetics', 1000, 'kosmetica', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 10, 'Razors', 500, 'stanok', $CURLOC)
|
|
@@ -266,18 +271,12 @@ if $shoplocation= 'cosmetics':
|
|
|
*P FUNC ('$stock_item', 30, 'Shampoo', 500, 'shampoo', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $CURLOC)
|
|
|
-
|
|
|
- *P iif(bag > 0, FUNC ('$stock_item', 10, 'Wipes', 100, 'salfetka', $CURLOC), '<tr><td></td><td>Wipes</td><td colspan=2>You need a handbag</td><td>for 100 <b>₽</b></td></tr>')
|
|
|
- *P iif(bag > 0, FUNC ('$stock_item', 10, 'Portable makeup', 1000, 'kosmetitka', $CURLOC), '<tr><td></td><td>Portable makeup</td><td colspan=2>You need a handbag</td><td>for 1000 <b>₽</b></td></tr>')
|
|
|
- *P iif(bag > 0, FUNC ('$stock_item', 20, 'Mouthwash', 400, 'mouthwash', $CURLOC), '<tr><td></td><td>Mouthwash</td><td colspan=2>You need a handbag</td><td>for 400 <b>₽</b></td></tr>')
|
|
|
- *P iif(bag > 0, FUNC ('$single_stock_item', 1, 'Comb', 150, 'greben', $CURLOC), '<tr><td></td><td>Comb</td><td colspan=2>You need a handbag</td><td>for 150 <b>₽</b></td></tr>')
|
|
|
- *P FUNC ('$single_stock_item', 1, 'Handbag', 5000, 'bag', $CURLOC)
|
|
|
+ *P FUNC ('$stock_item', 10, 'Wipes', 100, 'salfetka', $CURLOC, '', bag, 'You need a handbag')
|
|
|
+ *P FUNC ('$stock_item', 10, 'Portable makeup', 1000, 'kosmetitka', $CURLOC, '', bag, 'You need a handbag')
|
|
|
+ *P FUNC ('$stock_item', 20, 'Mouthwash', 400, 'mouthwash', $CURLOC, '', bag, 'You need a handbag')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Comb', 150, 'greben', $CURLOC, '', bag, 'You need a handbag')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Handbag', 5000, 'bag', $CURLOC, '', bag, '')
|
|
|
*P '</table></center>'
|
|
|
- if $message ! '':
|
|
|
- $message
|
|
|
- killvar '$message'
|
|
|
- end
|
|
|
- clr
|
|
|
gs 'stat'
|
|
|
fcolor = rgb(0, 0, 0)
|
|
|
bcolor = rgb(255, 255, 255)
|
|
@@ -306,17 +305,17 @@ if $shoplocation = 'hardware':
|
|
|
end
|
|
|
|
|
|
!! output from purchase
|
|
|
- iif($ARGS[1] = '', '', '<center><<$ARGS[1]>></center>')
|
|
|
+ if $message ! '':
|
|
|
+ '<center>'+$message+'</center>'
|
|
|
+ killvar '$message'
|
|
|
+ else
|
|
|
+ ''
|
|
|
+ end
|
|
|
*pl '<center><table align="center" width=80%>'
|
|
|
*P FUNC ('$stock_item', 20, 'Dishwashing detergent', 100, 'fairy', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 30, 'Clothing detergent', 250, 'poroshok', $CURLOC)
|
|
|
*P FUNC ('$stock_item', 5, 'Plates', 300, 'cltarelka', $CURLOC)
|
|
|
*P '</table></center>'
|
|
|
- if $message ! '':
|
|
|
- $message
|
|
|
- killvar '$message'
|
|
|
- end
|
|
|
- clr
|
|
|
gs 'stat'
|
|
|
fcolor = rgb(0, 0, 0)
|
|
|
bcolor = rgb(255, 255, 255)
|
|
@@ -363,19 +362,17 @@ if $shoplocation = 'clothing':
|
|
|
exit
|
|
|
end
|
|
|
|
|
|
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
|
|
|
-
|
|
|
- *pl '<center><table align="center">' + _
|
|
|
- FUNC ('$stock_item', 1, 'Underwear', 300, 'clrbelo', $CURLOC) + _
|
|
|
- FUNC ('$stock_item', 7, 'Sale pack of underwear', 2000, 'clrbelo', $CURLOC) + _
|
|
|
- '</table></center>'
|
|
|
-
|
|
|
- '<br/>Women''s clothing cost 2,500 <b>₽</b> each.'
|
|
|
if $message ! '':
|
|
|
- $message
|
|
|
+ '<center>'+$message+'</center>'
|
|
|
killvar '$message'
|
|
|
- end
|
|
|
- clr
|
|
|
+ else
|
|
|
+ ''
|
|
|
+ end
|
|
|
+ *pl '<center><table align="center" width=80%>'
|
|
|
+ *P FUNC ('$stock_item', 1, 'Underwear', 300, 'clrbelo', $CURLOC)
|
|
|
+ *P FUNC ('$stock_item', 7, 'Sale pack of underwear', 2000, 'clrbelo', $CURLOC)
|
|
|
+ *P '</table></center>'
|
|
|
+ '<br/>Women''s clothing cost 2,500 <b>₽</b> each.'
|
|
|
gs 'stat'
|
|
|
fcolor = rgb(0, 0, 0)
|
|
|
bcolor = rgb(255, 255, 255)
|
|
@@ -671,24 +668,23 @@ if $shoplocation = 'tech':
|
|
|
exit
|
|
|
end
|
|
|
|
|
|
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
|
|
|
-
|
|
|
+ if $message ! '':
|
|
|
+ '<center>'+$message+'</center>'
|
|
|
+ killvar '$message'
|
|
|
+ else
|
|
|
+ ''
|
|
|
+ end
|
|
|
*pl '<center><table align="center" width=80%>'
|
|
|
- *P iif(housr > 0, FUNC ('$single_stock_item', 1, 'Scondhand Small CRT TV', 5000, 'TV', $CURLOC), '<tr><td></td><td>Scondhand Small CRT TV</td><td colspan=2>costs 5000 <b>₽</b></td><td>You need your own home</td></tr>')
|
|
|
- *P iif(housr > 0, FUNC ('$single_stock_item', 2, 'Large Plasma TV', 35000, 'TV', $CURLOC), '<tr><td></td><td>Large Plasma TV</td><td colspan=2>costs 35000 <b>₽</b></td><td>You need your own home</td></tr>')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Scondhand Small CRT TV', 5000, 'TV', $CURLOC, '', housr, 'You need your own home')
|
|
|
+ *P FUNC ('$single_stock_item', 2, 'Large Plasma TV', 35000, 'TV', $CURLOC, '', housr, 'You need your own home')
|
|
|
*P FUNC ('$single_stock_item', 1, 'Computer', 25000, 'komp', $CURLOC)
|
|
|
- *p iif(komp > 0, FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 500, 'GameCD2', $CURLOC), '')
|
|
|
- *P iif(housr > 0, FUNC ('$single_stock_item', 1, 'Dishwasher', 50000, 'posudomashina', $CURLOC), '<tr><td></td><td>Dishwasher</td><td colspan=2>costs 50000 <b>₽</b></td><td>You need your own home</td></tr>')
|
|
|
- *P iif(housr > 0, FUNC ('$single_stock_item', 1, 'Washing machine', 50000, 'stiralka', $CURLOC), '<tr><td></td><td>Washing machine</td><td colspan=2>costs 50000 <b>₽</b></td><td>You need your own home</td></tr>')
|
|
|
+ *p FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 500, 'GameCD2', $CURLOC, '', iif(komp > 0, 0, 1), 'You need a computer')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Dishwasher', 50000, 'posudomashina', $CURLOC, '', housr, 'You need your own home')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Washing machine', 50000, 'stiralka', $CURLOC, '', housr, 'You need your own home')
|
|
|
*P FUNC ('$single_stock_item', 1, 'Camera', 10000, 'zenit', $CURLOC)
|
|
|
*P FUNC ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 40000, 'minifoto', $CURLOC)
|
|
|
- *P iif((vasya_shulgin>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), FUNC ('$single_stock_item', 1, 'Webcam', 10000, 'webcamera', $CURLOC), '<tr><td></td><td>Webcam</td><td colspan=2>costs 10000 <b>₽</b></td><td>You have no use of it</td></tr>')
|
|
|
+ *P FUNC ('$single_stock_item', 1, 'Webcam', 10000, 'webcamera', $CURLOC, '', iif((vasya_shulgin>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), 1, 0), 'You have no use this')
|
|
|
*P '</table></center>'
|
|
|
- if $message ! '':
|
|
|
- $message
|
|
|
- killvar '$message'
|
|
|
- end
|
|
|
- clr
|
|
|
gs 'stat'
|
|
|
fcolor = rgb(0, 0, 0)
|
|
|
bcolor = rgb(255, 255, 255)
|