Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wiki/hell.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function hellPage(content){
2: ['1%',loc(`harmonic`)],
3: ['3%'],
4: [loc(`harmonic`),'2%','6%'],
5: [loc(`wiki_hell_pillar_para5d1`),12],
5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${(Math.abs(1000 - towerSize()))}%`],
Copy link

Copilot AI Nov 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The '%' symbol is incorrectly appended to the segment count. The string template expects a number of segments (not a percentage), as indicated by 'discount from pillars of %3 segments'. Remove the '%' from the template literal.

Suggested change
5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${(Math.abs(1000 - towerSize()))}%`],
5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${Math.abs(1000 - towerSize())}`],

Copilot uses AI. Check for mistakes.
6: [loc(`harmonic`),`${((harmonic[0] - 1) * 100).toFixed(0)}%`,`${((harmonic[1] - 1) * 100).toFixed(0)}%`],
},
data_link: {
Expand Down
3 changes: 2 additions & 1 deletion src/wiki/mechanics.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { actions, structName } from './../actions.js';
import { astroVal, astrologySign } from './../seasons.js';
import { shipAttackPower, sensorRange, shipCrewSize, shipPower } from './../truepath.js';
import { sideMenu, infoBoxBuilder, createRevealSection, createCalcSection, getSolarName } from './functions.js';
import { towerSize } from '../portal.js';

export function mechanicsPage(content){
let mainContent = sideMenu('create',content);
Expand Down Expand Up @@ -664,7 +665,7 @@ export function mechanicsPage(content){
2: ['1%',loc(`harmonic`)],
3: ['3%'],
4: [loc(`harmonic`),'2%','6%'],
5: [loc(`wiki_hell_pillar_para5d1`),12]
5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${(Math.abs(1000 - towerSize()))}`]
},
data_link: {
5: ['wiki.html#hell-structures-west_tower']
Expand Down
2 changes: 1 addition & 1 deletion strings/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10940,7 +10940,7 @@
"wiki_hell_pillar_para2": "This provides a stacking permanent bonus that gives you +%0 production bonus for each pillared species, called %1.",
"wiki_hell_pillar_para3": "An additional +%0 bonus is gained if you have ever pillared your current species.",
"wiki_hell_pillar_para4": "%0 also provides a storage bonus of %1 for each pillared species and %2 if the current species is pillared.",
"wiki_hell_pillar_para5": "Additionally, each activated pillar discounts the number of %0 segments you need to build to open the ancient gate by %1.",
"wiki_hell_pillar_para5": "Additionally, each activated pillar discounts the number of %0 segments you need to build to open the ancient gate by between %1 and %2, based on it's completed challenge level. You are currently receiving a total discount from pillars of %3 segments.",
Copy link

Copilot AI Nov 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'it's' to 'its'. The possessive form should be 'its' (without apostrophe), not the contraction 'it's' (it is).

Copilot uses AI. Check for mistakes.
"wiki_hell_pillar_para5d1": "Tower",
"wiki_hell_pillar_para6": "Your current %0 bonus is: %1 Production, %2 Storage.",
"wiki_hell_spire": "The Hell Spire",
Expand Down
Loading