A Classic Fairytale: Harden all missions against missing campaign variables in team file and assume default values
This assumes the worst case in which the team file is missing all campaign variables except Progress.
This has been successfully tested with all 10 missions and still generates a logical storyline.
By default, the game assumes:
- The cyborg's offer in mission 2 was refused
- The traitor in mission 5 was killed
As a consequence, missions 8 and 10 use the princessScene cut scene.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="50"
width="50"
x="0px"
y="0px"
version="1.1"
viewBox="0 0 50 50"
xml:space="preserve"
enable-background="new 0 0 436.44 424.577"
id="Layer_1"
sodipodi:docname="folder.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1024"
id="namedview841"
showgrid="false"
inkscape:zoom="5.9514821"
inkscape:cx="1.0474005"
inkscape:cy="13.907651"
inkscape:window-x="0"
inkscape:window-y="31"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><defs
id="defs4642"><linearGradient
id="XMLID_39_"
y2="35.569"
gradientUnits="userSpaceOnUse"
x2="64.388"
gradientTransform="matrix(0.3541,0,0,0.3541,1.6387,-0.083649)"
y1="65.124001"
x1="64.388"><stop
id="stop336"
style="stop-color:#FFFFFF"
offset="0" /><stop
id="stop338"
style="stop-color:#FF6200"
offset=".8539" /><stop
id="stop340"
style="stop-color:#F25D00"
offset="1" /><midPointStop
id="midPointStop335"
style="stop-color:#FFFFFF"
offset="0" /><midPointStop
id="midPointStop337"
style="stop-color:#FFFFFF"
offset="0.5" /><midPointStop
id="midPointStop339"
style="stop-color:#FF6200"
offset="0.8539" /><midPointStop
id="midPointStop341"
style="stop-color:#FF6200"
offset="0.5" /><midPointStop
id="midPointStop343"
style="stop-color:#F25D00"
offset="1" /></linearGradient></defs><g
id="g847"
transform="matrix(1.0116175,0,0,1.0116175,0.30267219,-16.376137)"><path
inkscape:connector-curvature="0"
style="fill:#ffcd65;fill-opacity:1;stroke:#573f07;stroke-width:1.60800004;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4633"
d="m 12.245913,21.938287 13.493661,1.673412 0.593465,0.219902 c 0.419165,0.659707 -0.131725,1.408563 0.04431,2.113114 6.206752,0.945958 12.389956,1.914073 18.707145,2.222259 0.197534,0.08774 0.330123,0.219903 0.373996,0.4183 -2.993155,9.551534 -6.319752,20.194618 -4.888713,30.780178 v 0.176462 L 10.294961,49.782 c -0.79179,0 0.730092,-21.845962 0.730092,-21.845962 0,0 0.560829,-4.016147 1.2214,-5.996671 z" /><path
inkscape:connector-curvature="0"
style="fill:#e69c00;fill-opacity:1;stroke:#573f07;stroke-width:1.60699999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4626"
d="m 4.4414923,28.360111 c 0.8535257,-0.349575 1.9912027,0 2.8435477,0.1099 8.884298,1.903111 17.938164,3.380058 27.192128,4.211346 1.225338,0.284473 0.722676,1.356295 0.832147,2.319829 -0.415429,8.467581 0.605309,17.488135 4.827712,24.796553 C 30.224951,59.57955 21.566969,56.412947 12.618104,52.912683 10.626901,51.664677 8.155468,51.662009 7.301834,49.102181 5.305327,42.991787 3.3703287,36.69419 3.7174184,29.980683 3.7817524,29.257175 4.0924626,28.901908 4.4414923,28.360111 Z" /><path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:0.0658683;stroke-width:0.09016989"
id="path4626-3"
d="m 5.470299,29.027592 c 0.6827774,-0.168534 1.677426,0.405554 2.300462,0.304184 4.494948,1.405293 20.361778,3.073775 26.258636,4.297613 0.94405,0.260123 0.353089,1.381218 0.437431,2.262277 C 30.41684,51.353125 5.887201,50.561168 9.690875,50.69114 8.156772,49.549957 8.340958,49.672359 7.683284,47.331643 6.145095,41.744271 4.1423369,37.565988 4.4097487,31.427129 4.5294311,30.907471 4.4727612,29.639788 4.843561,29.278287 Z" /><path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:0.15269464;stroke-width:0.09016989"
id="path4626-3-6"
d="m 12.780516,22.800021 3.446446,0.479877 9.249617,1.235677 c 0,0 -0.04916,1.845739 0.142095,2.153875 -0.02325,0.0027 7.837117,0.937707 13.192741,1.859102 1.586251,0.14802 2.769599,0.257927 4.410709,0.411808 0.306221,0.05698 0.563199,0.01135 0.725934,0.06607 0.07464,0.0251 0.409834,-0.06188 0.458989,-0.02759 -0.08104,0.377335 -0.100333,0.618551 -0.243556,0.74789 -0.139681,0.123841 -0.325747,0.01989 -0.330256,0.06141 -0.02601,0.239522 -17.310065,-1.00348 -17.431742,-1.012038 -3.366442,-0.03162 -14.276281,-0.294142 -14.276281,-0.294142 0,0 -0.17888,0.07412 -0.20481,-0.139355 -0.08916,-0.73405 0.860114,-5.542584 0.860114,-5.542584 z" /></g><metadata
id="metadata4637"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" /><dc:publisher><cc:Agent
rdf:about="http://openclipart.org/"><dc:title>Openclipart</dc:title></cc:Agent></dc:publisher><dc:title></dc:title></cc:Work><cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"><cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /></cc:License></rdf:RDF></metadata></svg>