Scriptname aHH0BedScript extends ObjectReference  

EVENT onActivate(ObjectReference akActionRef)
	If akActionRef == PlayerREF ; This condition ensures that only the player will trigger this code
		If aHH0.getstage() == 60
			aHH0.setstage(70)
		ElseIf aHH0.getstage() == 200
			aHH0.setstage(210)
		EndIf
	EndIf
Endevent

Quest property aHH0 auto
Actor property Playerref auto