-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the Oxygen Not Included modding wiki. This wiki has two parts:
- ONI Modding Guide - General-purpose tutorials, game data reference, and gotchas for anyone modding ONI
- Shikyo's Mods - Documentation and APIs for mods in this repo (DuplicantStatusBar, etc.)
ONI mods are C# class libraries using Harmony 2.0 to patch the game at runtime (.NET Framework 4.7.1). No official modding API - you decompile, intercept, and patch.
- Getting Started - Prerequisites, tools, environment setup
- Mod Structure - Folder layout, mod_info.yaml, loading pipeline
- Harmony Patching - Core technique: prefix, postfix, transpiler
- Debugging - Player.log, dnSpy, common errors
- Gameplay Tweaks - Common patterns: stats, buildings, recipes
- Creating Buildings - IBuildingConfig, tech tree placement
- New Content - Items, elements, creatures, kanim pipeline
- UI Modding - uGUI, KScreens, overlays
- Mod Configuration - PLib options and settings screens
- Publishing - Steam Workshop, versioning
Indexed tables extracted from Assembly-CSharp.dll - use instead of ad-hoc decompilation.
Game Data Index - Master index with all data tables
Key tables: Elements · Buildings · Skills · Traits · Effects · Components · Chore Types · Rooms
- Key API Reference - Commonly used game classes and methods
- Gotchas - Collected pitfalls for ONI modding
- Community Resources - Links, tools, other mods
RimWorld-style colonist bar for ONI - stress-colored borders, expression-driven portraits, alert badges, hover tooltips.
API for mod developers:
- API Overview - What the DSB API offers and how to get started
- Custom Alerts - Register custom alert detectors with badges
- Tooltip Hooks - Append custom stat lines to hover tooltips
- Events - React to alert changes, widget lifecycle, bar visibility
- API Reference - Complete method and type reference
Quick Links: Source Code · Report Issues
Game build: U58-717001 | Data extracted: 2026-03-16 | Source
ONI Modding Guide
- Getting Started
- Mod Structure
- Harmony Patching
- Gameplay Tweaks
- Creating Buildings
- New Content
- Animations
- UI Modding
- Mod Configuration
- Debugging
- Publishing
- Gotchas
ONI Reference
Game Data Tables
- Index
- Amounts
- Elements
- Buildings
- Skills
- Traits
- Chore Types
- Effects
- Rooms
- Components
- Expressions
- Accessory Slots
- Schedules
- Diseases
- Status: Dupe
- Status: Building
- Status: Misc
- PLib Options
Shikyo's Mods
DuplicantStatusBar