function weekend(action)
% Version 0.1: Basic framework only.
global(to_do) % Aspirational only
if strcmp(day,'sat') & (wakeup<t &="" t="">< t(morning_tea_ind))
Tea_process('make'); % put the kettle on
search_forum;
if kidswakeup % might need process for checking sleepovers, etc.
if mood('pancakes')
makepancakes % might need menu choice here.
elseif check('wallet')
go('maccers')
end
end
if check(swmbo_awake)
Tea_process('make',2)
else
Tea_process('make',1)
end
while drool(catalogue(randchoice({'LV','LN'})))
tea_process('drink')
end
shed('latest_process')
function shed(action)
switch lower(action)
case {'latest_process'}
bumble_about_new = bumble_about('continue');
case {'process_ended'}
step = step - 1;
takepiccies
step = step + 2;
takecloseuppiccies
postforum(piccies)
shed('new')
case {'new'}
to_do = sort(to_do,priorities_list);
bumble_about('new')
if strcmp(interrupt,'need_something')
if strcmp(needtype,'simple') % Need process here to check/predict other needs, and prevent return trips!!
go('Mitre10')
else
go('Bunnings')
end
end
otherwise
trance_mode('What am I doing here?')
end
if t_lunch - 90<t &="" t=""><t_lunch +90="">
enquire('lunch')
end
% Rest of day/weekend still to do!!</t_lunch></t></t>