update wiki mechanics-gameplay-pillar explanation#1534
update wiki mechanics-gameplay-pillar explanation#1534SkyeAmphi wants to merge 1 commit intopmotschmann:masterfrom
Conversation
updating the wiki mechanics Pillar section to reflect the new way the Tower segment count per Pillar works
There was a problem hiding this comment.
Pull Request Overview
This PR updates the pillar mechanics documentation to provide more detailed information about tower segment discounts. The changes expand the description to include the discount range based on challenge completion level and display the player's current total discount.
Key Changes:
- Updated text to explain the dynamic discount range (4-12 segments based on challenge level)
- Added display of current total discount from all pillars
- Updated the wiki pages to reflect the more detailed pillar discount information
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| strings/strings.json | Updated wiki text for pillar paragraph 5 to include discount range and current total |
| src/wiki/mechanics.js | Added towerSize import and updated para_data to pass discount values |
| src/wiki/hell.js | Updated para_data to pass discount values with percentage symbol |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "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.", |
There was a problem hiding this comment.
Corrected spelling of 'it's' to 'its'. The possessive form should be 'its' (without apostrophe), not the contraction 'it's' (it is).
| 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()))}%`], |
There was a problem hiding this comment.
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.
| 5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${(Math.abs(1000 - towerSize()))}%`], | |
| 5: [loc(`wiki_hell_pillar_para5d1`),4,12,`${Math.abs(1000 - towerSize())}`], |
updating the wiki mechanics Pillar section to reflect the new way the Tower segment count per Pillar works, based on achievement level rather than flat number per pillar