Wiki and Trait Description Overhaul#1555
Open
g4nd41ph wants to merge 4 commits intopmotschmann:masterfrom
Open
Wiki and Trait Description Overhaul#1555g4nd41ph wants to merge 4 commits intopmotschmann:masterfrom
g4nd41ph wants to merge 4 commits intopmotschmann:masterfrom
Conversation
Major updates: Refactoring work in functions.js and races.js to move trait extra descriptions into the definition for each trait, instead of having an array of exceptions call out when extra descriptions are needed. Should improve maintainability. Extra descriptions can also now access the values of the trait at its current selected rank, allowing the extra descriptions to dynamically change their values on the Trait page in the wiki just like the normal descriptions do. Added wiki articles: -Added a description of Ambush Odds to the wiki article for Hell Patrol Strategy. -Added a description and list of Basic Jobs and Mining Jobs to the Mechanics page. -Added a description and list of technologies affecting the Science Level and High Tech Level to the Mechanics page. -Added a description of Population Growth mechanics to the Mechanics page, including the effects of the Upper Bound and Lower Bound values. -Added missing event articles in the Major and Minor events pages related to the Rogue, Chicken, and Aggressive traits. Minor Updates: Updated wiki articles: -Added information about how much hazards are mitigated by "Partial Mitigation" equipment in the Hazards section of Spire mechanics. -Made it more clear that the Scout Mech reduces 1 percentage point of terrain penalty, and not 1% of the current penalty. -Added missing loot multipliers to the article on Combat Loot. -Corrected article on Ancient Pillars to reflect that the discount for the tower is not always 12, but depends on the difficulty at which the pillar was completed. Wiki UI: -Traits page on the wiki now has some style information added to prevent rank down button from jumping around while being clicked on. Trait Descriptions updated: -Aggressive: Added links to new Events articles about added events. Changed wording to accomodate added events. -Autoignition: Changed wording to reflect the percentage of the bonus that is lost. Previous wording was ambiguous between percent of bonus and percentage points of knowldge bonus lost. -Blood Thirst: Added extra description that details that the Heir of Genghis Khan achievement can still be earned. Also describes scaling of the bonus and sources of Blood Thirst stacks. -Blubber: Updated description to reflect the fact that normal oil production is disabled (this was previously not stated). Also added information about maximum corpse storage and old age deaths. -Blurry: Added information about how chances of success in espionage are affected. Also fixed math error in how surveyor death odds change (increase in divisor somewhat less effective than decrease in numerator when considering probabilities). -Calm: Added information about how Zen slots are filled. Added extra description with scaling calculation. -Cannibalize: Added descriptions of the buffs, information about how they interact with each other, and how refreshes add time to the current remaining time. Added extra description showing effects of each related technology on buff duration. -Chameleon: Reworked description to reflect new explanation of how Ambush Odds work, adding link. Added information about how conflict with Elusive resolves. Added extra description with information about interaction with Grenadier and Barracks capacity. -Chicken: Removed flavor text. Added information about specifically what changes in hell. Reworked description to reflect inclusion of information about Ambush Odds. Added links to new articles about Chicken and Chicken Feast events. -Cold Blooded: Updated incorrect job list. Added references to new Basic Jobs and Mining Jobs articles. -Curious: Reworked wording to add link to event article for Curious event. -Darkness: Added information about probabilities and scaling. -Deconstructor: Added clarification that Nanites are used to build new population. Added information about how nanites are constructed. Added information about some buildings also requiring Nanites to construct. -Elemental: Added extra description detailing how the Element is chosen, which planet types correspond to which elements, and what all four possible effects are. -Elusive: Reworked description to reflect new explanation of Ambush Odds. Clarified conflict with Chameleon. -Empowered: Added extra description to clarify interactions with Fanaticism, Deify Ancients, Mutation, Mimic, and Imitation. -Fast Growth: Now has an explanation of what specifically it does with links to the relevant wiki article. -Forager: Updated with link to Job Types article. -Free Spirit: Updated with link to Job Types article. -Ghostly: Updated incorrect mathematics in determining Soul Gem drop rate (a decrease in divisor is somewhat more effective than increasing numerator). -Grenadier: Added undocumented effect which causes soldiers to provide 75% more authority. Added undocumented effect that reduces military crew requirements for ships as well as soldier housing capacity. Added Extra desctiption that shows magnitudes of reductions, interaction with Nanoweave Hammocks, and interaction with Chameleon and Bunk Beds. -Hivemind: Jobs list was incorrect. Moved into extra descriptions. Extra descriptions now list all jobs, explain scaling calculations (including special soldier scaling calculations), diminishing returns calculations, and special interaction with Swift, Living Tool, Strong, and the Educator governor. -Humpback: Updated incorrect list of jobs. Included link to new Job Types article. -Imitation: Added extra description with information about interactions with Hybrid and Custom Hybrid, Requirement to take Synthetic genus to include during custom creation, Information about how to pick the target, interaction with Empowered, and interaction with Mutation system. -Linked: Added extra description with diminishing returns calculation. -Living Materials: Added information about magnitude and speed of cost reductions. Added extra description detailing when cost reductions start, how they are reset after each purchase, and interactions with resource replacement traits such as Flier, Sappy, Heat genus, and Evil. -Living Tool: Added undocumented 25% boost to basic job income. Added information about how this boost conflicts with the Swift trait. Added undocumented effect on crafting speed. Added link to new Technology Levels article. Added specific bonuses to different jobs. Added link to new Job Types article. -Logical: Reworked wording to reflect new explanation of Technology Levels. Added links to new Technology Levels article. Removed extra description. -Mimic: Added information about how and where to select the target genus. Added extra description detailing interactions with the Empowered trait and mutation system. -Mistrustful: Updated description to make clear that it adds extra percentage points of hate, not extra percent of hate gained. -Ocular Power: Added extra description about what the powers are and what they do. Included links to new wiki articles. -Pack Mentality: Updated description to reflect current names of housing buildings. -Parasite: Added undocumented combat bonus. -Powered: Updated incorrect jobs list and put in reference to new Job Types article. -Promiscuous: Added information about actual effect and link to new Population Growth article. Added undocumented cost reduction for Synthetic species construction. -Revive: Reworked description to add information about interaction with weather, combat success, and hell patrols. -Rogue: Reworked wording to add link to new article on event added by Rogue. Added undocumented second limit of 4% of knowledge cap. -Sky Lover: Added link to new Job Types article. -Sniper: Reworked description to increase clarity about how scaling works with subsequent upgrades. Added list of affected technologies to extra description. -Solitary: Current names of housing units are now used for increased clarity about which buildings are affected. -Spores: Added information about actual effects, and link to new wiki article on Population Growth. Added interaction with Parasite. -Strong: Added link to wiki article on Job Types. Added extra description detailing interaction with similar bonus from Living Tool and Strong. -Stubborn: Added links to new Technology Levels article, as well as exceptions for cost increase. -Swift: Added uncodumented bonus to Basic Jobs. Added interaction with Living Tool. Added extrta description detailing interaction with Strong. -Terrifying: Added information about how Titanium scaling happens and which loot pool it belongs to. Added undocumented effect of getting the bonus of Corrupt Politicians research for free. -Tough: Added link to new Job Types wiki article. -Tusked: Added link to new Job Types article. Added information about conflict with Living Tool. Added information about Moisture's effect on Combat Power bonus. Added information about how much combat bonus decreases in Hell. Added extra description detailing how moisture level is calculated including biome types and weather. -Unfathomable: Added undocumented information about number of surface dweller species available, capture difficulty, production bonus scaling, and interaction with Ancient Nightmare. -Unstable: Reworked wording and added extra description to detail undocumented scaling behavior. -Weak: Updated incorrect job list. Added link to new Job Types article. Consistency Updates: -All references to the phrase "Basic Jobs" everywhere are now links to the wiki article on Job Types. -All references to "Mining Jobs" in the trait descriptions and extra descriptions are now links to the wiki article on Job Types. -All references to "Population Growth Lower Bound" in trait descriptions are now links to the wiki article on Job Types. -All references to "Population Growth Upper Bound" in trait descriptions are now links to the wiki article on Job Types. -All references to "Science Level" in trait descriptions are now links to the wiki article on Technology Levels. -All references to "High Tech Level" in trait descriptions are now links to the wiki article on Technology Levels. -All references to "Ambush Odds" in trait descriptions are now links to the wiki article on Hell Patrol Strategy (which now includes an explanation of Ambush Odds). -The Aggressive, Chicken, Curious, and Rogue traits now all have links to the Events articles for their respective added events.
Bugs: -The description for the Guard Post in the Pit did not display the correct value for the amount of Security provided if the species has Hivemind. This has been fixed, and now displays the average value of all the guard posts currently, or the value of the first Guard Post if none are currently active. Wiki articles: -Rewrote articles on Soul Gems to add more details about how drop rates are calculated, as well as the many previously undocumented sources of Soul Gem drops. -Rewrote article on CRISPR Mutation to show more information about how costs are calculated, as well as which traits will or will not be available to add to a species using this mechanic. -Made a new article in Gameplay->Mechanics about what happens if a trait is gained from multiple sources. Traits: -Living Tool: Added an extra description detailing multiplicative interaction with Strong. -Terrifying: Added a link to the Combat Loot article. -Tusked: Text detailing values in the extra description is now highlighted. -Unstable: Fixed wording to show that UP TO 10% of citizens may die, instead of exactly 10%. -Tough: Added exception for the Quarry Worker in the description. Assume this was intentional. -Hivemind: Added extra description text about this trait having no effect in Lone Survivor. Misc: -All trait extra descriptions mentioning CRISPR Mutation now link to the CRISPR Mutation article. -Added the amount of cost scaling reduction to the description of the Purification Blood Stone Shop upgrade. I think this is it for a while. I have more things on my docket, but I'll have to get farther in the game before I can evaluate where the wiki needs changes for them.
Trait Descriptions: -Angry: Linked to new Starvation article. Disambiguated % and percentage points. -Anthropophagite: Added undocumented effect that there is a 1 in 400 chance for a pop to be killed and eaten even if food is not low. -Apex Predator: Linked to new Combat Rating article. -Armored: Linked to Hell Patrol Strategy article. -Atrophy: Linked to Starvation article. -Beast of Burden: Linked to the War Loot article. -Bloated: Listed specific resources in Extra Description, since Basic Resources isn't defined elsewhere. -Cannibalize: Deleted first sentence of Extra Description, as it wasn't needed. Linked to new Combat Rating article. Linked to new Soldier Healing article. -Cautious: Linked to new Combat Rating article. -Chameleon: Linked to new Combat Rating article. -Claws: Linked to new Combat Rating article with both Combat Rating and Combat Roll tags. -Content: Linked to Job Stress Article with note about affecting different jobs differently. -Curious: Disambiguate Knowledge Capacity. -Dumb: Call out Incompatibility with Smart. -Elemental: Wasn't clear from Electric scaling explanation that power scaling was for power generated by Elemental only and did not include all power generation. Linked to Combat Rating article. -Emotionless: Linked to Job Stress article. -Environmentalist: Computations do not use toFixed() in all places, which occasionally led to strange looking output in the description with way too many decimal places. Added toFixed() to all calculations to prevent this. -Fibroblast: Linked to Soldier Healing article. -Fiery: Linked to Combat Rating article. -Forager: Clarified that Forager does not REPLACE other jobs, but COMPLEMENTS them. Put production ratios in the trait description. -Free Spirit: Linked to Job Stress Article. -Ghostly: Called out specific spots where Ghostly helps find more Soul Gems, to go along with updated Soul Gem article. Linked to updated Soul Gem article. -Gnawer: Added information about what happens if Lumber is replaced. -Grenadier: Linked to new Combat Rating article. -Hard of Hearing: Disambiguated Knowledge Capacity. -Heavy: Listed resources in trait description instead of in an Extra Description. -High Population: Made keywords in Extra Description yellow. Added undocumented effect on soldier healing rate. Linked to new Soldier Healing article. -Hivemind: Added a note about how the breakpoint scales with High Pop, except for soldiers. -Holy: Link to new Combat Rating article. -Humpback: Link to new Starvation article. -Instincts: Surveyor death rate modification is changing a divisor. Added math fix to display correct output value for increased chance. -Invertebrate: Linked to War Loot article. -Magnificent: Disambiguate Knowledge Capacity. -Malnutrition: Linked to new Starvation article. Disambiguate between % and percentage points. -Musical: Disambiguate between % and percentage points. -Nearsighted: Disambiguate Knowledge Capacity. -Ocular Power: Values in the Extra Description now change dynamically with trait rank. Linked to new Combat Rating article. -Otimistic: Clarified that Job Stress decreases by a few points, equivalent to a morale boost of the same amount. Linked to Job Stress article. -Parasite: Linked to new Combat Rating article. -Pathetic: Linked to new Combat Rating article. -Pessimistic: Clarified that Job Stress increases by a few points, equivalent to a morale drop of the same amount. Linked to the Job Stress article. -Playful: Linked to Job Stress article. -Puny: Linked to new Combat Rating article twice, with both the Combat Rating and Combat Roll tags. -Rage: Linked to new Combat Rating article. -Regenerative: Linked to new Soldier Healing article. -Scales: Linked to Hell Patrol Strategy article. -Sky Lover: Linked to Job Stress article. -Slaver: Specified that slaves can also be bought. -Slow Digestion: Linked to new Starvation article. -Slow Regen: Linked to new Soldier Healing article. -Smart: Call out incompatibility with Dumb. -Sticky: Linked to new Combat Rating article. -Strong: Clarified that Basic Jobs are 2x AS effective, not 2x MORE effective. -Sudious: Disambiguate Knowledge capacity. -Swift: Link to new Combat Rating article. -Tactical: Link to new Combat Rating article. -Terrifying: Tied all instances of the word "Titanium" to the translation to ensure consistency. -Tusked: Linked to the Combat Rating article. -Unified: Disambiguate that the bonus is in percentage points, and that it affects the production bonus only. Wiki: -Added new article for Starvation -Added new article for Soldier Healing -Added new article for Combat Rating (also includes info on Combat Rolls). -Added information about Hell Armor to Hell Patrol Strategy article -Added information about how Soul Gem Drops are found in the Soul Gem article. -Added the Medical Level to the list of Technology Levels. -Added the Armor Level to the list of Technology Levels. Consistency in Trait Descriptions: -Standardized all references to Combat Rating and linked them to the new article. -Standardized all references to Soldier Healing and linked them to the new article. -Standardized all references to Starvation and linked them to the new article. -Standardized all references to Soul Gems and linked them to the Soul Gem article. -Standardized all references to Hell Patrol Armor and linked them to the Hell Patrol Strategy article. -Standardized all references to Job Stress and linked them to the Job Stress article. -Disambiguated between Knowledge production and Knowledge cap where appropriate. Misc: -Updated description for Technophobe, since it modifies a divisor and therefore had the wrong value for drop chance improvement. -Added small helper function rNameNoColor into functions.js to allow getting the current name of a resource without disturbing any current color assignment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looked through trait descriptions and updated many of them to match the current state of the game.
Wrote new wiki articles for a few previously undocumented mechanics.
Added links to trait descriptions for some mechanics that might need additional explanation.
Refactor of how extra descriptions are handled to improve maintainability.
Did some spot checks to make sure that languages other than English are not broken. It does not appear visibly broken, though LOTE are failing over to using English in the sections with brand new strings (obviously), and barfing in the console not knowing where to put new data that was added to some descriptions (also obviously).
See commit messages for specific information about changes.