Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
SilkRoomUtils
Room loading utilities for Silksong (BepInEx).
| Date uploaded | 9 months ago |
| Version | 0.0.22 |
| Download link | TC8Silk-SilkRoomUtils-0.0.22.zip |
| Downloads | 68 |
| Dependency string | TC8Silk-SilkRoomUtils-0.0.22 |
This mod requires the following mods to function
BepInEx-BepInExPack_Silksong
BepInEx modloader. Preconfigured and ready to use.
Preferred version: 5.4.2304README
SilksongRooms: shareable room loader
This repo includes a template (content/SilksongRooms) that ships a reusable room loader and a tiny integrator. It lets any mod load room JSON files (*.room.json) and Unity AssetBundles.
Highlights:
- Drop rooms in
BepInEx/plugins/<YourMod>/Rooms/and they get picked up automatically by the SilksongRooms plugin. - Other mods can register their own Rooms folders at runtime via a simple API.
Use from another mod:
using BepInEx;
using SilksongRooms._1;
[BepInDependency("io.github.silksongrooms__1")]
[BepInPlugin("your.guid.here", "Your Mod", "1.0.0")]
public class YourMod : BaseUnityPlugin
{
private void Awake()
{
var myRooms = System.IO.Path.Combine(BepInEx.Paths.PluginPath, Info.Metadata.Name, "Rooms");
RoomsApi.RegisterRoomsFolder(myRooms);
// Or single file:
// RoomsApi.RegisterRoomJson(System.IO.Path.Combine(myRooms, "my_room.room.json"));
}
}