# Segnale comune a più binari con due 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 se-
# gnale in comune sono dotati di segnale basso di partenza, e quel-
# lo aperto è replicato da questo. Sono loro a impostare l'aspetto
# di questo segnale, che permette loro di simulare solo segnali a
# una vela con triangolo, o segnali a una o due vele senza.
# Gli aspetti a 3 luci sono rappresentati in forma incompleta.
#
# Aspetti: R, S, G, Gx, V, GG, GV, GxVx, Gx/Vx, off (spento),
#          RG, RG-, RGx, RGx-, RGx=, RV, RV-, RV=

# Exit signal with 2 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 departure dwarfs
# set the aspect of this signal, that allows them to simulate only one
# head exit signals with a triangle below, or exit signals with one or
# two heads and no triangle below. 
# Three lights aspects are shown in an incomplete form.
#
# Aspects: R, S, Y, Yx, G, YY, YG, YxGx, Yx/Gx, off,
#          RY, RY-, RYx, RYx-, RYx=, RG, RG-, RG=

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

Aspect: red
	IconE: RN_rb_E.xpm
	IconW: RN_rb_W.xpm
	IconN: RN_rb_N.xpm
	IconS: RN_rb_S.xpm
	Action: none

Aspect: shunt
	IconE: RN_rb_E.xpm
	IconW: RN_rb_W.xpm
	IconN: RN_rb_N.xpm
	IconS: RN_rb_S.xpm
	Action: none

Aspect: green
	IconE: RN_gb_E.xpm
	IconW: RN_gb_W.xpm
	IconN: RN_gb_N.xpm
	IconS: RN_gb_S.xpm
	Action: none

Aspect: yellow
	IconE: RN_yb_E.xpm
	IconW: RN_yb_W.xpm
	IconN: RN_yb_N.xpm
	IconS: RN_yb_S.xpm
	Action: none

Aspect: short_yellow
	IconE: RN_yb_E.xpm
	IconW: RN_yb_W.xpm
	IconN: RN_yb_N.xpm
	IconS: RN_yb_S.xpm
	Action: none

Aspect: yellow_flashing
	IconE: RN_yb_E.xpm RN_bb_E.xpm
	IconW: RN_yb_W.xpm RN_bb_W.xpm
	IconN: RN_yb_N.xpm RN_bb_N.xpm
	IconS: RN_yb_S.xpm RN_bb_S.xpm
	Action: none

Aspect: yellow_yellow
	IconE: RN_yy_E.xpm
	IconW: RN_yy_W.xpm
	IconN: RN_yy_N.xpm
	IconS: RN_yy_S.xpm
	Action: none

Aspect: yellow_green
	IconE: RN_yg_E.xpm
	IconW: RN_yg_W.xpm
	IconN: RN_yg_N.xpm
	IconS: RN_yg_S.xpm
	Action: none

Aspect: short_yellow_green_30
	IconE: RN_yg_E.xpm
	IconW: RN_yg_W.xpm
	IconN: RN_yg_N.xpm
	IconS: RN_yg_S.xpm
	Action: none

Aspect: yellow_green_flashing
	IconE: RN_yg_E.xpm RN_bb_E.xpm
	IconW: RN_yg_W.xpm RN_bb_W.xpm
	IconN: RN_yg_N.xpm RN_bb_N.xpm
	IconS: RN_yg_S.xpm RN_bb_S.xpm
	Action: none

Aspect: short_yellow_green_60
	IconE: RN_yg_E.xpm RN_bb_E.xpm
	IconW: RN_yg_W.xpm RN_bb_W.xpm
	IconN: RN_yg_N.xpm RN_bb_N.xpm
	IconS: RN_yg_S.xpm RN_bb_S.xpm
	Action: none

Aspect: yellow_green_switching
	IconE: RN_yb_E.xpm RN_bg_E.xpm
	IconW: RN_yb_W.xpm RN_bg_W.xpm
	IconN: RN_yb_N.xpm RN_bg_N.xpm
	IconS: RN_yb_S.xpm RN_bg_S.xpm
	Action: none

Aspect: short_yellow_green_100
	IconE: RN_yb_E.xpm RN_bg_E.xpm
	IconW: RN_yb_W.xpm RN_bg_W.xpm
	IconN: RN_yb_N.xpm RN_bg_N.xpm
	IconS: RN_yb_S.xpm RN_bg_S.xpm
	Action: none

Aspect: red_yellow_yellow
	IconE: RN_ry_E.xpm
	IconW: RN_ry_W.xpm
	IconN: RN_ry_N.xpm
	IconS: RN_ry_S.xpm
	Action: none

Aspect: red_green_30
	IconE: RN_rg_E.xpm
	IconW: RN_rg_W.xpm
	IconN: RN_rg_N.xpm
	IconS: RN_rg_S.xpm
	Action: none

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

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

Aspect: red_yellow_30
	IconE: RN_ry_E.xpm
	IconW: RN_ry_W.xpm
	IconN: RN_ry_N.xpm
	IconS: RN_ry_S.xpm
	Action: none

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

Aspect: red_yellow_flashing_30
	IconE: RN_ry_E.xpm RN_rb_E.xpm
	IconW: RN_ry_W.xpm RN_rb_W.xpm
	IconN: RN_ry_N.xpm RN_rb_N.xpm
	IconS: RN_ry_S.xpm RN_rb_S.xpm
	Action: none

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

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

Aspect: red_yellow_green_30
	IconE: RN_ry_E.xpm
	IconW: RN_ry_W.xpm
	IconN: RN_ry_N.xpm
	IconS: RN_ry_S.xpm
	Action: none

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

Aspect: red_yellow_green_100
	IconE: RN_ry-_E.xpm
	IconW: RN_ry-_W.xpm
	IconN: RN_ry-_N.xpm
	IconS: RN_ry-_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_30
	IconE: RN_ry_E.xpm
	IconW: RN_ry_W.xpm
	IconN: RN_ry_N.xpm
	IconS: RN_ry_S.xpm
	Action: none

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

Aspect: red_yellow_green_flashing_100
	IconE: RN_ry-_E.xpm
	IconW: RN_ry-_W.xpm
	IconN: RN_ry-_N.xpm
	IconS: RN_ry-_S.xpm
	Action: none

Aspect: red_yellow_green_switching_30
	IconE: RN_ry_E.xpm
	IconW: RN_ry_W.xpm
	IconN: RN_ry_N.xpm
	IconS: RN_ry_S.xpm
	Action: none

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

Aspect: red_yellow_green_switching_100
	IconE: RN_ry-_E.xpm
	IconW: RN_ry-_W.xpm
	IconN: RN_ry-_N.xpm
	IconS: RN_ry-_S.xpm
	Action: none

Aspect: off
	IconE: RN_bb_E.xpm
	IconW: RN_bb_W.xpm
	IconN: RN_bb_N.xpm
	IconS: RN_bb_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
