# bed
menu_off = 1

!! Prepare to lie down, move to events related to entering the bed.

if $ARGS[0] = 'start' or $ARGS[0] = '':
	menu_off = 1
	shour = 24 - hour
	gs 'stat'

	gt 'bed', 'mod_sleeptriggers'
end

if $ARGS[0] = 'mod_sleeptriggers':
	!! This location is here to allow mods to hook into the system.
	!! Either check for: if $ARGS[0] = 'bed' and $ARGS[1] = 'mod_sleeptriggers'
	!!
	!! This is NOT for events!!
	
	gs 'LOCA', 'bed', 'mod_sleeptriggers'
	gt 'bed_events', 'start'
end

--- bed ---------------------------------
