Skip to content

Commit

Permalink
2.03
Browse files Browse the repository at this point in the history
  • Loading branch information
uriele committed Sep 13, 2024
1 parent feaaee3 commit 97d9b9c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
13 changes: 7 additions & 6 deletions Delta Green 2/deltagreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -6116,16 +6116,17 @@ <h2>{{#subheader}}({{subheader}}%){{/subheader}}</h2>
});
});
});
}
};

const version_202_203 = () => {
const codeversion = 2.03
const update ={}
update['version'] = codeversion
const old_named_skills=[`art`,`craft`,`pilot`,`military_science`,`science`]
const old_adaptation = [`violence_1`,`violence_2`,`violence_3`,`helplessness_1`,`helplessness_2`,`helplessness_3`]
console.log('verion:',codeversion);
update['version'] = codeversion;
const old_named_skills=['art','craft','pilot','military_science','science'];
const old_adaptation = ['violence_1','violence_2','violence_3','helplessness_1','helplessness_2','helplessness_3'];
const old_named_skills_names=old_named_skills.map(x=> `${x}_name`)
getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),values =>{
getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),(values) =>{
if (values.hasOwnProperty('art_name')){
const art_value=setMinMax(values[`art`]);
const art_name = values[`art_name`];
Expand Down Expand Up @@ -6190,7 +6191,7 @@ <h2>{{#subheader}}({{subheader}}%){{/subheader}}</h2>
});

});
}
};


const BondButtonColor= (bondvalue) => {
Expand Down
5 changes: 3 additions & 2 deletions Delta Green 2/src/js/sheetworkers_versioning.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,10 @@ var version_201_202 = function version_201_202() {
var version_202_203 = function version_202_203() {
var codeversion = 2.03;
var update = {};
console.log('verion:', codeversion);
update['version'] = codeversion;
var old_named_skills = ["art", "craft", "pilot", "military_science", "science"];
var old_adaptation = ["violence_1", "violence_2", "violence_3", "helplessness_1", "helplessness_2", "helplessness_3"];
var old_named_skills = ['art', 'craft', 'pilot', 'military_science', 'science'];
var old_adaptation = ['violence_1', 'violence_2', 'violence_3', 'helplessness_1', 'helplessness_2', 'helplessness_3'];
var old_named_skills_names = old_named_skills.map(function (x) {
return "".concat(x, "_name");
});
Expand Down
13 changes: 7 additions & 6 deletions Delta Green 2/src/js/sheetworkers_versioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,17 @@ const version_201_202 = () => {
});
});
});
}
};

const version_202_203 = () => {
const codeversion = 2.03
const update ={}
update['version'] = codeversion
const old_named_skills=[`art`,`craft`,`pilot`,`military_science`,`science`]
const old_adaptation = [`violence_1`,`violence_2`,`violence_3`,`helplessness_1`,`helplessness_2`,`helplessness_3`]
console.log('verion:',codeversion);
update['version'] = codeversion;
const old_named_skills=['art','craft','pilot','military_science','science'];
const old_adaptation = ['violence_1','violence_2','violence_3','helplessness_1','helplessness_2','helplessness_3'];
const old_named_skills_names=old_named_skills.map(x=> `${x}_name`)
getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),values =>{
getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),(values) =>{
if (values.hasOwnProperty('art_name')){
const art_value=setMinMax(values[`art`]);
const art_name = values[`art_name`];
Expand Down Expand Up @@ -378,4 +379,4 @@ const version_202_203 = () => {
});

});
}
};

0 comments on commit 97d9b9c

Please sign in to comment.