Class RoomConfig
Configuration class for adding custom rooms.
Use this in a constructor of
CustomRoom
Assembly: Jotunn.dll
Syntax
Constructors
Properties
Name |
Description |
Divider
|
Flag indicating if this room is a divider. |
Enabled
|
If set to false, room will not be added to DungeonGenerator.m_availableRooms, thus
won't be used during generation. |
Endcap
|
Flag indicating if this room is an endcap. |
EndcapPrio
|
A rank value to prioritize this endcap over others during generation. |
Entrance
|
Flag indicating if this room is a dungeon entrance. |
FaceCenter
|
Flag to orient this room towards the center. Used only for generating camps (draugr/fuling villages). |
MinPlaceOrder
|
Exclude this room if the adjoining connection's RoomConnection.m_placeOrder is less than this value. |
Perimeter
|
Flag to ensure this room is only placed around the perimeter of a camp. Used only for generating camps (draugr/fuling villages). |
ThemeName
|
Theme name of this room. If adding a room to a vanilla dungeon, use nameof(Room.Theme.value) |
Weight
|
A weight value used to sort available rooms during some modes of generation. Defaults to 1f. |
Methods
Name |
Description |
Apply(Room)
|
Converts the RoomConfig to a Valheim style Room. |
Extension Methods