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

ScarletDevilMansion

Adds the Scarlet Devil Mansion from Touhou as a possible dungeon to the snow maps.

Date uploaded 11 hours ago
Version 2.0.0
Download link Alice-ScarletDevilMansion-2.0.0.zip
Downloads 2023
Dependency string Alice-ScarletDevilMansion-2.0.0

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
Lordfirespeed-OdinSerializer-2022.11.9 icon
Lordfirespeed-OdinSerializer

Fast, robust, powerful and extendible .NET serializer built for Unity

Preferred version: 2022.11.9
Evaisa-LethalLib-0.11.0 icon
Evaisa-LethalLib

My modding tools for Lethal Company

Preferred version: 0.11.0
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
fumiko-CullFactory-0.9.2 icon
fumiko-CullFactory

Stops rendering faraway factory rooms - Helps with performance.

Preferred version: 0.9.2
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
Alice-DungeonGenerationPlus-1.1.2 icon
Alice-DungeonGenerationPlus

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

Preferred version: 1.1.2

README

Required by all clients

Updated for v65-66

The Scarlet Devil Mansion(紅魔館)

Adds the Scarlet Devil Mansion from Touhou as a possible dungeon for the snow moons (Dine, Rend, Tital). By default the chances are about 50% split between the regular mansion dungeon and the SDM dungeon. In the Lethal Level Loader config, you can edit the spawn weight for any of the snow maps as well as any vanilla or custom moon.

This dungeon blends very well with the Sanguine moon or Scarlet Devil Mansion moon. By default the chances are about 75% for the SDM dungeon to appear.

Sanguineの月ScarletDevilMansionの月と一緒に使うことを勧める。

How to load on vanilla or custom moons, or edit dungeon weights with Lethal Level Loader

Click here to see

In order for my dungeon to appear in the LethalLevelLoader (LLL) config, you need to run Lethal Company with this mod installed and load up a save file. This will automatically setup my dungeon in the LLL config.

Open the config with either r2modman or open the config file inside the BepInEx folder.

Go to "Custom Dungeon: Scarlet Devil Mansion" section. You must set this to true.

Generally speaking, these two fields are the most important. "Manual Level Names List" is the list of moons that the dungeon will appear in. "Dynamic Level Tags List" is the list of special tags. The important tags are "Vanilla" (on vanilla moons) and "Custom" (on modded moons).

Write the list like "[MOON_NAME/TAG]:[WEIGHT],[MOON_NAME/TAG]:[WEIGHT]..." where each entry is separated by a comma.

Example:

  • March:100,Rend:200,Sanguine:50
  • Experimentation:9999
  • Custom:300
  • Vanilla:200,Custom:100

Lethal Level LoaderでオリジナルやMODの月にロードしたり、ダンジョンのウェイトを編集する方法

こちらをどうぞ

SDMダンジョンをLethalLevelLoader(LLL)コンフィグに表示するには、このMODが入ってLethal Companyを起動し、セーブをロードする必要がある。これで自動的にLLLコンフィグにSDMダンジョンがつけられる。

r2modmanでコンフィグを開くか、BepInExフォルダ内のコンフィグファイルを開く。

「Custom Dungeon: Scarlet Devil Mansion」セクションに進む。これをtrueに設定する必要がある。

一般的には、この二つのフィールドが最も重要だ。「Manual Level Names List」はダンジョンが現れる月のリストだ。「Dynamic Level Tags List 」は特別なタグのリストだ。重要なタグは、「Vanilla」(オリジナルの月に)と「Custom」(MODの月に)だ。

リストは、「(月の名前・タグ):(ウェイト),(月の名前・タグ):(ウェイト)…」のように、英語の文字で各エントリーを「,」で区切って書く。

例えば

  • March:100,Rend:200,Sanguine:50
  • Experimentation:9999
  • Custom:300
  • Vanilla:200,Custom:100

Designed for All Parties

The dungeon features a config presets to accommodate the majority of party sizes and preferences. These can be found in the _Presets section in the config. These will automatically overwrite the config settings as the preset values get updated. You can disable the automatic overwrite in the config as well. The preset feature is a lot easier to use with Lethal Config.

You must load up Lethal Company once with this mod enabled to create the config. All configs are synced by the host.

The Default preset. Designed for larger parties of 3 to 4+ players, this dungeon preset will create three main paths (as opposed to the game's single path) that's about half as big as a normal mansion. Scrap, enemy, and map hazard count are increased to fit the larger dungeon.

The Small preset. Designed for smaller parties of 1 to 3 players, this dungeon preset is a smaller variant of the Default preset. It will instead create two main paths. As well, the scrap and map hazard count are only slightly increased.

The MoreLoot and BitMoreLoot preset. Designed for parties who seek high risk, hish reward, these dungeon presets are variants of the Default and Small preset. These massively increases scrap, enemy, and map hazard count.

The Vanilla preset. Designed for parties who just want a vanilla dungeon experience. This tries to emulate Lethal Company's vanilla dungeon generation.

If tweaking is more of your style, you can still configure many of the dungeon's properties to your liking in the config. Just be sure to select the Custom preset so they don't get overwritten.

Dungeon Layout

The map is a grayscale representation of what the Scarlet Devil Mansion could look like, with a mayor starting room, hallway corriders, and typical mansion rooms (bedrooms, libraries, kitchens, etc.).

Click here to see the dungeon screenshots

Dungeon Generation

This dungeon uses modified dungeon generation code to do the following:

  • Create multiple main paths (as opposed to the base game's single path), then creates branching paths like normal
  • Confines the dungeon to a relatively small box
  • Prioritizes branch paths that connects to other tiles

This is all done to increase the chance of the main paths connecting and forming a circular path. Please understand that this will increase dungeon generation times by a decent margin. The Vanilla preset doesn't use most of these modifications.

Dungeon Features

Besides the dungeon's generation and tiles, the dungeon features a few unique mechanics that can shake up your scavenging adventure, or play a fun distraction.

Many mechanics/enemies deal critical damage. This will deal damage to set the player's health to 5. If the player's health is already below 10, the damage will instead kill them.

Spoiler warning. Click here to see the features
The Clock
It's a clock. Accurately tells the time but has a knack of breaking.
The Doors
Doors, regular or locked, can destroyed by both players and enemies. Some doors spawn already half destroyed. Players require a shovel or shotgun while an enemy just has to be angry.
The Painting Event
A high value scrap item. Snatching it will summon a dangerous enemy and even more scrap. A maximum of 2 can spawn. This spawned enemy will have a special dark colouring. This is only cosmetic.
The Void
Jumping puzzles can be found throughout the mansion. Falling in the pit will deal critical damage, then teleport the player to the farthest AI node. Falling in a second time will kill the player. Resets on new day.
The Treasure
The mansion holds many valuable treasures behind impassable doors. Solve that room's puzzle to unlock the door. Only spawns next to kitchen, 1f library, bedroom, and servant's quarters rooms.
The Emergency Exit
The fire exit looks a little different. The vanilla style can enabled in the config.
The Outside
Scary I know. Certain rooms and areas has naturally emitting sunlight. Dies off as the day turns to night. Visual weather effects will appear if the moon has a certain weather active.
The Jukebox
Plays songs. They serve no other purpose.
The Portraits
Stares at you. They serve no other purpose.

Dungeon Items and Enemies

The dungeon contains a few unique scrap items that can only spawn inside the mansion. They each contain a very unique interact feature.

Spoiler warning. Click here to see the items
The Decorative Crystals
An average valued scrap item with a bit of weight. Comes in many colours. Can be combined with a flashlight in your inventory to create a new decorative flashlight with a recharged and improved battery, a colored light bulb, half of the crystals original value. This leaves behind a shattered decorative crystal which has the leftover 50% value, which can also be used to create another decorative flashlight (this completely destroys the crystal).

The Maid's Knife
Acts like the kitchen knife. Drops from the Maid. You can feed the knife by dealing critical damage to yourself to power it up. When buffed, the knife can effectively one-shot any killable monster by dealing 50 damage. Loses the buff once it deals damage to anything. The attacker takes the critical damage if they attack a fellow player. Does not have the innate one-shot property towards the Butler or Maid. Kills if you stab yourself a second time. Resets on a new day.

The Doll Snowglobe
A highly valued 2-handed scrap item. Comes in many doll variants. Activate it to see it jingle.

The dungeon uses summoning sigils to summon its enemies as opposed to vents. This is only a visual change. All enemies featured in this dungeon can only spawn inside the mansion.

Spoiler warning. Click here to see the enemies
The Knight, a Coil-head variant
Acts like a regular coil-head, but is slightly slower and prefers spawning from statue props, especially ones passed by scavengers. Takes a bit longer to exit the cooldown state, and enters a brief cooldown state after hitting a player.

The Maid, a Butler variant
Acts like a regular butler, but kills very quickly. As a tradeoff, it is slower and has less health. When killed, drops the Maid's Knife and summons a revenant ghost towards the maid's killer.
The revenant deals critical damage. It is only fully visible to the maid's killer, and will only target/harm them. They can slowed down by it's target staring it down. Once the revenant deals damage, the target dies, or the target leaves the dungeon, the revenant disappears.

Mod Compatibilities

The following mods either have unique compatibilities or made to work with SDM:

  • LethalConfig (Config presets are easier to use with this mod)
  • Mimics (Custom fire exits can also be mimics. Interior name must be added to the Mimics config under Interior whitelist. Name is "SDMLevel")
  • FacilityMeltdown (Can be activated by the dungeon event. Must be enabled in the config)
  • ReservedFlashlightSlot (The decorative flashights can be placed in the flashlight slot)
  • ReservedKeySlot (The scarlet keys can be placed in the key slot)
  • Coroner (Enemies and map hazards have unique death messages)

Future Development

The development process has been halted for the unforeseeable future. Expect small to no updates for long periods of time. Updates will still be released if a game-breaking issue/mod-interaction happens.

Credits

Touhou owned by Team Shanghai Alice (ZUN)

ladyalice.dev - Code, Dungeon Design
@Zaggy1024 (Discord) - For their sick help in getting Deep Profiling to work
Nitori.itch.io - For their sick advice
XuXiaolan - Snowglobe code (twice)
Warmgummybear - He threatened my life, and more importantly my waifus, if I didn't include his name

3D Models/Assets

MarkLi.itch.io - 3D Environment Assets (Rooms)
Vinyis.itch.io - 3D Environment Assets (Hallways)
@grandteki (Discord) - Various 3D Assets
@mauriciodm (Fiverr) - Maid Assets
@solidstone (Discord) - Snowglobe Assets
@Schmagons (Instagram) - Snowglobe Doll Assets

Portrait Art

@Schmagons (Instagram) - Remilia, Sakuya, Medicine, Hime, Kagasa, Yuyuko, Reimu
YeeHaw - Flandre, Patchy, Koakuma
World's Saddest Halo Fan - Rumia
WorthAggravating (Reddit) - Hina

Audio

peacock-roy.itch.io - Maid chase and dungeon entrance music. Various SFX
@solidstone (Discord) - Snowglobe jingle
@StasGavrik - Jukebox music

License

Released under Creative Commons Attribution License. If you'd like expand upon my work, while I would apprecite it you don't have to ask for 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.

If interested, the dungeon assets were originally used in these two fan games. Utusuru and Gensokyo Komarunner.

興味があったら、ゲームアセットはもともとこの二つのファンゲーム(UtusuruGensokyo Komarunner)で使われていたんだ。

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.

日本語がちょっとできるよ。コメントや質問やモンクがあったら、このdiscordのスレッドに書いてください。さらに、このdiscordでLadyRaphtaliaに直接メッセージを送ることもできる。フレンド申請を送らないで、承認しないから。

CHANGELOG

2.0.0

Updated for v65/66
Two new outside rooms with an open sunroof
Added visual effects to the dungeon if the moon has certain weather effects
Dungeon "sunlight" will decrease over time
The v62 enemies should destroy Scarlet doors now
Undefined enemies (future or modded) should open Scarlet doors by default now
Updated the red anger effect to be less red
Made the mayor pillars float higher in the air

1.3.0 - 1.3.27

Updates

Added many variant rooms
Added void rooms
Added new treasure rooms
Added clock prop to main entrance
Added destroyable doors
Added spike traps to dungeon
Added jukebox with Touhou beats to Servant's Quarter rooms
Redone dungeon brightness, item and map hazard spawn locations
Added ink/blood stains throughout the mansion floor
Expanded mayor entrance tile, removed basement
Shrunk all 1F libary rooms
Lights now have a chance of flickering and dying

Updated dungeon generation to prefer branch tiles that make multiple connections to encourage looping paths

Added new enemy variant for Butler and new weapon from said enemy
Added new scrap item, shattered decorative crystal (can combine with flashlights)
Added new scrap item, doll snowglobe
Added new scarlet key (it's just red) to help with visibility
Updated knight to match the coilhead's new v60 behaviour
Knight enters a brief cooldown after hitting a player

Added config to add unique enemy spawns during the bedroom dungeon event
Added configs for dungeon enemies and items spawn weights
Added config for demonic painting
Added config to use either SDM or vanilla fire exits
Moved some of the configs to LLL

Dungeon lights turn red during certain dungeon events
Added special colouring to enemies that spawn from the painting event
Portraits stare at you when you aren't looking

Added Mimics compatibility
Added FacilityMeltdown compatibility Added ReservedFlashlightSlot compatibility
Added ReservedKeySlot compatibility
Added Coroner compatibility
CullFactory mod is now manatory
LethalConfig's entries will have a different shade of red if my preset settings auto-change its values

Updated mod for my new API
Added Sanguine (moon) to the interior's spawn list
Added Scarlet Devil Mansion (moon) to the interior's spawn list

1.2.0 - 1.2.12

Updates

Added new dungeon event
Added basement to mayor starting room
Added bedroom and servant quarter variant rooms
Many many internal code and design changes to reduce the load times by abouy 90% on average
Removed garden tile (temporarily). Added unpolished fire exits throughout the dungeon
Added rotateable frames to the hallways
Added new functionality to decorative crystal item
Added config presets. Automatically set to default. Contains two distinct presets for 4+ lobbies are 1-3 smaller lobbies
These config presets make the map much smaller
Fixed scrap spawn prefering to spawn on the upper floors
Added many new networked configs
Switch from BinaryFormatter to OdinSerializer
Fixed issues with unofficial Korean patch

1.1.0 - 1.1.12

Updates

Added support for LLL
Detailed the hallway rooms and added new ones
Added lethal company's lighting onto the dungeon (somehow?)
Added new enemy variant
Added new scrap item
Fixed enemy pathing issues
Spray cans now work, thanks SkullCrusher my beloved
Added wall lights to hallway rooms as a possible spawn
Added chandelier lights to most rooms as a possible spawn
Added networked config to modify the spawn chance of light sources
Added networked config to modify much of the dungeon generation values and scrap count

1.0.1 - 1.0.4

Updates

Detailed the mayor starting room
Added three detailed kitchen variants
Made more drastic changes to make the map much less spread out, AKA map is smaller