123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- # mod_addedflavour_SFLA_Kit
- if $ARGS[0] = 'start' or $ARGS[0] = '':
- *clr & cla
- CLOSE ALL
- $locM = 'mod_addedflavour_SFLA_Kit'
- $locM_arg = 'start'
- $loc = 'mod_addedflavour_SFLA_Kit'
- $loc_arg = 'start'
- $locclass = 'kitr'
- $menu_loc = 'mod_addedflavour_SFLA_Kit'
- $menu_arg = 'start'
- menu_off = 0
- gs 'themes', 'indoors'
- gs 'mod_addedflavour_charsche' , 'chkschedule'
- gs 'stat'
- if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
- if modVar_AF_SFLA_AptRProg['Kit'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- $modVar_AF_TempStr = 'Lv2'
- else
- $modVar_AF_TempStr = 'Lv1'
- end
- '<center><b><font color="maroon">Kitchen</font></b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Kit<<$modVar_AF_TempStr>>.jpg"></center>'
- gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Check' , 'Kit'
- if modVar_AF_SFLA_AptRProg['Kit'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- 'Before you sits a very modern looking Kitchen with sharp modern lines leading to modern appliances and modern storage.' + iif(rand(1,5) = 1,'...Modern..','')
- else
- 'Before you sits a very quaint looking Kitchen. It''s not much to look at but has everything you all need to live here in relative subsistence.'
- end
- gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_Kit'
- if charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 1 and hour = 19:
- *nl
- 'Everyone is here for the <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''housemeal'' ">Meal</a> you made for the House'
- end
- *nl
- '<b>Fridge Contents:</b>'
- if modVar_AF_SFLA_AptPerishables['Fullmeal'] > 0 and modVar_AF_SFLA_AptRProg['Kit'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- 'Enough Ingredients for <b><<modVar_AF_SFLA_AptPerishables[''Fullmeal'']>></b> household meals. ' + iif(eda >= 10 and modVar_AF_SFLA_AptPerishables['Fullmeal'] <= 2,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''fullmeal'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Meal Ingredients</a>','<font color="gray">Add Meal Ingredients</font>')
- elseif modVar_AF_SFLA_AptPerishables['Fullmeal'] = 0:
- 'There is space to add some ingrediants to make a household meal (Regular Meal). ' + iif(eda >= 10 and modVar_AF_SFLA_AptPerishables['Fullmeal'] <= 2,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''fullmeal'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Meal Ingredients</a>','<font color="gray">Add Meal Ingredients</font>')
- end
- if modVar_AF_SFLA_AptPerishables['Lightmeal'] > 0:
- 'The lower shelf contains <b><<modVar_AF_SFLA_AptPerishables[''Lightmeal'']>></b> light meals. ' + iif(edaD >= 1 and modVar_AF_SFLA_AptPerishables['Lightmeal'] <= 20,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''lightmeal'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Light Meals</a>','<font color="gray">Add Light Meals</font>')
- elseif modVar_AF_SFLA_AptPerishables['Lightmeal'] = 0:
- 'There is space to add some light meals (Diet Food). ' + iif(edaD >= 1 and modVar_AF_SFLA_AptPerishables['Lightmeal'] <= 20,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''lightmeal'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Light Meals</a>','<font color="gray">Add Light Meals</font>')
- end
- *nl
- '<b>Cupboard Contents:</b>'
- if modVar_AF_SFLA_AptPerishables['Biscuits'] > 0:
- 'A Biscuit Tin containing roughly <b><<modVar_AF_SFLA_AptPerishables[''Biscuits'']>></b> biscuits. ' + iif(pranik >= 10 and modVar_AF_SFLA_AptPerishables['Biscuits'] <= 10,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''biscuits'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Biscuits</a>','<font color="gray">Add Biscuits</font>')
- elseif modVar_AF_SFLA_AptPerishables['Biscuits'] = 0:
- 'An empty Biscuit Tin that doesn''t even have sewing supplies in it. ' + iif(pranik >= 10 and modVar_AF_SFLA_AptPerishables['Biscuits'] <= 10,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''biscuits'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Biscuits</a>','<font color="gray">Add Biscuits</font>')
- end
- if modVar_AF_SFLA_AptPerishables['Fatburners'] > 0:
- 'A Bottle of Fat Burning Tablets with <b><<modVar_AF_SFLA_AptPerishables[''Fatburners'']>></b> tablets inside. ' + iif(fatdel >= 12 and modVar_AF_SFLA_AptPerishables['Fatburners'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''fatburners'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Fat Burner Tablets</a>','<font color="gray">Add Fat Burner Tablets</font>')
- elseif modVar_AF_SFLA_AptPerishables['Fatburners'] = 0:
- 'An empty Bottle of Fat Burning Tablets. ' + iif(fatdel >= 12 and modVar_AF_SFLA_AptPerishables['Fatburners'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''fatburners'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Fat Burner Tablets</a>','<font color="gray">Add Fat Burner Tablets</font>')
- end
- if modVar_AF_SFLA_AptPerishables['Vitamin'] > 0:
- 'A Bottle of Vitamin Tablets with <b><<modVar_AF_SFLA_AptPerishables[''Vitamin'']>></b> tablets inside. ' + iif(vitamin >= 30 and modVar_AF_SFLA_AptPerishables['Vitamin'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''vitamin'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Vitamins</a>','<font color="gray">Add Vitamins</font>')
- elseif modVar_AF_SFLA_AptPerishables['Vitamin'] = 0:
- 'An empty Bottle of Vitamins. ' + iif(vitamin >= 30 and modVar_AF_SFLA_AptPerishables['Vitamin'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''vitamin'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Add Vitamins</a>','<font color="gray">Add Vitamins</font>')
- end
- if modVar_AF_SFLA_AptPerishables['Dishliquid'] > 0:
- 'A Bottle of Dishwashing Liquid with roughly <b><<modVar_AF_SFLA_AptPerishables[''Dishliquid'']>></b> uses remaining. ' + iif(fairy >= 20 and modVar_AF_SFLA_AptPerishables['Dishliquid'] <= 2,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''dishliquid'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Replace Dishwashing Liquid</a>','<font color="gray">Replace Dishwashing Liquid</font>')
- elseif modVar_AF_SFLA_AptPerishables['Dishliquid'] = 0:
- 'An empty Bottle of Dishwashing Liquid. ' + iif(fairy >= 20 and modVar_AF_SFLA_AptPerishables['Dishliquid'] <= 2,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''dishliquid'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Replace Dishwashing Liquid</a>','<font color="gray">Replace Dishwashing Liquid</font>')
- end
- *nl
- '<b>Appliances:</b>'
- if modVar_AF_SFLA_AptRProg['Kit'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- 'An Oven to ' + iif(hour >= 15 and hour < 18 and modVar_AF_SFLA_AptPerishables['Fullmeal'] >= 1 and charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 0,'<a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''cookfullmeal'' ">Cook Household Meals</a>.','Cook Household Meals')
- if hour >= 15 and hour < 18 and modVar_AF_SFLA_AptPerishables['Fullmeal'] >= 1 and charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 0:
- act 'Cook Meal for the House (0:45)' : gt 'mod_addedflavour_SFLA_Events' , 'cookfullmeal'
- end
- end
- 'A Microwave to make ' + iif(modVar_AF_SFLA_AptPerishables['Lightmeal'] >= 1,'<a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''eatlightmeal'' ">Light Meals</a>.','Light Meals')
- if modVar_AF_SFLA_AptPerishables['Lightmeal'] > 0:
- act 'Make Light Meal (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'eatlightmeal'
- end
- 'A Kettle for <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''drinktea'' ">Making Tea</a>.'
- act 'Have a cup of tea (0:05)' : gt 'mod_addedflavour_SFLA_Events' , 'drinktea'
- if modVar_AF_SFLA_AptPerishables['Biscuits'] > 0:
- act 'Have tea with biscuits (0:05)' : gt 'mod_addedflavour_SFLA_Events' , 'teabiscuits'
- end
- 'A Water Jug to <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''drinkwater'' ">Drink Water</a>' + iif(modVar_AF_SFLA_AptPerishables['Vitamin'] >= 1 and vitaminday ! daystart,', <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''takevitamins'' ">Take Vitamins</a>','') + iif(modVar_AF_SFLA_AptPerishables['Fatburners'] >= 1,', <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''takefatburners'' ">Take Fatburners</a>','') + '.'
- act 'Drink water (0:01)' : gt 'mod_addedflavour_SFLA_Events' , 'drinkwater'
- if modVar_AF_SFLA_AptPerishables['Vitamin'] > 0 and vitaminday ! daystart:
- act 'Take Vitamins (0:02)' : gt 'mod_addedflavour_SFLA_Events' , 'takevitamins'
- end
- if modVar_AF_SFLA_AptPerishables['Fatburners'] > 0:
- act 'Take Fatburners (0:02)' : gt 'mod_addedflavour_SFLA_Events' , 'takefatburners'
- end
- if refillable_bottle > 0 and refillable_bottle < 4:
- act 'Refill Water Bottle' : gs 'mod_addedflavour_SFLA_Events' , 'fillbottle'
- end
- if modVar_AF_SFLA_AptRProg['Kit'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- if modVar_AF_SFLA_AptState['Washdishes'] > 0:
- 'A <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''dishwasher'' ">Dishwasher</a> with <b><<modVar_AF_SFLA_AptState[''Washdishes'']>></b> dirty dishes piled up next to it'
- else
- 'A Dishwasher'
- end
- else
- if modVar_AF_SFLA_AptState['Washdishes'] > 0:
- 'A <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''washingup'' ">Sink</a> with <b><<modVar_AF_SFLA_AptState[''Washdishes'']>></b> dirty dishes piled up next to it'
- else
- 'A Sink'
- end
- end
- act '<b>Go To Living Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
- gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_BaRm' , 'Any'
- if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0:
- *nl
- if npc_rel['A<<modArr_AF_SFLA_SharedActPeopleArray[0]>>'] >= 75:
- '<b>The Bathroom is currently occupied (<a href="exec: minut += 1 & gt ''mod_addedflavour_SFLA_BaRm'' , ''start'' ">Go in anyway!</a>)</b>'
- else
- '<b>The Bathroom is currently occupied</b>'
- end
- else
- act '<b>Go To Bathroom</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_BaRm' , 'start'
- end
- end
- --- mod_addedflavour_SFLA_Kit ---------------------------------
|