Development mode

From RimWorld Wiki
Revision as of 15:55, 1 June 2021 by AnAxolotl (talk | contribs) (Defined some functions of commands in dev mode)
Jump to navigation Jump to search
Development mode toolbar (red frame) on top of the screen, next to the colonist bar.

Development mode is a feature on the user interface that serves both as a debugging tool for developers and as a cheat menu for most other players.

When active, it is seen as an additional menu on the top of the screen.

Features

Items are shown from left to right in the picture.

DebugLog.png Debug log

An output log for debugging. Shows errors if they occur, as well as debug outputs.

PackageEditor.png Package editor

It allows you to edit game data while the game is running. Currently limited to sound and colonist hairstyles.

ViewSettings.png View settings

Toggles special debug visuals, such as shooting hit chances, infestation chances and toggling fog (fog of war) and snow visibility.

It also allows some debug settings, for example, unlimited power, toggling damage, and fast research, learning (i.e. instant boost to lv 20 upon doing a task), ecology, crafting, caravans, etc.

Debug.png Debug actions menu

Forces a variety of things to happen. Many things can be done from here; spawning items and pawns, executing events, downing/ killing pawns, they are all done through this menu.

Debug.png Debug logging menu

Where some debugging information can be found, like crop economy, item nutrition, and such.

Inspector.png Inspector

Lets you see what's happening in the game.

GodMode.png God mode

Toggles god mode. While active you can build structures instantly at no price and research. Godmode can be also toggled through 'View Settings'.

Godmode persists even when development mode is turned off.

Autopause

Toggles autopause when an error is logged.

Save translation report

An option shown on the title screen, it generates a report about the currently-loaded language data stating which translations are missing, which are unnecessary, and other useful information for translators.

Options

Permanently disable

In the Options menu in-game, you have the choice to 'permanently' disable development mode. This prevents you from cheating using this.

You can reset it by deleting the 'DevModeDisabled' file can be found in the config folder

It can be retrieved through: Start+R > appdata > LocalLow > Ludeon Studios > Rimworld by Ludeon Studios > Config.

Debug Action Menu

Debug Action Menu with Royalty DLC installed.

There are many options in this menu, and several sub-menus. The search bar in the top right will highlight options matching the search criteria, but the spelling must exactly match the name of the option or part of it.

Commands prefaced with with "T:" seem to temporarily alter the mouse behavior to do execute the command on left click, with right click cancelling this behavior.

Commands ending with an ellipsis "..." seem to tend to open a submenu, but not commands that do so have the ellipsis and not all commands that have an ellipsis do so. Its meaning is currently unclear.

Incidents

Creates events and raids

Action Effect
Do incident (Map) ?
Do incident x10 (Map) ?
Do incident w/ point (Map) ?
Execute raid with points ?
Execute raid with factions ?
Execute raid with specifics ?

Quests

Tools for adding quests.

Action Effect
Generate quest ?
Generate quests x10 ?
DGenerate quests x30 ?
Generate quest (1x for each points) ?
QuestPart test ?
Log genearted quest savedata ?

General

A selection of tools not easily categorized into the other section or with effects that could be placed in several sections.

Action Effect
Destroy All Plants Destroys all plants on the map.
Destroy All Things Destroys everything [Clarification needed] on the map.
Destroy Clutter Destroys chunks and rubble
Finish All Research Finishes all research projects.
Replace All Trade Ships
  • All current trade ships leave
  • A random selection of 5 trade ships replace them. This includes modded trade ships, if any.
Change weather... Opens a sub menu where the chosen weather can be selected. Doing it once will gradually change the weather. Using the same command twice will immediately change the weather
Play song... Plays a song from the games soundtrack.
Play sound... ?
End game condition... End an event such as a heat wave or toxic fallout.
Add Prisoner Spawns a random prisoner from a random faction.
Add Guest ?
Force Enemy Assault If there are waiting enemies on the map, force them to begin their attack.
Force Enemy Flee If there are attacking enemies on the map, force them to flee.
Adaption Progess10 Days ?
Unload Unused Assets ?
Name settlement Allows you to rename your faction and settlement
Next lesson ?
Regen All Map Mesh Sections ?
Change Camera Config ?
Force Ship Countdown ?
Force Start Ship ?
Flash Trade Drop Spot ?
Kill Faction Leader Kills the leader of the selected faction.
Kill Kidnapped Pawn ?
Set Faction Relations ?
Visitor Gift Make current visitor leave a random gift.
Refog Map Hide all enclosed places as if undiscovered
Use Gen Step ?
Increment Time1 Hour ?
Increment Time6 Hours ?
Increment time 1 day ?
Increment Time1 Season ?
Storywatcher tick 1 day Move story events ahead a day - such as an eclipse
Add techprint to project Content added by the Royalty DLC ?
Apply techprint on project Content added by the Royalty DLC ?
Kill Random Lent Colonist ?
Destroy All Hats ?
Pawn Kind Apparel Check ?
Pawn Kind Ability Check ?
Award 4 honor Content added by the Royalty DLC Awards 4 Royal honor to a selected pawn.
Award 10 honor Content added by the Royalty DLC Awards 10 Royal honor to a selected pawn.
Remove 4 honor Content added by the Royalty DLC Removes 4 Royal honor from a selected pawn.
Reduce royal title Content added by the Royalty DLC Reduces pawns current Royal title.
T: Destroy Left click to destroy an object or pawn, obliterating it from existence without leaving anything behind.
T: Kill Left click to kill an object or pawn. Killing this way would leave behind corpses or resources.
T: 10 damage Left click to deal 10 damage to an object or pawn.
T: 500 damage Left click to deal 10 damage to an object or pawn.
T: Clear area 21x21 Left click to destroy all objects in a 21 by 21 area, excluding flooring.
T: Make Rock 11x11 Left click to spawn an 11 by 11 solid block of rock.
T: Explosion (bomb) Left click to create explosions. The explosions have a radius of ? tiles and do 50 damage. Right click to cancel
T: Explosion (flame) Left click to create flame explosions. The explosions have a radius of ? tiles and do 10 damage, as well as setting objects on fire. Right click to cancel
T: Explosion (stun) Left click to create stunning explosions. The explosions have a radius of ? tiles and stun for ? seconds. Right click to cancel
T: Explosion (EMP) Left click to create exposions of EMP. The explosions have a radius of ? tiles and do ? damage. Right click to cancel
T: Explosion (extinguisher) Left click to create explosions of firefoam similar to a firefoam popper. The foam has a radius of ? tiles and create Firefoam on the ground. Right click to cancel
T: Explosion (smoke) Left click to create clouds of Smoke. The clouds have a radius of ? tiles and last ? seconds. Right click to cancel
T: Lightning Strike Left click to create Lightning strikes. The strikes have a radius of 1.9 tiles and do 10 damage. Right click to cancel
T: Add Snow ?
T: Remove Snow ?
T: Clear All Snow ?
T: Push heat (10) ?
T: Push heat (1000) ?
T: Push heat (-1000) ?
T: Finish Plant Growth ?
T: Grow1 Day ?
T: Grow To Maturity ?
T: Regen Section ?
T: Randomize Color ?
T: Rot1 day ?
T: Force sleep ?
T: Fuel -20% ?
T: Break down... ?
T: Use Scatterer ?
BaseGen ?
SketchGen ?
T: Make Roof ?
T: Delete Roof ?
T: Test Flood Unfog ?
T: Flash Closwalk Cell30 ?
T: Flash Walk Path ?
T: Flash Skygaze Cell ?
T: Flash Direct Flee Dest ?
T: Flash Spectators Cells ?
T: Check Reachability ?
T: Flash TryFindRandomPawnExitCell ?
T: RandomSpotJustOutsideColony ?
T: Random Spot Near ThingAvoiding Host??? ?
T: Attach Fire ?

Pawns

A number of commands to interact with pawns of all types - humans or animals, colonist or otherwise, alive or dead.

Action Effect
T: Resurrect Indicate a corpse to resurrect it, healing all damage
T: Damage Until Down Damages the pawn until it is downed
T: Damage Legs Damages the legs
T: Damage To Death Damage a pawn to death
T: Carried Damage To Death ?
T: 10 damage until dead Deals an indicated pawn 10 units of damage repeatedly until dead
T: Damage Held Pawn To Death ?
T: Surgery Fail Minor Simulate minor surgery failure on a selected pawn.
T: Surgery Fail Catastrophic Simulate catastrophic surgery failure on a selected pawn.
T: Surgery Fail Ridiculous Simulate ridiculous surgery failure on a selected pawn
T: Restore Body Part Takes you to a submenu of body parts i.e. Left Leg, Right Arm, etc. and allows you to fully restore that part.
Apply damage... Simulate specific type of damage to a specific body part.
Apply Hediff... Add a specific type of Injury to a specific body part. Also able to add ailments and artificial body parts
T: Remove Hediff... Remove a specific type of Injury from a pawn. Also able to remove ailments and artificial body parts
T: Heal random injury (10) Remove a random injury. This may need to used multiple times to restore a pawn to health.
T: Activate HediffGiver ?
Activate HediffGiver World Pawn ?
T: Discover Hediffs ?
T: Grant Immunities ?
T: Give Birth Spawns a random pawn with the age 0
T: Resistance -1 Adds -1 resistance to a prisoner
T: Resistance -10 Adds -10 resistance to a prisoner
T: +20 neural heat Content added by the Royalty DLC ?
T: -20 neural heat Content added by the Royalty DLC ?
T: List Melee Verbs ?
T: Add/remove pawn relation Add or remove a pawn's relationship from the social tab.
T: Add Opinion Talks About Make other colonist's opinion about a selected pawn higher/lower.
T: Force vomit... Forces the pawn to vomit
T: Psyfocus +20% Content added by the Royalty DLC ?
T: Psyfocus -20% Content added by the Royalty DLC ?
T: Food -20% Make the pawn's hunger meter 20% lower.
T: Rest -20% Make the pawn's rest meter 20% lower.
T: Joy -20% Make the pawn's joy meter 20% lower.
T: Chemical -20% Make the pawn's chemical meter 20% lower. Requires "Chemical fascination" or "Chemical interest" trait
Set Skill Set a pawn's selected skill to a selected level.
Max Skill Max a pawn's selected skill
T: Max All Skills Max all the pawn's skill
Mental break... Cause an instant mental breakdown on the indicated pawn
Mental state... Start other mental states on the indicated pawn, such as manhunter, social fighting, and panic
T: Stop mental state Stop a pawn's mental break
Inspiration... Give a selected inspiration to a colonist.
Give trait... Give a selected trait to a pawn.
Set backstory Change a pawn's backstory
Give ability... ?
Give Psylink... Content added by the Royalty DLC ?
T: Remove neural heat Content added by the Royalty DLC Removes all neural heat from selected pawn.
T: Give good thought... Give a temporary +10 mood boost to a pawn.
T: Give bad thought... Give a temporary -10 mood debuff to a pawn.
T: Clear Bound Unfinished Things ?
T: Force Birthday Force a pawn to age. Has a chance to develop age-related ailments, like dementia
T: Recruit Recruits the selected human to the colony
T: Damage Apparel ?
Wear apparel (selected) ?
Equip primary (selected) ?
T: Tame Animal Tame a selected animal
T: Train Animal Put all selected training for an animal to the max level.
T: Try Develop Bound Relation ?
T: Queue Training Decay ?
T: Start Marriage Ceremony ?
T: Force Interaction ?
Start Random Gathering ?
Start Gathering ?
T: Start Prison Break Force a prison break to happen.
T: Pass To World ?
T: Make1 Year Older Force a pawn to age without developing age-related ailments
T: Try Job Giver ?
T: Try Joy Giver ?
T: EndCurrentJob(InterruptForced) ?
T: CheckForJobOverride ?
T: Toggle Job Logging ?
T: Toggle Stance Logging ?
T: Kidnap colonist ?
T: Face cell (selected)... ?

Spawning

Spawns things - items, pawns, terrain etc.

Action Effect
Spawn Pawn Select a moving being - colonists, animals, adversaries, from a list of all in the game. Left click to spawn, right click to cancel. Pawns will spawn in the relevant faction e.g. Pirate pawns will spawn in Pirates faction, animals will spawn wild, colonist pawns will spawn in the player's faction.
Spawn Weapon Select a weapon from a list of all in the game, including any that are otherwise unavailable such as thr mini. Left click to spawn, right click to cancel. Material, if the item is stuffable, is randomly selected.
Spawn apparel... Select an item of apparel from a list of all in the game, including any that are otherwise unavailable. Left click to spawn, right click to cancel. Material, if the item is stuffable, is randomly selected.
Try place near thing... Place an item at or near where you indicate
Try place near stack of 25... Place 25 items at or near where you indicate (items with a maximum pile number less than 25 aren't shown)
Try place near stack of 75... Place 75 items at or near where you indicate (items with a maximum pile number less than 75 aren't shown)
Try place direct thing... Try to place an item directly where you indicate
Try place direct stack of 25... Try to place a stack of 25 items directly where you indicate
T: Try add to inventory... ?
Spawn thing with wipe mode... ?
Set terrain... Select a ground type or flooring and indicate where it should be placed
Spawn Mech Cluster Content added by the Royalty DLC ?
T: Make filth x100 ?
T: Spawn Faction Leader ?
Spawn world pawn... ?
Spawn thing set... Spawn a selection of event things
Trigger effecter... ?
Spawn Shuttle Content added by the Royalty DLC ?

Map management

?

Action Effect
Generate Map ?
Destroy Map ?
Leak Map ?
Print Leaked Map ?
Add Game Condition ?
Remove Game Condition ?
T: Transfer ?
Change Map ?
Regenerate Current Map ?
Generate Map With Caves ?
Run Map Generator ?
Force Reform in Current Map ?

Autotests

?

Action Effect
Make Colony (full) ?
Make colony (animals) ?
Test force downed x100 ?
Test force kill x100 ?
Test Surgery fail catastrophic x100 ?
Test Surgery fail ridiculous x100 ?
Test generate pawn x1000 ?
T: Generate Pawns Of All Shapes ?
Check Region Listes ?
Test time-to-down ?
Battle Royale All PawnKinds ?
Battle Royale Humanlikes ?
Battle Royale By Damagetype ?

Debug Logging Menu

Debug Logging Menu with Royalty DLC installed.

Economy

?

Action Effect
Animal Breeding ?
Animal Growth ?
Apparel Armor ?
Apparel By Stuff ?
Apparel Insulation ?
Buildings Skills ?
Crops ?
Drugs ?
Floors ?
Hediffs Price Impact ?
Item Accessibility ?
Item And Building Acquisition ?
Recipe Skills ?
Recipes ?
Thing Set Make Tags ?
Thing Smelt Products ?
Wool ?

General

?

Action Effect

Incidents

?

Action Effect
Future Incidents ?
Future Incidents Current Map ?
Incident Chances ?
Incident Targets List ?
Pawn Arrival Candidates ?
Pawn Group Gen Sampled ?
Peace Talks Chances ?
Pod Contents Possible Defs ?
Pod Contents Test ?
Raid Arrivemode Sampled ?
Raid Faction Sampled ?
Raid Strategy Sampled ?
Threats Generator ?
Trader Kind Things ?
Trader Kinds ?
Trader Stock Generation ?
Trader Stock Generators Defs ?
Trader Stock Market Values ?

Pawns

?

Action Effect
Animal Behavior ?
Animal Combat Balance ?
Animal Points To Hunt Or Slaughter ?
Animal Trade Tags ?
Animal Basics ?
Animal Ecosystem ?
Backstory Counts Per Tag ?
List Solid Backstories ?
Live Pawns Inspiration Chances ?
Mental Breaks ?
Pawn Kind Gear Sampled ?
Pawn Kind Apparel Usage ?
Pawn Kinds Basics ?
Pawn Kinds Tech Hediff Usage ?
Pawn Kinds Weapon Usage ?
Pawn Work Disables Sampled ?
Races Butchery ?
Races Food Consumption ?
Recruit Difficulties Sampled ?
Thoughts ?
Traits Sampled ?

Performance

?

Action Effect
Pawn Generation Histogram ?

System

?

Action Effect
All Graphics Loaded ?
Dynamic Draw Things List ?
Loaded Assets ?
Material Delta ?
Material Report ?
Material Snapshot ?
Mesh Pool Stats ?
Rand By Curve Tests ?
Rand Tests ?
Steam Workshop Status ?
Test Math Perf ?

Text generation

?

Action Effect
Art Descs Database Tales ?
Art Descs Random Tales ?
Art Descs Specific Tales ?
Art Descs Taleless ?
Database Tales Interest ?
Database Tales List ?
Flavorful Combat Test ?
Interaction Logs ?
Names From Rulepack ?

UI

?

Action Effect
Pawn Column Test ?

World pawns

?

Action Effect
Colonist Relative Chance ?
Kidnapped Pawns ?
Run World Pawn Gc ?
Run World Pawn Mothball ?
World Pawn Dotgraph ?
World Pawn Gc Breakdown ?
World Pawn List ?
World Pawn Mothball Info ?