SecretRoom.lua¶
Functions¶
secretRoom.placeSecretRooms¶
Finds suitable locations for secret rooms and places them.
Parameters:
| Name | Type | Description |
|---|---|---|
segment |
LibLevelGen.Segment |
no description |
Returns: LibLevelGen.Room[]
secretRoom.fillSecretRooms¶
Fills secret rooms in the same way necrolevel does.
Parameters:
| Name | Type | Description |
|---|---|---|
segment |
LibLevelGen.Segment |
no description |
fillType |
number? unused, reserved |
no description |
secretRoom.placeChest¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.placeHiddenChest¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.makeCrateRoom¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.makeMouseTrap¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.makeTrapRoom¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.makeBatCave¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretBatLevel |
number? |
no description |
secretRoom.makeSkeletonCloset¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.placeBombOrGold¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |
secretRoom.placeUrn¶
no description
Parameters:
| Name | Type | Description |
|---|---|---|
room |
LibLevelGen.Room |
no description |