|
|
(19 intermediate revisions by the same user not shown) |
Line 14: |
Line 14: |
| * [[Template:Sandbox/Arcangelus]] | | * [[Template:Sandbox/Arcangelus]] |
| * [[Module:String]] | | * [[Module:String]] |
− | | + | * [[Module:Thought]] (Deprecated due to being slower than [[Template:Thought]] "normal" implementation) |
| | | |
| == Testing the Module == | | == Testing the Module == |
Line 20: |
Line 20: |
| | | |
| == Otra tabla == | | == Otra tabla == |
| + | Skylantern festival extra reward chance is in RitualOutcomeEffectWorker_Skylantern. |
| + | It can only happen on a positive outcome, and there is a 20% chance it doesn't <code>if (!outcome.Positive || !Rand.Chance(0.2f)) {return; }</code> . The reward varies between 200-500 silver. It triggers as an incident of 160 points, always 3 pawns of the ideoreligion of the ritual. I don't follow how the items are chosen. |
| + | |
| + | Dance Party extra reward chance is in RitualOutcomeEffectWorker_DanceParty. |
| + | It can only happen on a positive outcome, and there is a 10% chance it doesn't <code>if (!outcome.Positive || !Rand.Chance(0.1f)) { return; } )</code>. |
| + | |
| + | The blinding ritual extra reward chance is in RitualOutcomeEffectWorker_Blinding. |
| + | It requires Royalty{{RoyaltyIcon}} and can only happen on a positive outcome. Then, it required the best outcome possible for the ritual OR a 50% chance. |
| + | <code>if (ModsConfig.RoyaltyActive && outcome.Positive && (outcome.BestPositiveOutcome(jobRitual) || Rand.Chance(0.5f)))</code> |
| + | There's also something regarding how the ability is chosen, but all I get is that the PSyLink Level will increse and an ability has to be possible to grant for that to happen. |
| + | |
| + | Extra reward chance in RitualOutcomeEffectWorker_Duel |
| + | It requires a positive outcome. No other requirement seems needed. |
| + | The best possible result gives 5000 XP to melee to the duelists, 2000 XP to melee to everyone, and fills 50% of the joy/recreation bar. Other (valid) results halve that. |
| + | There is no mention to mood increases (beyond the ritual quality itself). |
| + | |
| + | See [[Template:Ritual table]] later, for future improvemennts |
| + | |
| + | == Otros == |
| + | The bed_healPerDay values of beds seem to have been modified at some point. </br> |
| + | Right now, it assumes +4 for sleeping spots, +8 for beds and +14 for Hospital bed. |
| + | The code suggests none for sleeping spots (all kinds), +1 for [[Ancient bed]], +4 for bed(all kinds minus hospital)/Slab bed(both kinds)/bedroll(both kinds) and animal sleeping box/Animal bed, +10 for Hospital Bed. |
| | | |
− | {| class="wikitable"
| + | In-game testing needed before changing the values. No idea when the change was made. |
− | ! Image !! Ritual !! Factors !! colspan="3" |Outcomes !! Notes
| |
− | |-
| |
− | ! colspan="7" | {{Ideology|section=1}}
| |
− | |-
| |
− | | [[File:Ritual funeral.png|64px]] || Funeral
| |
− | | Participant count (10): +70%<br/>Moral guide present: +30% || {{0|0}}5%<br/>15%<br/>60%<br />20%
| |
− | | Terrible<br/>Lackluster<br/>Good<br/>Heartwarming || {{Bad|-3<br />-1}}<br />{{Good|+5<br />+8}} || If there is no corpse in the grave or sarcophagus, the ritual quality is only increased by 20% by the presence of the moral guide, and only by 60% by a full participant count.
| |
− | |-
| |
− | | [[File:Social festival.png|64px]] || Social festival
| |
− | | Participant count (10): +25%<br/>Leader present: +25%<br/>Started at altar: +20%<br/>Lectern used: +20%<br/>Seats for everyone: +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Fun<br/>Unforgettable || {{Bad|-3<br />-1}}<br />{{Good|+5<br />+8}} ||
| |
− | |-
| |
− | | [[File:Dance party.png|64px]] || Dance party
| |
− | | Participant count (10): +30%<br/>Started at lightball: +20%<br/>Active loudspeakers (6): +30%<br/>Room Impressiveness (120): +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Fun<br/>Unforgettable || {{Bad|-3<br />-1}}<br />{{Good|+8<br />+16}} || If the party is fun or unforgettable, there is a chance{{Check Tag|Probability?}} that all participants will get +20% [[Global Work Speed]] for 24h. Only available to non-tribals.
| |
− | |-
| |
− | | [[File:Drum party.png|64px]] || Drum party
| |
− | | Participant count (10): +30%<br/>Started at campfire: 20%<br/>Drums (6): +30%<br/>Room Impressiveness (120): +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Fun<br/>Unforgettable || {{Bad|-3<br />-1}}<br />{{Good|+8<br />+16}} || If the party is fun or unforgettable, there is a chance{{Check Tag|Probability?}} that all participants will get +20% [[Global Work Speed]] for 24h. Only available to tribals.
| |
− | |-
| |
− | | [[File:Ritual skylantern festival.png|64px]] || Skylantern festival
| |
− | | Participant count (10): +100% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br />Unimpressive <br />Beautiful<br />Unforgettable|| {{Bad|-3<br />-1}}<br />{{Good|+6<br />+10}}
| |
− | | Each participant makes a skylantern out of {{Icon Small|wood}} 4 [[wood]]. If the festival is beautiful or unforgettable, friendly visitors might see them and arrive with a gift.{{Check Tag|Probability?}}
| |
− | |-
| |
− | | [[File:Christmas tree ritual.png|64px]]<br/>[[File:Symbol burning.png|64px]]<br/>[[File:Smokeleaf circle.png|64px]]<br/>[[File:Cannibal feast.png|64px]] || Christmas tree<br/><br/>Symbol burning<br/><br/>Smokeleaf circle<br/><br/>Cannibal feast
| |
− | | Participant count (10): +80%<br/>Room Impressiveness (120): +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Fun<br/>Unforgettable || {{Bad|-3<br />-1}}<br />{{Good|+5<br />+8}} || Destroys the ritual target.
| |
− | |-
| |
− | | [[File:Ritual scarification.png|64px]] || Scarification
| |
− | | Participant count (10): +25%<br/>Moral guide present: +20%<br/>Started at altar: +20%<br/>Lectern used: +15%<br/>Seats for everyone: +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Satisfying<br/>Spectacular || {{Bad|-2<br />-1}}<br />{{Good|+1<br />+3}} || Scarifies the subject. Only available with the Pain is Virtue meme.
| |
− | |-
| |
− | | [[File:Ritual blinding.png|64px]] || Blinding ceremony
| |
− | | Participant count (10): +25%<br/>Moral guide present: +20%<br/>Started at altar: +20%<br/>Lectern used: +15%<br/>Seats for everyone: +20% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Satisfying<br/>Spectacular || {{Bad|-2<br/>-1}}<br/>{{Good|+1<br/>+3}} || Blinds the subject. If the ceremony is satisfying or spectacular, the blinded person may get a [[psycasts|psylink]] upgrade or unlock a new psychic power.{{Check Tag|Probability?}} Only available with the Blindsight meme.
| |
− | |-
| |
− | | [[File:Ritual animal sacrifice.png|64px]] || Animal sacrifice
| |
− | | Participant count (10): +25%<br/>Moral guide present: +25%<br/>Started at altar: +20%<br/>Lectern used: +15%<br/>Seats for everyone: +15% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Satisfying<br/>Spectacular || {{Bad|-3<br />-1}}<br />{{Good|+5<br />+8}} || If the sacrifice is satisfying or spectacular, there is a 5% (satisfying) or 10% (spectacular) chance that a random participant gains an [[inspiration]]. Only available with the Human Primacy meme.
| |
− | |-
| |
− | | [[File:Ritual gladiator duel.png|64px]] || Gladiator duel
| |
− | | Participant count (10): +20%<br/>Leader present: +20%<br/>Duelist dies: +100%<br/>Weapon used: +60% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Boring<br/>Good<br/>Unforgettable || {{Bad|-3<br />-1}}<br />{{Good|+5<br />+8}} || The two necessary escorts count towards the participant count. Spectators gain 1000 melee experience, gain a mood boost{{Check Tag|Separate from the usual mood boost?}}, and fill their recreation bars.{{Check Tag|Verify}} The duelists also gain the mood effect from ritual quality. Duelists must be [[Incapable|capable]] of violence. Only available with the Pain is Virtue, Cannibal, Supremacist, or Raider memes.
| |
− | |-
| |
− | | [[File:Ritual public execution.png|64px]] || Prisoner execution
| |
− | | Participant count (10): +80%<br/>Started at altar: +20% || 15%<br/>65%<br/>20%<br/> || Awkward<br/>Satisfying<br/>Spectacular<br/> || {{Bad|-1<br/>{{Good|+6<br/>+8}}<br/> || Participating [[slaves]] are fully suppressed. Can be performed by all ideologions.
| |
− | |-
| |
− | | [[File:LeaderSpeech.png|64px]] || Leader speech
| |
− | | Participant count (10): +40%<br/>Room impressiveness (120): +20<br/>Leader's Social Impact (150%): +40% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Uninspiring<br/>Encouraging<br/>Inspirational || {{Bad|-8<br/>-4}}<br/>{{Good|+5<br/>+8}} || The speech quality will also affect the listeners' opinions of the leader, with a terrible speech resulting in a -30 opinion, an uninspiring speech resulting in a -15 opinion, an encouraging speech in a +20 opinion, and an inspirational speech in a +40 opinion.
| |
− | |-
| |
− | | [[File:Trial.png|64px]] || Trial || Participant count (20): +60%<br />Leader's Negotiation Ability * 0.25<br />Defendant's Negotiation Ability * -0.25|| 50%<br />50%
| |
− | | colspan=2 | Exonerated<br />Convicted || If the defendant is convicted, they are considered guilty for 15 days for the purpose of arrest, banishment, and executions. If the defendant has a mental break during the trial, their [[Negotiation Ability]] is effectively set to 0.
| |
− | |-
| |
− | | [[File:ConversionRitual.png|64px]] || Conversion ritual
| |
− | | Participant count (10): +40%<br/>Room impressiveness (120): +20%<br/>Moral guide's Social Impact (150%): +30%<br/>Convertee's Expectations (Very Low): +10%, (Sky High): -30% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br/>Ineffective<br/>Effective<br/>Masterful || {{0|0}}'''0'''<br/>{{0|0}}'''0'''<br/>{{Good|+3<br/>+6}} || The convertee's certainty is offset by an amount depending on ritual quality: terrible: +20%; ineffective: +12%; effective: -30%; masterful: -100%.
| |
− | |-
| |
− | | [[File:Tree connection ritual.png|64px]] || Tree connection
| |
− | | Participant count (10): +100% || colspan=3 | || The connector will start with 25-45% connection strength, depending on ritual quality.
| |
− | |-
| |
− | ! colspan="7" | {{Royalty|section=1}}
| |
− | |-
| |
− | | [[File:Bestowing ceremony.png|64px]] || Bestowing Ceremony
| |
− | | Participant count (24): +60%<br/>Room Impressiveness (170): +40% || {{0|0}}5%<br />15%<br />60%<br />20%
| |
− | | Terrible<br />Unimpressive<br />Honorable<br />Grandiose|| {{Bad|-3<br/>-1}}<br/>{{Good|+3<br/>+6}}
| |
− | | Bonus honor based on number of gathered spectators and room impressiveness. The bonus does not depend on outcome. Provides 1 honor above 30% ritual quality, 2 above 60% and 3 above 90% quality.<br/>Requires [[Quests#<PAWN NAME>'s <NEW TITLE> Ceremony|New title's ceremony quest]] to start.
| |
− | |-
| |
− | | [[File:Speech.png|64px]] || Throne Speech
| |
− | | Participant count (10): +40%<br/>Organizer's social impact(150%): +40%{{Check Tag|Verify|Guessing based on few in-game observations and other rituals}}<br/>Room Impressiveness (120): +20% || {{0|0}}5%<br />15%<br />60%<br/>20%
| |
− | | Terrible<br />Uninspiring<br />Encouraging<br />Inspirational|| {{Bad|-8<br/>-4}}<br/>{{Good|+5<br/>+10}}
| |
− | | If the speech is inspiring, participants may acquire [[Inspirations]]<br/>The speech quality will also affect the listeners' opinions of the speaker in the same way as a leader speech, up to +40 opinion at inspirational.<br/>10 days cooldown on Begin Throne Speech ability.<br/>Expected ritual duration: 2 hours
| |
− | |-
| |
− | ! colspan="7" | {{Biotech|section=1}}
| |
− | |-
| |
− | | [[File:Child birth.png|64px]] || Child birth || Loved one present: +5%<br />Mother's age (peaks at 20-30): +50%<br />Doctor's medicine skill (20): +25%<br />Indoors: +5%<br />Room cleanliness (0.6): +10%<br />Bed health effects (5): +5%|| 2.5%<br/>7.5%<br/>90% || colspan=2 | Stillborn<br />Sick<br />Healthy || There is a chance the mother will die during birth: 20% at 0% quality, 5% at 20% quality and 0% above 90% quality. This is independent of the stillbirth chance.<br/>A successful birth gives the mother a {{+|8}} ''[name] was born healthy'' thought for 15 days, while a stillbirth gives her a {{--|15}} ''Stillbirth'' thought for 10 days.<br/><br/>See [[Reproduction#Quality]] and [[Reproduction#Outcomes]] for detail
| |
− | |}
| |
Test Pages[edit]
Testing the Module[edit]
Otra tabla[edit]
Skylantern festival extra reward chance is in RitualOutcomeEffectWorker_Skylantern.
It can only happen on a positive outcome, and there is a 20% chance it doesn't if (!outcome.Positive || !Rand.Chance(0.2f)) {return; }
. The reward varies between 200-500 silver. It triggers as an incident of 160 points, always 3 pawns of the ideoreligion of the ritual. I don't follow how the items are chosen.
Dance Party extra reward chance is in RitualOutcomeEffectWorker_DanceParty.
It can only happen on a positive outcome, and there is a 10% chance it doesn't if (!outcome.Positive || !Rand.Chance(0.1f)) { return; } )
.
The blinding ritual extra reward chance is in RitualOutcomeEffectWorker_Blinding.
It requires Royalty
and can only happen on a positive outcome. Then, it required the best outcome possible for the ritual OR a 50% chance.
if (ModsConfig.RoyaltyActive && outcome.Positive && (outcome.BestPositiveOutcome(jobRitual) || Rand.Chance(0.5f)))
There's also something regarding how the ability is chosen, but all I get is that the PSyLink Level will increse and an ability has to be possible to grant for that to happen.
Extra reward chance in RitualOutcomeEffectWorker_Duel
It requires a positive outcome. No other requirement seems needed.
The best possible result gives 5000 XP to melee to the duelists, 2000 XP to melee to everyone, and fills 50% of the joy/recreation bar. Other (valid) results halve that.
There is no mention to mood increases (beyond the ritual quality itself).
See Template:Ritual table later, for future improvemennts
The bed_healPerDay values of beds seem to have been modified at some point.
Right now, it assumes +4 for sleeping spots, +8 for beds and +14 for Hospital bed.
The code suggests none for sleeping spots (all kinds), +1 for Ancient bed, +4 for bed(all kinds minus hospital)/Slab bed(both kinds)/bedroll(both kinds) and animal sleeping box/Animal bed, +10 for Hospital Bed.
In-game testing needed before changing the values. No idea when the change was made.