# dvor
$location_type = 'public_outdoors'
set minut += 5
gs 'stat'
'<center><B>Vacant house</B></center>'
'<center><img src="images/pic/dvor1.jpg" ></center>'

act 'Go to town center':gt 'liam' & minut += 5

if hour >= 7 and hour <= 21 and pavserhom = 0 and koncepo = 0 or mesec = 1:
    act 'Read the notice on the door':dynamic $koncepodos
end

if hour >= 7 and hour <= 21 and pavserhom = 0 and koncepo = 1 or psiha = 1 or pavserhom = 3:
    act 'Read the notice on the door':gt'koncepod1','prs'
end

if hour >= 7 and hour <= 21 and pavserhom = 1 and psiho = 0 and psiha = 0:    
    act 'Read the notice on the door':dynamic $koncepodos1
end

if pavserhom = 1 and psiho = 1 and psiha = 0 and mesec = 0 and pavserpsiday ! day:    
    act 'Enter the house':gt'koncepod'
end

if psi1day =1 and pavserpsiday ! day:
    act 'Enter the house':gt'koncepod1','krr2x'
end

!if housr = 3: act '<b>Enter the house</b>':gt 'koncepod'
!end

--- dvor ---------------------------------

