Brain brine: Difference between revisions

135 bytes removed ,  19:10, 4 April 2022
permuting mutation buys now updates brain brine
m (+links to random number page)
(permuting mutation buys now updates brain brine)
Line 75: Line 75:
#The specific result is determined: for example, giving the creature the [[Tinker III]] and [[Swipe]] skills.
#The specific result is determined: for example, giving the creature the [[Tinker III]] and [[Swipe]] skills.


The first roll uses per-creature [[RNG]] that isn't used anywhere else in the game. This means that while [[Precognition]] can predict the results of drinking brain brine, seed manipulation cannot alter its outcome for a given creature. However, since [[Clones | clones]] have their own random brain brine seed, it ''is'' possible to force a desired result by using Precognition, generating a clone, dominating it, and drinking Brain Brine. Once a clone receives the right roll, you can [[Permaswapping|permaswap]] with it to gain those selected benefits permanently.  
The first roll uses per-creature [[RNG]] which can only be rerolled with {{favilink|Eaters' nectar injector|plural}}, {{favilink|drop of nectar|plural}}, or a {{favilink|gamma moth}}'s mutating effect.{{Code Reference | namespace=XRL.World | class=GameObject | method=PermuteRandomMutationBuys}} This means that while [[Precognition]] can predict the results of drinking brain brine, seed manipulation can only alter its outcome for a given creature as many times as that creature is exposed to one of those effects. However, since [[Clones | clones]] have their own random brain brine seed, it is possible to force a desired result by using Precognition, generating a clone, dominating it, and drinking Brain Brine. Once a clone receives the right roll, you can [[Domination#Permanent_Domination|permaswap]] with it to gain those selected benefits permanently.


The second roll uses different types of [[RNG]] depending on the general result:
The second roll uses different types of [[RNG]] depending on the general result:
* Intelligence, Willpower, and skill points are determined by a specific per-creature random seed in a similar manner to the first roll.
* Intelligence, Willpower, mutations, and and skill points are determined by the same specific per-creature random seed as the first roll.
* Positive mental mutations are determined by a specific non-creature-specific seed which can be rerolled by choosing a mutation (through mutation points or [[Unstable Genome|unstable genome]]) or the [[Mutating gaze|mutating gaze]] of a {{Favilink|gamma moth}}, but not by injecting an {{Favilink|Eaters' nectar injector|eater's nectar injector}} or cooking with a {{Favilink|Drop of nectar|drop of nectar}}.
* Skills and secrets are determined by a general RNG that can be rerolled by waiting.
* Mental defects, skills, and secrets are determined by a general RNG that can be rerolled by waiting.  


{{Liquid Navbox}}
{{Liquid Navbox}}
{{References | 2.0.202.104}}
{{References | 2.0.203.28}}
<!-- Don't touch anything below this-->
<!-- Don't touch anything below this-->
{{#cargo_store:_table=GeneralData|DisplayName={{qud text|phial of {{qud shader no parse|brainbrine|brain brine}}}}|PlainName=phial of brain brine|ObjectID=BrainBrinePhial|Image=phial.png|Weight=1|Commerce=1233|DisplayChar=.}}
{{#cargo_store:_table=GeneralData|DisplayName={{qud text|phial of {{qud shader no parse|brainbrine|brain brine}}}}|PlainName=phial of brain brine|ObjectID=BrainBrinePhial|Image=phial.png|Weight=1|Commerce=1233|DisplayChar=.}}