it's certainly possible, but it will require a good model for it to work flexibel.
"IF PlanetOwner(PlanetNumber123456) == 1 --player one
THEN VICTORY "
This would be very possible to comprehend by a computer program.
But this can get difficult if you want to allow things like:
code:
if(player1.numPlanets() == 2 && player1.hasTech("Stellar Manip") || player2.ownsPlanet(3846))
{
createNewPlayer();
useVictoryConditions(2);
}
Where you have multiple check for an event, and several events, and several victory conditions, depending on the game situation.
Translating this from a text file to executable code through a program is difficult.
This is actually interesting, scenario events and triggers. Maybe i'll make something like this.