You are viewing a potentially older version of this package. View all versions.
Alice-DungeonGenerationPlus-1.3.1 icon

DungeonGenerationPlus

API to expand the compatibilities of Lethal Company's dungeon generation

Date uploaded 6 hours ago
Version 1.3.1
Download link Alice-DungeonGenerationPlus-1.3.1.zip
Downloads 1741
Dependency string Alice-DungeonGenerationPlus-1.3.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
IAmBatby-LethalLevelLoader-1.2.3 icon
IAmBatby-LethalLevelLoader

A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company. (v50 Compatible)

Preferred version: 1.2.3
Evaisa-FixPluginTypesSerialization-1.1.1 icon
Evaisa-FixPluginTypesSerialization

Fix custom Serializable structs and such not properly getting deserialized by Unity.

Preferred version: 1.1.1

README

Dungeon Generation Plus

An API to expand the compatibilities of Lethal Company's dungeon generation.

This mod is for interior modders to add to their projects if they so desire. By itself, this mod cannot improve the dungeon generation of vanilla dungeons.

This API was originally a part of the custom interior, Scarlet Devil Mansion.

How to Setup and Use

Please refer to the wiki for documentation on utilizing this API for your custom interior.

Dev Debug Window

Activate this feature in this mod's config, then press LeftAlt + M while inside the ship alone.

Allows you quickly generate dungeons inside Lethal Company. You can edit most (but not all) values of the DungeonFlow and DunGenExtender assets to quickly see how the changes would affect the dungeon generation.

See this thread for the feature in action.

Multiple Main Paths

The prominent feature of this API is the ability to seemlesly add multiple main paths to your interior. Below are some examples.

Mod Compatibilities

Credits

LadyAlice.dev - Code
YeeHaw - Mod icon
@albinogeek (Discord) - Wiki proofreading
@bsl (Discord) - Beta testing
@zaggy1024 (Discord), @plastered_crab (Discord) - Beta testing the MainPathExtender feature and my wiki

License

Released under Creative Commons Attribution License. Do what you want, you don't need my permission. You only have to include the text blob above, with the names and their contributions, somewhere reasonably visible in your mod page or whatever you doing.

Contact

Any complaints or questions can asked in this discord thread. You can also dm personally at this discord, LadyRaphtalia. Please do not send a friend request, I will not accept it.

CHANGELOG

1.0.1

lol messed up the GUID

1.0.2

lol messed up with modded moons

1.0.3

Added new Forced Tiles system

1.0.4

RandomGuaranteedScrapSpawn will use the item's weight when spawning items

1.0.5

Added new BranchTileLoop system
Turned some LogInfo into LogDebug

1.1.0

Changed BranchTileLoop system to BranchPathMultiSim system
Restructed DunGenExtender's data structure
Added dev debug tools

1.1.1

Removed some hardcoded debug code

1.1.2

BranchPathMultiSim system now works with all dungeons

1.2.0

Added MainPathExtender feature
Renamed ForcedTiles to AdditionalTiles
Added SetInOrder behaviour to MainRoomDoorwayGroup
Alternate main paths will now end when it reaches the last node in the list like the original DunGen behaviour
Added more detailed debug logs when the alternate main path generation fails

Dev Debug Window:
LeftAlt + M to open now
Added zooming with scroll bar
Added Assets panel
Some bug/visual fixes

1.3.0

Added local Global Props system
Added system to add scrap/enemies or edit scrap/enemy weights temporarily before the dungeon generates
Added compability with Loadstone to improve dungeon generation performance

1.3.1

Bug and UI fixes to Dev Debug Window