Prison Editor

A very simple, yet playable map made in the map editor.

The **Prison Editor** allows the creation of a prison. A prison can currently have piop types of doors, prisoner stashes, customized warden notes and names, customized amounts of guards and inmates with a minimum of 5 for both and a maximum of 15 guards and 20 inmates, and their cells.

The prison editor also allows the selection of background music, NPC levels, prison style and the 'ground' type. Note that the prison editor is only available in the PC version of the game.

## The Basics

Once the prison editor is opened, there will be nothing. A new prison can be made by going over to Project and pressing New from a dropdown menu. After that, a prompt will appear. It will feature a menu in which the prison's name and what tileset can be selected.

After a name is entered and a tileset is selected, the Properties menu will appear. This is where the amount of Inmates, Guards can be changed and whether the prison should be an Inside one, going outside without a guard outfit will cause the player to have 99% heat, or outside one, or an inside-outside one, which allows the player to go outside as long as it's 10:00-22:00. The NPC level can also be changed, where low means NPCs will have high to medium opinion of the player and be weak. Medium means that the NPCs have average to low opinion and have around 40-50 strength and/or speed. High means that the NPCs will hate the player, have 60-80 strength and/or speed. The floor can also be changed, as well as the leisure music or the prison security style. There are four prison security styles selectable:

* Low Security (MinSec) means that the guards will have different, more sillier roll call speech and a more freer schedule with more free time and a lunch, being similar to Center Perks.
* Medium Security (MedSec) will have guards' roll call speech be stricter. The routine will be similar to Shankston State Pen. Lunch is skipped.
* High Security (MaxSec) will have a way more stricter routine, similarly to HMP Irongate.
* POW Camp (Camp) will have a more labour-oriented schedule, with there being 2 work periods. Otherwise, it is the same as Medium Security.

Next, the warden's name and letter can be typed. The perimeter size can also be selected. When the player enters the perimeter, even in a guard uniform, they will have 99% heat instantly. The perimeter should only be used for outside the main fence.

## Prison Creation

"Tiles" Panel
The tiles panel is usually located to the right of the screen. It features tiles depending on the tileset picked, but it always contains a fence, an electric fence, some bars, walls and floors. Notably, Stalag Flucht and Jungle Compound respectively have snowy and rusty variants of the fences.
"Objects" Panel
The objects panel is usually located below the tiles panel. It contains multiple objects to use in a prison, however some objects that are in the prisoners are, in fact, missing.
Doors
The doors have multiple door types. These include:
* A normal door that doesn't lock itself. Rarely used.
* A cell block door that locks itself about 40 in-game minutes after lights out or when all the prisoners are in their cells. It opens only with a key or when the morning roll call is initiated.
* A purple door which is used for outside-inside areas. It automatically opens at 10 AM and locks at 10 PM.
* A utility door which is used for out-of-access areas that simplify the escape, like generators, ladders and other.
* Multiple green doors that block the access to job equipment. These can only be opened by inmates that have the job or by the guards.
* A red door which is used for guard-only or staff-only areas.
* A white master door which can only be opened by guards, but can also be opened after a takeover. It has no key for it.
* A utility door used for vents. It is 100% similar to the utility door.
* Cells: The cells tab contains multiple objects that are used for the inmate cells. It contains beds, toilets, desks, a cable TV. Be warned that placing desks outside any cells will cause them to be empty.

Gym
The gym tab contains multiple gym equipment to use in, well, gyms. There is 4 speed-raising equipment and 4 strength-raising equipment. These include:
* Speed - Treadmill, jogging mat, skipping mat, speed bag.
* Strength - Weights, chin up bar, push up mat, punch bag.

Jobs
The jobs tab contains all equipment required for jobs, and the job bulletin. All job equipment must be in the corresponding job room defined by a zone most of the time.
Waypoints
The waypoints tab contains multiple waypoints. Most of them are used for guards overlooking the inmates during a roll call, lunch time, shower time, gym time, or just walking around. It is also used for inmates; showers, taking food or walking around. Inmates walking around will generate spots if walking inside and the janitor job is present, and walking outside will generate weeds if the gardener job is present. There are also spawn waypoints used for the staff; warden, medic and the job officer. These must be not in any walls and out of sight, so that the player cannot see them spawning. There is also a waypoint for the medic to stand at, and a waypoint for the job officer to stand at.
Security
The security tab has guard-related objects in it. This includes tower guards, scanners, roof spotlights, guard beds, generators and landmines.
Misc
The miscellaneous tab is a little bit misleading in its name. It has visiting center chairs, normal chairs, a table, canteen tables, vent slats, ladders, a locker, a computer, a bookshelf, prisoner stash, light, infirmary bed, solitary bed, sun lounge, sink and a light.
Jeep
The jeep tab contains jeep's waypoints. The jeep is optional, but placing waypoints will cause it to spawn at the first one. Waypoints have to be placed carefully be connected, otherwise the jeep will drive out of bounds. Make sure to not place the jeep waypoints inside the prison.
Zipline
The zipline tab contains zipline spots and a zipline end.
## Zones

The zones decide what room is used for what. There are many zones that can be picked, including job zones. When a Cell Zone is created, it requires a same amount of beds and desks as the number of inmates. and requires a Player's Cell. Cells can be combined by adding multiple desks and beds into a single cell zone, including the player's cell. A Prison also requires a:

* Canteen zone (requires chairs, tables and inmate food-taking waypoints)
* Gym zone
* Shower zone (requires shower waypoints)
* Roll call zone (requires roll call waypoints as well)
* Solitary zone (requires a solitary bed)
* All jobs that are designated in the properties tab (except for librarian and mailman jobs)

Other Zones than listed are optional, but are recommended. Safe zones are used for the Inside prison style. They define a zone that goes outside, but the inmates in it will not be beaten up or shot unless it's lights out.

## Validate, Use and/or Publish

Before exporting a map after making a change, It will have be Validated. This is where the program checks for errors and sees what is missing. If there are no errors, the map can be exported. Pressing the Publish button will publish the map to the Steam Workshop if the user is logged into Steam. The map can also be exported by publishing the .cmap file.

## Notes

The prison editor contains multiple keybinds that can be used.

* Hold Q: Hide all objects.
* Ctrl+Z: Undo previous placement.
* Ctrl+RMB: Fill an area with a selection.
* Ctrl+LMB: A pick tool.
* Shift+Hold LMB: Copy and paste the held area.
* Ctrl+T: Toggle the tiles panel.
* Ctrl+O: Toggle the objects panel.
* Ctrl+P: Toggle the pausing of the prison editor.
* Ctrl+Y: Presumably a keybinds menu.

For information on creating a prison, please view this steam community post

## Bugs and errors

There are many bugs and errors with the Prison Editor.

* Having 20 inmates and more than 10 guards will cause the game to lag. This is possibly due to too many enemies calling in functions.
* While selecting or placing a zone, all objects may disappear. This is an unknown bug that rarely happens.
	+ Before modifying big zones, make sure to save.
* While naming a 4th or the 6th guard, its name will become bugged. The 1st guard is named as an inmate.
* If you go up/down a ladder, you can become stuck.
	+ Placing a ladder in the middle of a 3x3 area will avoid this bug both on the ground, vents and the roof.
* If you put objects that aren't meant to be in certain layers (cameras in vents, for example) they will go back to their correct layers. This happens with spotlights, cameras, sun loungers, beds, desks, toilets and more.
	+ Placing objects on their correct layers will fix this
* If a chair is placed inside a wall and sat on, you will phase through the wall.
	+ This can cause a softlock.
* If a map is too small and has too many guards/inmates opening doors at the same time, doors may disappear. They will still function as normal, but become invisible.
	+ Lowering the amount of doors and increasing the size of the map will fix this.