Skip to content

Commit

Permalink
Update magix.js
Browse files Browse the repository at this point in the history
Added sets of "Nothing to research" texts for respective civilizations
  • Loading branch information
pelletsstarPL authored Feb 25, 2025
1 parent 3947b12 commit c569aa9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magix.js
Original file line number Diff line number Diff line change
Expand Up @@ -10986,6 +10986,7 @@ if (getObj("civ") != "1") {
context: 'tech',
choicesN: 4,
cooldown: 0,
noMoreChoicesTexts:['There is currently nothing to research','No new technologies can now be found','There are over three hundred technologies. Maybe wait up a bit.','There are currently no new available researches','No new technologies are currently available'],
getCosts: function () {
let calcCost = (name, constGain = 0.025, rollGain = 0.05) => Math.floor(G.getRes(name).amount * (constGain + this.roll * rollGain));
var costs = {};
Expand Down Expand Up @@ -25031,6 +25032,7 @@ if (getObj("civ") != "1") {
name: 'research box',
context: 'tech',
choicesN: 4,
noMoreChoicesTexts:['There is currently nothing to research','No new technologies can now be found','There is like one hundred technologies. Maybe wait up a bit.','There are currently no new available researches','No new technologies are currently available'],
getCosts: function () {
var techCntLastNmbr = G.has('symbN') ? (G.techN + G.knowN) % 10 : -1;
var batterycost = (G.achievByName['the fortress'].won >= 5 ? 25 : 0) + (G.has('symbN') && techCntLastNmbr == 1 ? 5 : 0);
Expand Down Expand Up @@ -28762,4 +28764,4 @@ if (getObj("civ") != "1") {
}
}
})
}
}

0 comments on commit c569aa9

Please sign in to comment.