Is there a way to have a room placeholder?

Discussion about Mods for Prison Architect

Moderator: NBJeff

jldrummond
level0
Posts: 3
Joined: Fri Feb 12, 2016 3:25 am

Is there a way to have a room placeholder?

Postby jldrummond » Fri Feb 12, 2016 3:45 am

Hi, I'm new to modding, and my main purpose of starting modding, is to create a "Room Placeholder", where the player can create a room and chose it's name, just to better organize the initial prison blueprint.

Is there any way I can ask for the player input such as a prompt/dialog and rename a newly create area with its content?
I don't need the full mod, but if you could give me some directions, it would be greatly appreciated. :)


Thanks!
seesaw
level2
level2
Posts: 101
Joined: Fri Dec 25, 2015 9:33 am

Re: Is there a way to have a room placeholder?

Postby seesaw » Fri Feb 12, 2016 6:41 pm

An alternative is to make possible to place rooms everywhere, like interior room in outdoor rooms. Thats what you want, right?
jldrummond
level0
Posts: 3
Joined: Fri Feb 12, 2016 3:25 am

Re: Is there a way to have a room placeholder?

Postby jldrummond » Fri Feb 12, 2016 10:47 pm

Yeah, I guess it kinda works. The problem is that I would have to remove the "inside only" restriction of every area, and that could mess things up during the game.
seesaw
level2
level2
Posts: 101
Joined: Fri Dec 25, 2015 9:33 am

Re: Is there a way to have a room placeholder?

Postby seesaw » Sat Feb 13, 2016 9:34 am

I think that there is a mod that lets you place a room anywhere without taking away the indoor requirement. Im not sure tho.
seesaw
level2
level2
Posts: 101
Joined: Fri Dec 25, 2015 9:33 am

Re: Is there a way to have a room placeholder?

Postby seesaw » Sat Feb 13, 2016 6:44 pm

I found three mods.

This one lets you build indoor rooms outdoors but they still have the indoor requirement. It says alpha 31 but i checked and it works with 1.3d:
http://steamcommunity.com/sharedfiles/f ... htext=room

EDIT: It seems that it breaks food distribution, so sadly it doesnt work. Shame, I liked it.

This one adds a placeholder for each room with their names, which are non functional and you will have to rewrite with the original rooms when you want them to work:
http://steamcommunity.com/sharedfiles/f ... htext=room

This one directly removes any requirements:
http://steamcommunity.com/sharedfiles/f ... htext=room
jldrummond
level0
Posts: 3
Joined: Fri Feb 12, 2016 3:25 am

Re: Is there a way to have a room placeholder?

Postby jldrummond » Mon Feb 15, 2016 12:59 pm

Thanks!

I ended up creating a Placeholder room for each room ([PH] Room Name), with no requirements.
Will add only the dimension requirement, as it's applied to both indoor and outdoor rooms.

materials.txt

Code: Select all

BEGIN Room       
    Name                 PH_Cell
END

BEGIN Room       
    Name                 PH_SuperiorCell
END

BEGIN Room       
    Name                 PH_HoldingCell
END

BEGIN Room       
    Name                 PH_Canteen
END

BEGIN Room       
    Name                 PH_Kitchen
END

BEGIN Room       
    Name                 PH_Shower
END

BEGIN Room       
    Name                 PH_Yard
END

BEGIN Room       
    Name                 PH_Intake
END

BEGIN Room       
    Name                 PH_Execution
END

BEGIN Room       
    Name                 PH_Workshop
END

BEGIN Room       
    Name                 PH_Security
END

BEGIN Room       
    Name                 PH_Office
END

BEGIN Room       
    Name                 PH_MedicalWard
END

BEGIN Room       
    Name                 PH_Morgue
END

BEGIN Room       
    Name                 PH_CommonRoom
END

BEGIN Room       
    Name                 PH_Laundry
END

BEGIN Room       
    Name                 PH_CleaningCupboard
END

BEGIN Room       
    Name                 PH_Visitation
END

BEGIN Room       
    Name                 PH_ParoleRoom
END

BEGIN Room       
    Name                 PH_Solitary
END

BEGIN Room       
    Name                 PH_Kennel
END

BEGIN Room       
    Name                 PH_Armoury
END

BEGIN Room       
    Name                 PH_Staffroom
END

BEGIN Room       
    Name                 PH_Library
END

BEGIN Room       
    Name                 PH_Forestry
END

BEGIN Room       
    Name                 PH_Classroom
END

BEGIN Room
    Name                PH_Chapel
END

BEGIN Room
    Name                PH_MailRoom
END

BEGIN Room
    Name                PH_Shop
END


base-language.txt

Code: Select all

room_ph_cell                             [PH] Cell
room_ph_holdingcell                      [PH] Hold Cell
room_ph_solitary                         [PH] Solitary
room_ph_superiorcell                     [PH] Sup Cell
room_ph_dormitory                        [PH] Dormitory
room_ph_familycell                       [PH] Fam Cell
room_ph_sharedcell                       [PH] Sha Cell
room_ph_canteen                          [PH] Canteen
room_ph_kitchen                          [PH] Kitchen
room_ph_shower                           [PH] Shower
room_ph_yard                             [PH] Yard
room_ph_storage                          [PH] Storage
room_ph_deliveries                       [PH] Deliveries
room_ph_garbage                          [PH] Garbage
room_ph_execution                        [PH] Execution
room_ph_workshop                         [PH] Workshop
room_ph_security                         [PH] Security
room_ph_office                           [PH] Office
room_ph_medicalward                      [PH] Infirmary
room_ph_morgue                           [PH] Morgue
room_ph_commonroom                       [PH] Com Room
room_ph_laundry                          [PH] Laundry
room_ph_visitation                       [PH] Visitation
room_ph_cleaningcupboard                 [PH] Cupboard
room_ph_kennel                           [PH] Kennel
room_ph_armoury                          [PH] Armoury
room_ph_staffroom                        [PH] Staffroom
room_ph_library                          [PH] Library
room_ph_forestry                         [PH] Forestry
room_ph_classroom                        [PH] Classroom
room_ph_exports                          [PH] Exports
room_ph_chapel                           [PH] Chapel
room_ph_intake                           [PH] Reception
room_ph_clearrooms                       [PH] Clear Rooms
room_ph_paroleroom                       [PH] Parole
room_ph_mailroom                         [PH] Mail R
room_ph_shop                             [PH] Shop
room_ph_nursery                          [PH] Nursery

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 4 guests