# 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'
'
Materinstvo'
''
*nl
'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.'
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'
'Materinstvo'
$modVar_AF_TempStr = $modArr_AF_MaternityItemPic[modVar_AF_Temp]
''
*nl
''
$modVar_AF_TempStr = $modArr_AF_MaternityItemName[modVar_AF_Temp]
'<<$modVar_AF_TempStr>>
'
$modVar_AF_TempStr = $modArr_AF_MaternityItemDesc[modVar_AF_Temp]
'<<$modVar_AF_TempStr>>'
*nl
if modArr_AF_MaternityItemOwned[modVar_AF_Temp] > 0 and $modArr_AF_MaternityItemName[modVar_AF_Temp] ! 'Morning Sickness Pills':
'You already own this item'
elseif modArr_AF_MaternityItemOwned[modVar_AF_Temp] > 0:
modVar_AF_Temp2 = modArr_AF_MaternityItemOwned[modVar_AF_Temp]
'You have <> pills left'
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]
'A Tin of 21 Pills costs <>₽'
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]
'This item costs <>₽'
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. [Item exists at the home and can provide comfort or exercise]'
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. [Item can be put on every morning and provides a Mood Boost every hour]'
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. [Item exists at the home and provides a Mood Boost when used, can also be used with Child]'
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. [Provides a Mood and Stamina Boost when consumed]'
modArr_AF_MaternityItemOwned[] = 0
$modArr_AF_MaternityItemPic[] = 'mod/addedflavour/images/locations/city/citycenter/mall/maternity/pills.jpg'
end
end
--- mod_addedflavour_shop_maternity ---------------------------------