summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1941,13,-2752).lua
blob: 2a932f059efaeb1dbd6073e3812d7c94ee32f01f (plain)
1
if get_line() ~= "MGGR" then return end

local stop_delay = "05;00" --5 minutes

__approach_callback_mode = 1
if event.approach and not event.has_entered then
	atc_set_ars_disable(true)
	atc_set_lzb_tsr(2)
	atc_set_text_inside("Arriving at: Hawking Memorial\n"..
	"Change Here for: E31")
end

if event.train then
	atc_send("B0 W OR")
	atc_set_text_outside("MGGR to Mom Junction West")
	schedule_in(stop_delay,"depart")
	
end

if event.schedule then
	if event.msg == "depart" then
		atc_send("OC D1 R SM")
		atc_set_text_inside(""..
		"~~~~---~~~========~~~---~~~~\n"..
		"Manaugh Great Griefing Railway\n"..
		"~~~~---~~~========~~~---~~~~")
		atc_set_ars_disable(false)
		return
	end
end