//
// Base event file
//
// :::::::::::::::::::::::::::::::::::::::::;
//
// #TOTAL_EVENTS is a required entry, and
// should be # of events we have triggers for
// and code fore 
// KCK WARNING: KEEP THIS UPDATED!
//
#TOTAL_EVENTS 22
//
// :::::::::::::::::::::::::::::::::::::::::;
// 
// #SET_EVENT will set the activated flag for any
// events we want to be initially activate
// ie: Seoul already should be marked as
// captured in the Pusan parameter scenario
//
// This marks the ROK as initially on the offensive
#SET_EVENT 10
#SET_EVENT 1
#SET_EVENT 2
#RESET_EVENT 9
// This marks the ROK as having advanced beyond the DMZ
// #SET_EVENT 6
// #SET_EVENT 7
// This sets the initial tempo
#SET_TEMPO 255
#ENDINIT
//
// :::::::::::::::::::::::::::::::::::::::::;
// 
// Now come the individual triggers
// 
// Event #1
// Seoul being attacked by DPRK forces
// 
//
// 
// 
// Event #9
// Combined forces go on offensive
// 
#IF_EVENT_PLAYED 10
#SET_PAK_PRIORITY 6 228 100
#SET_PAK_PRIORITY 1 228 100
#SHIFT_INITIATIVE 6 2 50
#DO_EVENT 9
#RESET_EVENT 10
#ENDIF
// 
// 
// Event #1
// 24 hour reinforcements
#IF_EVENT_PLAYED 1
#IF_CAMPAIGN_DAY G 1
#RESET_EVENT 1
#PLAY_MOVIE 104
#SHIFT_INITIATIVE 6 1 50
#CHANGE_PRIORITIES 6 2
#CHANGE_PRIORITIES 1 4
#SET_TEMPO 255
#ENDIF
#ENDIF
// 
// 
// Event #2
// Allies approach Seoul
#IF_EVENT_PLAYED 2
#IF_CONTROLLED 2 O 366 302 2130
#PLAY_MOVIE 104
#RESET_EVENT 2
#SHIFT_INITIATIVE 6 1 50
// #CHANGE_PRIORITIES 6 1
// #CHANGE_PRIORITIES 2 4
#SET_TEMPO 255
#ENDIF
#ENDIF
//
//
// Event #3
// Allies capture Samchok
// #IF_CONTROLLED 2 A 1538
// #PLAY_MOVIE 104
// #DO_EVENT 3
// #SHIFT_INITIATIVE 6 2 50
// #SET_TEMPO 255
// #ENDIF
//
//
// Event #4
// Allies losing too many troops
#IF_EVENT_PLAYED 4
#ELSE
#IF_SUPPLY 1 L 40
#ELSE
#IF_FORCE_RATIO A 1 6 L 6
#PLAY_MOVIE 107
// #SHIFT_INITIATIVE 1 6 50
#SET_TEMPO 255
#DO_EVENT 4
#RESET_EVENT 5
#ENDIF
#ENDIF
#ENDIF
// 
// 
// Event #5
// DPRK losing too many troops
#IF_EVENT_PLAYED 5
#ELSE
#IF_SUPPLY 6 L 50
#ELSE
#IF_FORCE_RATIO A 6 1 L 6
#PLAY_MOVIE 102
#SET_PAK_PRIORITY 6 260 100
#CHANGE_PRIORITIES 6 2
#SET_TEMPO 255
#DO_EVENT 5
#ENDIF
#ENDIF
#ENDIF
// 
// Event #14
// Bad guys win
// Basically, did Pusan fall
// 
#IF_CONTROLLED 6 A 417
#PLAY_MOVIE 113
#DO_EVENT 14
#END_GAME 14
#ENDIF
// 
// Event #15
// Stalemate
// 
#IF_BORDOM_HOURS 120
#PLAY_MOVIE 114
#DO_EVENT 15
#END_GAME 15
#ENDIF
// 
// Event #16
// Timeout
// 
#IF_CAMPAIGN_DAY G 5
#PLAY_MOVIE 115
#DO_EVENT 16
#END_GAME 16
#ENDIF
// 
// Event #17
// We win - hu-rah!
// Basically - We own Seoul
//
#IF_CONTROLLED 2 A 228
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ELSE
#IF_CONTROLLED 1 A 228
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ENDIF
// End
#ENDSCRIPT

