Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are allowed to use the assets in this file in mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Some fairy chests in the game are hidden behind breakable walls and not marked on the map, requiring you to remember room layouts or look carefully for breakable walls in every room. No more! This mod makes it so fairy chests are shown on the map when entering the room.
Move the dll and json file to the RL2 "Mods" folder Example path for Steam: C:\Program Files (x86)\Steam\steamapps\common\Rogue Legacy 2\Rogue Legacy 2_Data\Mods
Supported versions: The mod is built and tested for Rogue Legacy 2 version V1.2.2a-steam and RL2 ModLoader version V.1.0.4
Source code: (can't be bothered making a github repo) using System; using System.Linq; using UnityEngine;
namespace rl2mod { [ModEntrypoint] public class Class1 { public Class1() { Messenger<GameMessenger, GameEvent>.AddListener(GameEvent.PlayerEnterRoom, ShowFairyChests); Messenger<GameMessenger, GameEvent>.AddListener(GameEvent.EnemyDeath, ShowFairyChests);
void ShowFairyChests(MonoBehaviour arg1, EventArgs arg2) { if (PlayerManager.GetCurrentPlayerRoom() is not { } baseRoom) return;
var fairyChests = baseRoom.SpawnControllerManager.ChestSpawnControllers .Where(c => c is { ShouldSpawn: true, ChestType: ChestType.Fairy, ChestInstance: { IsOpen: false, IsLocked: false } }) .ToList();
if (fairyChests.Count == 0) return;
if (MapController.GetMapRoomEntry(baseRoom.BiomeType, baseRoom.BiomeControllerIndex) is not { } mapRoomEntry) { return; }