Notifications
General

Straitened Times Cheat Codes

Straitened Times Cheat Codes

Straitened Times runs on the Ren'Py visual novel engine, which leaves its entire simulation state — money, energy, time, NPC relationships, inventory, and motel reservations — exposed through a single developer console. The developer, HRelease, did not strip this functionality from the release build. The console is disabled by default, but activating it requires only a one-line file edit or the community UnRen.bat patcher. Once unlocked, the player can rewrite the economy, skip days instantly, max out conversation topics, and diagnose missing content through a debug flag.

This guide covers the activation process, every verified console command, the full list of internal NPC names, the save file structure, and a web-based save editor that requires no downloads.

How to Enable and Open the Console

The console is locked behind a configuration flag in the Ren'Py script archive. Two methods exist to unlock it.

Method 1: Edit 00console.rpy

  1. Navigate to the game's installation folder.
  2. Open renpy/common and locate 00console.rpy.
  3. Open it in a plain-text editor (Notepad++, VS Code, or Sublime Text).
  4. Search for config.console = False and change it to config.console = True.
  5. Save and close the file.

Method 2: UnRen.bat

Drop the community tool UnRen.bat into the game folder and run it. Press 3 when prompted, then Enter. This patches the necessary files automatically.

Opening the Console In-Game

During gameplay, press Shift + O (the letter O, not the number 0). A command line drops down from the top of the screen. Type the command and press Enter. Press Shift + O again to close it. All commands are case-sensitive; incorrect capitalization produces no error message and simply does nothing.

Basic Player Commands

Command Effect Warning
Player.Money = 99999 Sets the player's cash balance to the specified amount. Values above 999999999 may overflow into negative numbers.
Player.Energy.Value = 100 Sets current energy to the specified value. Safe at moderate numbers.
Player.Energy.Max = 500 Raises the energy cap above the default. Extremely high values can break quest triggers that expect the player to sleep.
GData.Time = X Sets the current hour. Replace X with a value from 0 to 23. Going below 0 or above 23 is not recommended.
GData.Date = X Skips to the specified day number. Skipping too far ahead can miss time-locked events.
PDebug = True Enables a debug contact list on the in-game phone. Shows every character's available scenes and whether content is completed, unseen, or hidden. "D: ..." means unseen. "Hidden" means not yet available in the current build.

NPC Relationship Commands

Every NPC has three relationship vectors: allure (attraction), conflict (tension), and opinion (general regard). Values can be set directly using dot notation.

Syntax

Relations["NPCName"].allure.Value = 80
Relations["NPCName"].conflict.Value = 0
Relations["NPCName"].opinion.Value = 100

Allure Scale

Value Label
0Indifferent
10Appealing
20Catching
30Inviting
40Interesting
50Attracted
60Charmed
70Fascinated
80Desired
90+Longing

Valid NPC Names

Replace NPCName in the syntax above with any of the following internal identifiers:

NPC Name NPC Name NPC Name
BankManagerFLawSecretaryPrincipal
DinerManagerHotCopProsecutor
FatherJudgeSluttyMaid
FatCopLitTeacherSMom
FLawyerLitTeacherFianceStepOS
MAuntMomStepYS
MotelManagerNeighBoyXShopOwner
NeighCheerlNeighMomYoungSis
OldSisOSfriend
PETeacherPGrapher

NPC-to-NPC Relations

The same three vectors exist between pairs of NPCs:

Relations["NPCName1", "NPCName2"].allure.Value = 50
Relations["NPCName1", "NPCName2"].conflict.Value = 20
Relations["NPCName1", "NPCName2"].opinion.Value = 80

Use the same internal names from the table above for both slots.

Conversation Topics

Each topic has a maximum of 100. The syntax is:

Player.Interests["TopicName"].Value = 100
Topic Topic Topic
SchoolArtFinance
GossipsMusicPets
SportMoviesTrends
CarsFashionTechnologies
GunsPoliticsTravel

Inventory, School, and Motel Commands

Max Out Inventory

Player.Items = {u'Wine': 90, u'Beer': 90, u'Whiskey': 90, u'Liquor': 90, u'Cocktail': 90, u'PremiumWine': 90, u'PremiumWhiskey': 90, u'PremiumLiquor': 90, u'CondomItm': 90}

School Attendance

SchoolAttendanceTask.Attendance = XX

Replace XX with the desired percentage.

Motel Reservations

All reservation commands accept a day number. Setting X = 300 reserves the amenity until day 300.

Command Effect
MotelMyBath.BrokenLockReservedUntil = X Reserves the broken lock in the player's bathroom.
MotelMyRoom.SingleBedReservedUntil = X Reserves the single bed in the player's room.
MotelMyRoom.AduldTVReservedUntil = X Reserves the adult TV channel in the player's room.
MotelGirlsBath.BrokenLockReservedUntil = X Reserves the broken lock in the girls' bathroom.
MotelGirlsRoom.AduldTVReservedUntil = X Reserves the adult TV in the girls' room.
MotelAltRoomBath.BrokenLockReservedUntil = X Reserves the broken lock in the alternate room bathroom.
MotelAltRoom.ReservedUntil = X Reserves the alternate room itself.
MotelAltRoom.AduldTVReservedUntil = X Reserves the adult TV in the alternate room.

Activate Modeling Session

PStudioTask.NaughtyPath.Parent.MilfModeling.State = 1

This forces the modeling job path to an active state. It also resets the cooldown for X-Shop photoshoots.

The Phone Bug Fix

A known bug causes the in-game phone to stop functioning after a specific story scene involving Mom and Jill. The console provides two alternative fixes:

Relations["OldSis"].allure.Adders["SleepWatchMomHJ"].Family = "sleepTogetherGroup"

or

Relations["YoungSis"].allure.Adders["burstInMastr"].Family = "HomeGroup"

Either command restores the phone's functionality by correcting a broken family group flag.

Save File Locations

Platform Path
Windows (RenPy default) C:\Users\[Username]\AppData\Roaming\RenPy\StraitenedTimes-1556023370
Windows (Game folder) [InstallFolder]\StraitenedTimes-0.XX.0-pc\game\saves
Android Documents/renpy_saves/com.estrada777

The folder contains individual .save slot files and a persistent file that tracks gallery progress and global flags. Deleting the persistent file resets the gallery across all saves.

Web-Based Save Editing

For players who prefer not to use the console, a browser-based save editor exists. The process requires no downloads:

  1. Save the game in an empty slot.
  2. Navigate to saveeditonline.com.
  3. Upload the .save file from the game\saves folder.
  4. Return to the game, spend a small amount of money, and save again to a new slot.
  5. Upload the second save to the same website. The changed money value appears near the top of the variable list.
  6. Locate Player.Money, edit it to the desired amount, and download the modified save.
  7. Replace the original file in the saves folder and reload.

Setting the value to 999999999 is the safe ceiling. Values above this may overflow into negative numbers.

Honest Warnings

  • Commands are case-sensitive. Player.Money works; player.money fails silently.
  • High energy caps break sleep triggers. Setting Player.Energy.Max above 500 can prevent quest events that require the player to rest.
  • Skipping time skips events. Using GData.Date to jump far ahead can permanently miss time-locked scenes.
  • Phone bug fixes are save-specific. The console commands for phone repair only fix the current save. If the bug reappears on a new save, the command must be re-entered.
  • Web editor requires two saves. The saveeditonline.com method needs a before-and-after money change to locate the variable. Uploading the same save twice does not work.

Frequently Asked Questions

Do console commands disable achievements?

No. Straitened Times is a single-player title with no anti-cheat integration. Steam achievements unlock normally regardless of console use or save editing.

Why does a command do nothing?

Most common causes: incorrect capitalization, missing quotation marks around NPC names, or attempting to run the command from the main menu instead of active gameplay. The console only functions while a save is loaded.

Can the gallery be unlocked through the console?

No direct gallery-unlock command exists. The PDebug = True flag reveals which scenes are missing, but the player must still meet the in-game requirements. Community save files with pre-unlocked galleries are the only shortcut.

Will deleting save files reset the gallery?

No. Gallery progress lives in the persistent file. To fully reset, delete that file specifically.

Can saves be transferred from PC to Android?

Yes. Copy the .save files and the persistent file from the PC RenPy folder into the Android Documents/renpy_saves/com.estrada777 path. Version compatibility between builds is essential.

Bottom Line

Straitened Times offers one of the deepest console-driven cheat systems in any Ren'Py title. Money, energy, time, date, twenty-three NPC relationship vectors, fifteen conversation topics, inventory stacks, motel reservations, and school attendance are all exposed through standard Python dot notation. The PDebug = True flag turns the in-game phone into a content tracker, and two console lines fix the infamous phone freeze bug. Back up the StraitenedTimes-1556023370 folder before experimenting, keep energy caps below 500, and remember that skipping to day 300 is the fastest way to miss half the game.

Post a Comment