# Segnale comune a più binari con tre vele tonde e rappel, seguito da
# qualsiasi segnale. É un segnale di avviso da piazzare a valle della
# confluenza, e deve essere seguito da una stazione fittizia 'G' se
# seguito da un altro avviso. I binari che hanno questo segnale in
# comune sono dotati di segnale basso di partenza, e quello aperto
# è replicato da questo. Sono loro a impostare l'aspetto di questo
# segnale, che permette loro di simulare qualsiasi segnale di par-
# tenza, con o senza triangolo.
#
# Aspetti: R, S, G, Gx, V, GG, GV, GxVx, Gx/Vx, off (spento)
#          RV, RG, RGx, RGV, RGxVx, RGx/Vx, RGG     con rappel (spento, - o =)

# Exit signal with 3 round heads and a rappel (speed indicator)
# below, shared by 2 or more tracks and followed by whatever signal.
# It's actually a distant, to be placed after the confluence and to
# be followed by a fake 'G' station when followed by another distant.
# All the tracks that share this signal have their own departure
# dwarf, and this signal replicates the one that's clear. The de-
# parture dwarfs set the aspect of this signal, that allows them
# to simulate any exit signal, with or without a triangle below.
#
# Aspects: R, S, Y, Yx, G, YY, YG, YxGx, Yx/Gx, off
# 		   RG, RY, RYx, RYG, RYxGx, RYx/Gx, RYY      with speed indicator (off, - or =)

# P.Rosati  21/01/2021 (Versione 5.1)

Aspect: red
	IconE: RN_rbb_E.xpm
	IconW: RN_rbb_W.xpm
	IconN: RN_rbb_N.xpm
	IconS: RN_rbb_S.xpm
	Action: none

Aspect: shunt
	IconE: RN_rbb_E.xpm
	IconW: RN_rbb_W.xpm
	IconN: RN_rbb_N.xpm
	IconS: RN_rbb_S.xpm
	Action: none

Aspect: green
	IconE: RN_gbb_E.xpm
	IconW: RN_gbb_W.xpm
	IconN: RN_gbb_N.xpm
	IconS: RN_gbb_S.xpm
	Action: none

Aspect: yellow
	IconE: RN_ybb_E.xpm
	IconW: RN_ybb_W.xpm
	IconN: RN_ybb_N.xpm
	IconS: RN_ybb_S.xpm
	Action: none

Aspect: short_yellow
	IconE: RN_ybb_E.xpm
	IconW: RN_ybb_W.xpm
	IconN: RN_ybb_N.xpm
	IconS: RN_ybb_S.xpm
	Action: none

Aspect: yellow_flashing
	IconE: RN_ybb_E.xpm RN_bbb_E.xpm
	IconW: RN_ybb_W.xpm RN_bbb_W.xpm
	IconN: RN_ybb_N.xpm RN_bbb_N.xpm
	IconS: RN_ybb_S.xpm RN_bbb_S.xpm
	Action: none

Aspect: yellow_yellow
	IconE: RN_yyb_E.xpm
	IconW: RN_yyb_W.xpm
	IconN: RN_yyb_N.xpm
	IconS: RN_yyb_S.xpm
	Action: none

Aspect: yellow_green
	IconE: RN_ygb_E.xpm
	IconW: RN_ygb_W.xpm
	IconN: RN_ygb_N.xpm
	IconS: RN_ygb_S.xpm
	Action: none

Aspect: short_yellow_green_30
	IconE: RN_ygb_E.xpm
	IconW: RN_ygb_W.xpm
	IconN: RN_ygb_N.xpm
	IconS: RN_ygb_S.xpm
	Action: none

Aspect: yellow_green_flashing
	IconE: RN_ygb_E.xpm RN_bbb_E.xpm
	IconW: RN_ygb_W.xpm RN_bbb_W.xpm
	IconN: RN_ygb_N.xpm RN_bbb_N.xpm
	IconS: RN_ygb_S.xpm RN_bbb_S.xpm
	Action: none

Aspect: short_yellow_green_60
	IconE: RN_ygb_E.xpm RN_bbb_E.xpm
	IconW: RN_ygb_W.xpm RN_bbb_W.xpm
	IconN: RN_ygb_N.xpm RN_bbb_N.xpm
	IconS: RN_ygb_S.xpm RN_bbb_S.xpm
	Action: none

Aspect: yellow_green_switching
	IconE: RN_ybb_E.xpm RN_bgb_E.xpm
	IconW: RN_ybb_W.xpm RN_bgb_W.xpm
	IconN: RN_ybb_N.xpm RN_bgb_N.xpm
	IconS: RN_ybb_S.xpm RN_bgb_S.xpm
	Action: none

Aspect: short_yellow_green_100
	IconE: RN_ybb_E.xpm RN_bgb_E.xpm
	IconW: RN_ybb_W.xpm RN_bgb_W.xpm
	IconN: RN_ybb_N.xpm RN_bgb_N.xpm
	IconS: RN_ybb_S.xpm RN_bgb_S.xpm
	Action: none

Aspect: red_yellow_yellow
	IconE: RN_ryy_E.xpm
	IconW: RN_ryy_W.xpm
	IconN: RN_ryy_N.xpm
	IconS: RN_ryy_S.xpm
	Action: none

Aspect: red_green_30
	IconE: RN_rgb_E.xpm
	IconW: RN_rgb_W.xpm
	IconN: RN_rgb_N.xpm
	IconS: RN_rgb_S.xpm
	Action: none

Aspect: red_green_60
	IconE: RN_rgb-_E.xpm
	IconW: RN_rgb-_W.xpm
	IconN: RN_rgb-_N.xpm
	IconS: RN_rgb-_S.xpm
	Action: none

Aspect: red_green_100
	IconE: RN_rgb=_E.xpm
	IconW: RN_rgb=_W.xpm
	IconN: RN_rgb=_N.xpm
	IconS: RN_rgb=_S.xpm
	Action: none

Aspect: red_yellow_30
	IconE: RN_ryb_E.xpm
	IconW: RN_ryb_W.xpm
	IconN: RN_ryb_N.xpm
	IconS: RN_ryb_S.xpm
	Action: none

Aspect: red_yellow_60
	IconE: RN_ryb-_E.xpm
	IconW: RN_ryb-_W.xpm
	IconN: RN_ryb-_N.xpm
	IconS: RN_ryb-_S.xpm
	Action: none

Aspect: red_yellow_flashing_30
	IconE: RN_ryb_E.xpm RN_rbb_E.xpm
	IconW: RN_ryb_W.xpm RN_rbb_W.xpm
	IconN: RN_ryb_N.xpm RN_rbb_N.xpm
	IconS: RN_ryb_S.xpm RN_rbb_S.xpm
	Action: none

Aspect: red_yellow_flashing_60
	IconE: RN_ryb-_E.xpm RN_rbb-_E.xpm
	IconW: RN_ryb-_W.xpm RN_rbb-_W.xpm
	IconN: RN_ryb-_N.xpm RN_rbb-_N.xpm
	IconS: RN_ryb-_S.xpm RN_rbb-_S.xpm
	Action: none

Aspect: red_yellow_flashing_100
	IconE: RN_ryb=_E.xpm RN_rbb=_E.xpm
	IconW: RN_ryb=_W.xpm RN_rbb=_W.xpm
	IconN: RN_ryb=_N.xpm RN_rbb=_N.xpm
	IconS: RN_ryb=_S.xpm RN_rbb=_S.xpm
	Action: none

Aspect: red_yellow_green_30
	IconE: RN_ryg_E.xpm
	IconW: RN_ryg_W.xpm
	IconN: RN_ryg_N.xpm
	IconS: RN_ryg_S.xpm
	Action: none

Aspect: red_yellow_green_60
	IconE: RN_ryg-_E.xpm
	IconW: RN_ryg-_W.xpm
	IconN: RN_ryg-_N.xpm
	IconS: RN_ryg-_S.xpm
	Action: none

Aspect: red_yellow_green_100
	IconE: RN_ryg=_E.xpm
	IconW: RN_ryg=_W.xpm
	IconN: RN_ryg=_N.xpm
	IconS: RN_ryg=_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_30
	IconE: RN_ryg_E.xpm RN_rbb_E.xpm
	IconW: RN_ryg_W.xpm RN_rbb_W.xpm
	IconN: RN_ryg_N.xpm RN_rbb_N.xpm
	IconS: RN_ryg_S.xpm RN_rbb_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_60
	IconE: RN_ryg-_E.xpm RN_rbb-_E.xpm
	IconW: RN_ryg-_W.xpm RN_rbb-_W.xpm
	IconN: RN_ryg-_N.xpm RN_rbb-_N.xpm
	IconS: RN_ryg-_S.xpm RN_rbb-_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_100
	IconE: RN_ryg=_E.xpm RN_rbb=_E.xpm
	IconW: RN_ryg=_W.xpm RN_rbb=_W.xpm
	IconN: RN_ryg=_N.xpm RN_rbb=_N.xpm
	IconS: RN_ryg=_S.xpm RN_rbb=_S.xpm
	Action: none

Aspect: red_yellow_green_switching_30
	IconE: RN_ryb_E.xpm RN_rbg_E.xpm
	IconW: RN_ryb_W.xpm RN_rbg_W.xpm
	IconN: RN_ryb_N.xpm RN_rbg_N.xpm
	IconS: RN_ryb_S.xpm RN_rbg_S.xpm
	Action: none

Aspect: red_yellow_green_switching_60
	IconE: RN_ryb-_E.xpm RN_rbg-_E.xpm
	IconW: RN_ryb-_W.xpm RN_rbg-_W.xpm
	IconN: RN_ryb-_N.xpm RN_rbg-_N.xpm
	IconS: RN_ryb-_S.xpm RN_rbg-_S.xpm
	Action: none

Aspect: red_yellow_green_switching_100
	IconE: RN_ryb=_E.xpm RN_rbg=_E.xpm
	IconW: RN_ryb=_W.xpm RN_rbg=_W.xpm
	IconN: RN_ryb=_N.xpm RN_rbg=_N.xpm
	IconS: RN_ryb=_S.xpm RN_rbg=_S.xpm
	Action: none

Aspect: off
	IconE: RN_bbb_E.xpm
	IconW: RN_bbb_W.xpm
	IconN: RN_bbb_N.xpm
	IconS: RN_bbb_S.xpm
	Action: none

# initial aspect

OnInit:
	.aspect = red
end

# the player or a script cleared the signal

OnCleared:
	return
end

# this or another signal changed its aspect

OnUpdate:
	return
end

# a train passed the signal

OnCross:
	.aspect = red
end
