here is a modified version of the unification of Spain event, in order to make sure that Spain created by aragon is realistic, another modification I made to my country files in the 1419 folder where to remove the Aragon core provinces from Castile (why should Castile have them after all?). So with that done I give you the event
# Spain is Unified
event = {
id = 3848
# Triggered by CAS 3849 or ARG 3850
random = no
country = SPA
name = "EVENTNAME3848"
desc = "EVENTHIST3848"
style = 2
action_a = { #The Kingdoms are one!#
name = "ACTIONNAME3848A"
command = { type = inherit which = ARG }
command = { type = inherit which = CAS }
command = { type = addcore which = 427 }
command = { type = addcore which = 428 }
command = { type = addcore which = 429 }
command = { type = addcore which = 430 }
command = { type = addcore which = 431 }
command = { type = addcore which = 432 }
command = { type = addcore which = 433 }
command = { type = addcore which = 435 }
command = { type = addcore which = 436 }
command = { type = addcore which = 437 }
command = { type = addcore which = 438 }
command = { type = addcore which = 439 }
command = { type = addcore which = 440 }
command = { type = addcore which = 443 }
command = { type = addcore which = 444 }
command = { type = addcore which = 445 }
command = { type = addcore which = 817 }
command = { type = addcore which = 821 }
}
}