Player Gene System (Stable)

If you liked this item, please rate it up on Steam Workshop page.

Author: catalystwyrm

Last revision: 17 Dec, 2025 at 05:38 UTC (2)

File size: 267.9 KB

On Steam Workshop

Description:
Player Gene System

"Recent advancements in North Tyris have finally unlocked the secrets of genetic modification for adventurers like you.
The gene machine, once a tool for enhancing allies, is now at your command."

This mod overhauls the gene system, allowing you to apply genetic traits to yourself instantly to reshape your very being.
But be warned — tampering with your own DNA is not without consequence.
A powerful "Gene Shock" will wrack your body, and you must manage its effects to survive.

🧬 Requirements

Base Game: Elin Stable

🤝 Useful Companion Mods

⚙️ Features
  • Player-Accessible Gene Machines: Interact with gene machines and select yourself as the target.
  • Instant Application: Genes apply immediately — no more lengthy sleep cycles.
  • Reworked Costs: Feat costs and max gene slots are fully configurable (default 0.5 FP cost).
  • Gene Compatibility: Learn spells and gain body parts from genes.
  • Gene Shock System: Applying a gene induces temporary debuff "Gene Shock" that lowers all stats, preventing further modification until it fades.
  • Gradual Recovery: Gene Shock weakens over time and can be reduced by sleeping or fully cured by a Healer.
  • Gene Removal UI: Use inferior genes to earn “Removal Tokens,” then access a new menu via the middle-click context menu.
  • UI Transparency: Tooltips show player-specific costs and preview Gene Shock strength and duration.

🧪 Gene Shock Formulas

The intensity of Gene Shock is calculated from the source gene’s properties:

Strength = -[(Cost / 100) + (Slots * 2) + (NPC_Hours / 20)] * StrengthMultiplier Base Duration = [(Cost * 10) + (Slots * 250) + (NPC_Hours * 5)] Final Duration = Max(Base Duration, 1000) * DurationMultiplier

🔍 How It Works

Find a gene machine and select your character to open the player interface.
Apply genes using feat points and see results instantly.
Manage Gene Shock by visiting a Healer (full cure), sleeping (gradual recovery), or waiting for it to fade.
Use inferior genes to gain Removal Tokens, then right-click yourself on the map to open the removal menu.

  • Gene Insertion Exhaustion – Controlled by ApplyExhaustionOnInsert; happens when you apply a gene.
  • Gene Removal Exhaustion – Controlled by ExhaustionOnShockedRemoval; happens when removing a gene during Gene Shock.

Both share the same formula, triggered differently:

Insertion: Always if enabled (regardless of Gene Shock) Removal: Only if in Gene Shock AND enabled

exhaustionAmount = Mathf.RoundToInt(((geneCost * 2) + (geneSlots * 50) + (geneDurationHours * 1)) * PlayerGeneSystem.ExhaustionMultiplier.Value);

🧩 Core Configs
EnablePlayerGenes = true // Master switch for the mod MaxGeneSlots = 5 // Maximum gene slots FeatCostMultiplier = 0.5 // Feat cost modifier (0=free, 1=normal) WarnOnBodyPartOverflow = false // Blocks or allows overflow body part genes

💀 Gene Shock Configs
EnableGeneShock = true GeneShockStrengthMultiplier = 3.0 GeneShockDurationMultiplier = 3.0 HealGeneShockOnSleep = true GeneShockHealAmount = 50 StatFloorValue = 10

😴 Additional Effects
ApplyFatigueOnShock = true // Adds sleepiness during Gene Shock ApplyDimnessOnShock = true // Adds Dimness effect ApplyExhaustionOnInsert = true // Immediate stamina loss on gene application ExhaustionMultiplier = 0.5 // Modifier for stamina loss

🧹 Gene Removal
AutoCloseAfterRemoval = false ExhaustionOnShockedRemoval = true
Download
Required items:

Click the title to search on this site.


YK FrameworkSteam Workshop
(Stable) Custom Whategg LoaderSteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.