Console Commands

The **Console** is a developer tool that was used to test various different features, settings, among other things.

## Activation

In *We Happy Few*, the console is hidden by default, and is only accessible when playing in Sandbox Mode through the Options menu, which is available to both console and PC users. To play with the actual console, the player can activate it by switching on the Developer Console. From there, the console is available by pressing the **`** key, underneath the Esc key.

This only works if the keyboard is set up with the English language, which can be added through the computer's settings. This means that if non-English players wants to play with console commands, they'll have to set their keyboard to the English (US) language before starting the game up.

To keep the console permanently on, the player will have to edit a file in the local documents folder on their PC.

* **The player will have to have played a little bit of the game before moving on to the next step.**
* Open the local Documents folder
* Open the 'My Games' folder
* Open the 'We Happy Few' folder
* Open the 'Config' folder
* Open the 'WindowsNoEditor' folder
* Open the 'Input.ini' configuration setting, it should open as a text file
* Copy the following into the file, DO NOTE that the Console Key can be changed to any other key, preferably one that isn't already used in the game. Refrain from making the Console Key an alphabetical letter on the keyboard and instead make it one of the numbers (after 4) or symbols

```
[/script/glimpsegame.glimpseconsole]
bConsoleEnabled=True
ConsoleKey=`
ConsoleKeys=`

```

* Save and close the file, start up the game
* To test that it works, press the chosen console key
* If it doesn't work, go through the steps again, or change the keyboard language settings to English (US)

## List of Commands

Through the Options menu in Sandbox Mode, the player has various, albeit limited, commands.

Special thanks to U/Kadivs for testing and listing all of the console commands. Not all of the commands listed are here, as they've yet to have been tested.

* **Heal**: Removes negative status effects and increases the player's health, hunger, thirst, and fatigue to 100%
* **Invulnerability**: The player is immune to any damage, though the playable character will react to being hit.
* **Ghost Mode**: The player can now fly through walls.
* **Teleport to Safety**: The player will get a black screen and be brought to the nearest safe place away from danger.
* **Developer Console**: The complete console.
* **Give Skill Points**: Gives the player 999 Skill Points.
* **Reset Skills**: Reverts the player's unlocked skills back to being locked, returning the cost of the unlocked skill points back to the player.
* **Reveal Map**: Removes the fog obscuring the map, revealing it.
* **Max Carry Weight**: Sets available inventory space to max. Arthur=966, Sally=987, Ollie=982.

With the Developer Console activated, the player is able to use any and all commands available in the game.

### Common Commands

* **Heal**: Removes negative status effects and increases the player's health, hunger, thirst, and fatigue to 100%
* **God**: Makes the player completely invulnerable, attacks will phase through the player, stamina still drains.
* **DemiGod**: Makes the player somewhat invulnerable, the playable character will react to being hit, stamina doesn't drain.
* **Ghost**: The player can fly and phase through walls.
* **Walk**: Returns the player to their regular walking state. (**Make sure the ground is solid**)
* **Give [ItemName]**: Gives the player the item they wrote, the item can only be accepted as the console name for the item (**Cloth** instead of **Cloth Scrap**)
* **GiveN [Number] [ItemName]**: Gives the player the exact amount of the item they wrote, the item can only be accepted as the console name for the item (**Cloth** instead of **Cloth Scrap**). It's recommended to keep the number below 90.
* **GiveSkillPoints [Number]**: Gives the player the amount of skill points they want.
* **Shot**: Takes a screenshot of the player's screen, will include the outline when hovering over items and such. **Screenshots are saved in the Documents/My Games/We Happy Few/Screenshots/WindowsNoEditor folders**.
* **RevealMap**: Removes the fog obscuring the map, revealing it.
* **RevealMapAndQuest**: Removes the fog obscuring the map, revealing it and all of the quest markers.
* **ShowHUD**: Shows or hides the main HUD, it'll automatically return if the player exits the Stats/Inventory/Crafting/Map/Notes menus.
* **Suicide**: Kills the player.
* **AIIgnorePlayers**: The AI will not notice the player, however, they are still distractible and can react to the player bumping into them.
* **UnlockAllRecipes**: Unlocks all blueprints, making them craftable.
* **UnlockAllFastTravel**: Unlocks all fast travel hatches.
* **BuyAllSkills**: Unlocks all skills, does not cost any points.
* **BoostCarryLimit**: Maxes out the weight limit to 900~999.

### Uncommon Commands

* **Pause**: Pauses the game. The player and AI cannot move. To unpause, write the command again.
* **SetJoyState [Number]**: Makes the player enter a drug state; 0=regular drug state, 1=Joy, 2=Withdrawal, 3=Overdose.
* **BloodSugarLevel [Number]**: Only functional when playing as Ollie, the player can change his blood sugar level. 0 drains all of the sugar, 1 fills the sugar, 0.7 is the highest number with no negative effects, 0.4 is the lowest.
* **UnlockAllLore**: Gives the player all of the notes for all of the playable characters (excluding the DLC), as well as some unused notes.
* **SetDay [Number]**: Sets the day to the chosen number.
* **AdvanceDays [Number]**: Advances the in-game clock by the number the player chose, does affect time-related quests such as the Mysterious Chest, so long as the player is far enough away from the quest location.
* **AdvanceOneDay**: Same as AdvanceDays 1.
* **AdvanceToTime [Hour] [Minute] True**: Advances the time to the time chosen, will advance to the next day if the set time is before the current time.
* **KillEmAll**: Kills all nearby AI.
* **ObscureMap**: Obscures the map with the fog, including already explored areas.

### Dangerous/Misleading Commands

* **AdvanceHours [Number]**: DOES NOT ACTUALLY ADVANCE HOURS, BUT DAYS. AdvanceHours 1 = 24 hours.
* **GoToNowhere**: Teleports the player to somewhere outside the map above water.
* **Exit**: Closes the game to desktop, may or may not save progress.
* **SetPermaDeath True/False**: Boots the player to the main menu upon death, deleting all of the save files for that character and world. Cannot be recovered and should therefor be used with caution.

### Unknown Commands

* **ActivateQuest [Name]**: Activates a quest, console questnames are unknown, however.
* **VisitLockables**: Teleports and moves the player at random, purpose uncertain.
* **CauseHitches**: Causes artificial lag, purpose and other effects are uncertain.
* **Camera**: purpose and effects are uncertain.
* **AlwaysShowSuspicion**: Does not make AI always suspicious towards the player.
* **NoSuspicion**: Does not make AI not-suspicious towards the player.
* **Unbreakable**: Makes weapons and wearables not degrade.