# Segnale comune a più binari con due vele tonde, 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 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, RV, RG, RGx, off (spento)

# Exit signal with 2 round heads, shared by 2 or more tracks and followed
# by whatever signal. It's actually a distant, to be placed after the con-
# fluence 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, RG, RY, RYx, off	without speed indicator

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

Aspect: red
	IconE: NN_rb_E.xpm
	IconW: NN_rb_W.xpm
	IconN: NN_rb_N.xpm
	IconS: NN_rb_S.xpm
	Action: none

Aspect: shunt
	IconE: NN_rb_E.xpm
	IconW: NN_rb_W.xpm
	IconN: NN_rb_N.xpm
	IconS: NN_rb_S.xpm
	Action: none

Aspect: green
	IconE: NN_gb_E.xpm
	IconW: NN_gb_W.xpm
	IconN: NN_gb_N.xpm
	IconS: NN_gb_S.xpm
	Action: none

Aspect: yellow
	IconE: NN_yb_E.xpm
	IconW: NN_yb_W.xpm
	IconN: NN_yb_N.xpm
	IconS: NN_yb_S.xpm
	Action: none

Aspect: short_yellow
	IconE: NN_yb_E.xpm
	IconW: NN_yb_W.xpm
	IconN: NN_yb_N.xpm
	IconS: NN_yb_S.xpm
	Action: none

Aspect: yellow_flashing
	IconE: NN_yb_E.xpm NN_bb_E.xpm
	IconW: NN_yb_W.xpm NN_bb_W.xpm
	IconN: NN_yb_N.xpm NN_bb_N.xpm
	IconS: NN_yb_S.xpm NN_bb_S.xpm
	Action: none

Aspect: yellow_yellow
	IconE: NN_yy_E.xpm
	IconW: NN_yy_W.xpm
	IconN: NN_yy_N.xpm
	IconS: NN_yy_S.xpm
	Action: none

Aspect: yellow_green
	IconE: NN_yg_E.xpm
	IconW: NN_yg_W.xpm
	IconN: NN_yg_N.xpm
	IconS: NN_yg_S.xpm
	Action: none

Aspect: short_yellow_green_30
	IconE: NN_yg_E.xpm
	IconW: NN_yg_W.xpm
	IconN: NN_yg_N.xpm
	IconS: NN_yg_S.xpm
	Action: none

Aspect: yellow_green_flashing
	IconE: NN_yg_E.xpm NN_bb_E.xpm
	IconW: NN_yg_W.xpm NN_bb_W.xpm
	IconN: NN_yg_N.xpm NN_bb_N.xpm
	IconS: NN_yg_S.xpm NN_bb_S.xpm
	Action: none

Aspect: short_yellow_green_60
	IconE: NN_yg_E.xpm NN_bb_E.xpm
	IconW: NN_yg_W.xpm NN_bb_W.xpm
	IconN: NN_yg_N.xpm NN_bb_N.xpm
	IconS: NN_yg_S.xpm NN_bb_S.xpm
	Action: none

Aspect: yellow_green_switching
	IconE: NN_yb_E.xpm NN_bg_E.xpm
	IconW: NN_yb_W.xpm NN_bg_W.xpm
	IconN: NN_yb_N.xpm NN_bg_N.xpm
	IconS: NN_yb_S.xpm NN_bg_S.xpm
	Action: none

Aspect: short_yellow_green_100
	IconE: NN_yb_E.xpm NN_bg_E.xpm
	IconW: NN_yb_W.xpm NN_bg_W.xpm
	IconN: NN_yb_N.xpm NN_bg_N.xpm
	IconS: NN_yb_S.xpm NN_bg_S.xpm
	Action: none

Aspect: red_yellow_yellow
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_green_30
	IconE: NN_rg_E.xpm
	IconW: NN_rg_W.xpm
	IconN: NN_rg_N.xpm
	IconS: NN_rg_S.xpm
	Action: none

Aspect: red_green_60
	IconE: NN_rg_E.xpm
	IconW: NN_rg_W.xpm
	IconN: NN_rg_N.xpm
	IconS: NN_rg_S.xpm
	Action: none

Aspect: red_green_100
	IconE: NN_rg_E.xpm
	IconW: NN_rg_W.xpm
	IconN: NN_rg_N.xpm
	IconS: NN_rg_S.xpm
	Action: none

Aspect: red_yellow_30
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_60
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_flashing_30
	IconE: NN_ry_E.xpm NN_rb_E.xpm
	IconW: NN_ry_W.xpm NN_rb_W.xpm
	IconN: NN_ry_N.xpm NN_rb_N.xpm
	IconS: NN_ry_S.xpm NN_rb_S.xpm
	Action: none

Aspect: red_yellow_flashing_60
	IconE: NN_ry_E.xpm NN_rb_E.xpm
	IconW: NN_ry_W.xpm NN_rb_W.xpm
	IconN: NN_ry_N.xpm NN_rb_N.xpm
	IconS: NN_ry_S.xpm NN_rb_S.xpm
	Action: none

Aspect: red_yellow_flashing_100
	IconE: NN_ry_E.xpm NN_rb_E.xpm
	IconW: NN_ry_W.xpm NN_rb_W.xpm
	IconN: NN_ry_N.xpm NN_rb_N.xpm
	IconS: NN_ry_S.xpm NN_rb_S.xpm
	Action: none

Aspect: red_yellow_green_30
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_60
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_100
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_30
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_60
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_flashing_100
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_switching_30
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_switching_60
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: red_yellow_green_switching_100
	IconE: NN_ry_E.xpm
	IconW: NN_ry_W.xpm
	IconN: NN_ry_N.xpm
	IconS: NN_ry_S.xpm
	Action: none

Aspect: off
	IconE: NN_bb_E.xpm
	IconW: NN_bb_W.xpm
	IconN: NN_bb_N.xpm
	IconS: NN_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
