123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- # mod_addedflavour_shop_maternity
- if $ARGS[0] = 'start' or $ARGS[0] = '':
- *clr & cla
- $loc = 'mod_addedflavour_shop_maternity'
- $loc_arg = 'start'
- $location_type = 'public_indoors'
- $menu_loc = 'mod_addedflavour_shop_maternity'
- $menu_arg = 'start'
- menu_off = 0
- gs 'stat'
- gs 'themes', 'indoors'
- gs 'mod_addedflavour_shop_maternity' , 'config'
- '<center><b><font color="maroon">Materinstvo</font></b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/mall/maternity/Shop.jpg"></center>'
- *nl
- '<center>This is a shop dedicated to all things pregnancy related. Here you can buy Pregnancy Clothing or items to aid the process of getting through the day.</center>'
- act 'Leave the Shop': minut += rand(0,2) & gt 'torgcentr'
- act 'View clothes': minut += rand(4,6) & gt 'mod_addedflavour_shop_maternity', 'view' , 'clothes' , 0
- act 'View items': minut += rand(4,6) & gt 'mod_addedflavour_shop_maternity', 'view' , 'items' , 9
- end
-
- if $ARGS[0] = 'view':
- *clr & cla
- $loc = 'mod_addedflavour_shop_maternity'
- $loc_arg = 'view'
- $menu_loc = 'mod_addedflavour_shop_maternity'
- $menu_arg = 'view'
- menu_off = 0
- modVar_AF_Temp = ARGS[2]
- $modVar_AF_TempStr2 = $ARGS[1]
- gs 'stat'
- '<center><b><font color="maroon">Materinstvo</font></b></center>'
- $modVar_AF_TempStr = $modArr_AF_MaternityItemPic[modVar_AF_Temp]
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="<<$modVar_AF_TempStr>>"></center>'
- *nl
- '<center><a href="exec: gs ''mod_addedflavour_shop_maternity'' , ''previous'' "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/LeftArrow.png"></a><a href="exec: gs ''mod_addedflavour_shop_maternity'' , ''next'' "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/RightArrow.png"></a></center>'
- $modVar_AF_TempStr = $modArr_AF_MaternityItemName[modVar_AF_Temp]
- '<center><b><h3><<$modVar_AF_TempStr>></h3></b></center>'
- $modVar_AF_TempStr = $modArr_AF_MaternityItemDesc[modVar_AF_Temp]
- '<center><<$modVar_AF_TempStr>></center>'
- *nl
- if modArr_AF_MaternityItemOwned[modVar_AF_Temp] > 0 and $modArr_AF_MaternityItemName[modVar_AF_Temp] ! 'Morning Sickness Pills':
- '<center><b>You already own this item<b></center>'
- elseif modArr_AF_MaternityItemOwned[modVar_AF_Temp] > 0:
- modVar_AF_Temp2 = modArr_AF_MaternityItemOwned[modVar_AF_Temp]
- '<center><b>You have <<modVar_AF_Temp2>> pills left<b></center>'
- if money >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Cash)' : money -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] += 21 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- if karta >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Card)' : karta -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] += 21 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- elseif $modArr_AF_MaternityItemName[modVar_AF_Temp] = 'Morning Sickness Pills':
- modVar_AF_Temp2 = modArr_AF_MaternityItemPrice[modVar_AF_Temp]
- '<center><b>A Tin of 21 Pills costs <<modVar_AF_Temp2>>₽</b></center>'
- if money >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Cash)' : money -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] += 21 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- if karta >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Card)' : karta -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] += 21 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- else
- modVar_AF_Temp2 = modArr_AF_MaternityItemPrice[modVar_AF_Temp]
- '<center><b>This item costs <<modVar_AF_Temp2>>₽</b></center>'
- if money >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Cash)' : money -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] = 1 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- if karta >= modArr_AF_MaternityItemPrice[modVar_AF_Temp]:
- act 'Buy Item (Card)' : karta -= modArr_AF_MaternityItemPrice[modVar_AF_Temp] & modArr_AF_MaternityItemOwned[modVar_AF_Temp] = 1 & gt 'mod_addedflavour_shop_maternity' , 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
- end
- if $modVar_AF_TempStr2 = 'clothes':
- act 'Switch to Item Department' : gt 'mod_addedflavour_shop_maternity', 'view' , 'items' , 9
- elseif $modVar_AF_TempStr2 = 'items':
- act 'Switch to Clothing Department' : gt 'mod_addedflavour_shop_maternity', 'view' , 'clothes' , 0
- end
- act 'Return': gt 'mod_addedflavour_shop_maternity' , 'start'
- end
-
- if $ARGS[0] = 'next':
- modVar_AF_Temp += 1
- if modVar_AF_Temp > 12:
- modVar_AF_Temp = 9
- elseif modVar_AF_Temp > 8 and $modVar_AF_TempStr2 = 'clothes':
- modVar_AF_Temp = 0
- end
- gt 'mod_addedflavour_shop_maternity', 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
-
- if $ARGS[0] = 'previous':
- modVar_AF_Temp -= 1
- if modVar_AF_Temp < 0:
- modVar_AF_Temp = 8
- elseif modVar_AF_Temp < 9 and $modVar_AF_TempStr2 = 'items':
- modVar_AF_Temp = 12
- end
- gt 'mod_addedflavour_shop_maternity', 'view' , $modVar_AF_TempStr2 , modVar_AF_Temp
- end
-
- if $ARGS[0] = 'config':
- if modVar_AF_MaternityShopConfig = 0:
- modVar_AF_MaternityShopConfig = 1
- KILLVAR '$modArr_AF_MaternityItemName'
- KILLVAR 'modArr_AF_MaternityItemPrice'
- KILLVAR '$modArr_AF_MaternityItemDesc'
- KILLVAR 'modArr_AF_MaternityItemOwned'
- KILLVAR '$modArr_AF_MaternityItemPic'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Onesie'
- modArr_AF_MaternityItemPrice[] = 1850
- $modArr_AF_MaternityItemDesc[] = 'All the fabric you need and all the room to grow into. This item is an all-in-one onepiece designed to be comfortable at all stages of your pregnancy.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/1.jpg'
- $modArr_AF_MaternityItemName[] = 'Body Fitting Dress'
- modArr_AF_MaternityItemPrice[] = 3850
- $modArr_AF_MaternityItemDesc[] = 'A dress designed to follow the contours of your body while remaining stylish as those contours change as your pregnancy progresses.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/2.jpg'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Throw-Over'
- modArr_AF_MaternityItemPrice[] = 1675
- $modArr_AF_MaternityItemDesc[] = 'A simple yet playful design, intended to be something you can quickly throw over your existing clothing while being accommodating to your body as it changes.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/3.jpg'
- $modArr_AF_MaternityItemName[] = 'Funny T-Shirt'
- modArr_AF_MaternityItemPrice[] = 1430
- $modArr_AF_MaternityItemDesc[] = 'A playful T-Shirt that allows you to feel comfortable yet casual.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/4.jpg'
- $modArr_AF_MaternityItemName[] = 'Corded Dress in Burgandy'
- modArr_AF_MaternityItemPrice[] = 4150
- $modArr_AF_MaternityItemDesc[] = 'A very stylish number that comes with a cord to allow you to keep it looking fitted throughout your changing size.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/5.jpg'
- $modArr_AF_MaternityItemName[] = 'Long T-Shirt'
- modArr_AF_MaternityItemPrice[] = 1780
- $modArr_AF_MaternityItemDesc[] = 'A longer T-Shirt with a playful design to draw people''s eye''s to your new life.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/6.jpg'
- $modArr_AF_MaternityItemName[] = 'Blue Dress'
- modArr_AF_MaternityItemPrice[] = 8940
- $modArr_AF_MaternityItemDesc[] = 'This knee-length dress comes with a frilled hem and plunging neckline, providing a look of elegance while remaining comfortable.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/7.jpg'
- $modArr_AF_MaternityItemName[] = 'Grey Long-Shirt'
- modArr_AF_MaternityItemPrice[] = 1580
- $modArr_AF_MaternityItemDesc[] = 'A simple design but coming with plenty of comfort.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/8.jpg'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Toga'
- modArr_AF_MaternityItemPrice[] = 11050
- $modArr_AF_MaternityItemDesc[] = 'An Out There design but perfect for the summer. The dress allows air to access your skin while keeping a sense of elegance and flexibility.'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/9.jpg'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Ball'
- modArr_AF_MaternityItemPrice[] = 2475
- $modArr_AF_MaternityItemDesc[] = 'A Pregnancy Ball that can either provide a malleable sitting position or adaptive workout tool. <i>[<font color="Blue">Item exists at the home and can provide comfort or exercise</font>]</i>'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/ball.jpg'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Brace'
- modArr_AF_MaternityItemPrice[] = 975
- $modArr_AF_MaternityItemDesc[] = 'A simple but effective brace designed to re-balance your frame to better carry your weight. <i>[<font color="Blue">Item can be put on every morning and provides a Mood Boost every hour</font>]</i>'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/brace.jpg'
- $modArr_AF_MaternityItemName[] = 'Pregnancy Pillow'
- modArr_AF_MaternityItemPrice[] = 1275
- $modArr_AF_MaternityItemDesc[] = 'A long flexible pillow that allows you to maneuver it into whatever form provides the best comfort. <i>[<font color="Blue">Item exists at the home and provides a Mood Boost when used, can also be used with Child</font>]</i>'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/pillow.jpg'
- $modArr_AF_MaternityItemName[] = 'Morning Sickness Pills'
- modArr_AF_MaternityItemPrice[] = 400
- $modArr_AF_MaternityItemDesc[] = 'Easygoing pills in multiple flavours all of which are intended to relieve some of the burdon that comes with Morning Sickness. Price is for a tin of 21 pieces. <i>[<font color="Blue">Provides a Mood and Stamina Boost when consumed</font>]</i>'
- modArr_AF_MaternityItemOwned[] = 0
- $modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/pills.jpg'
- end
- end
- --- mod_addedflavour_shop_maternity ---------------------------------
|