Mods / 【Discontinued】Room Indicator

Category: #QoL #Utility
Author: Rangelost
Side: Client
Created: May 18th 2023 at 2:07 AM
Last modified: May 18th 2023 at 8:10 PM
Downloads: 1258
Follow Unfollow 28

Latest file for v1.18.0:
roomindicator.zip 1-click install


This mod is discontinued because it has been integrated into Status HUD.


This is a simple mod with the objective of relaying critical information to the player. The icon is only shown when inside what the game considers to be a room.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.1.0 1030 May 18th 2023 at 8:10 PM Show roomindicator.zip Install now
v1.0.0 228 May 18th 2023 at 2:07 AM Show roomindicator.zip Install now

18 Comments (oldest first | newest first)

💬 MadreCherry, Oct 1st 2023 at 1:06 AM

could you by chance add the temp of the room you are currently in?

💬 ryna, May 24th 2023 at 1:22 PM

good mod!

💬 ThreeHeadedDingo, May 19th 2023 at 11:50 PM

It's strange because it seems like it would be trivial to detect whether a campfire is burning inside of a room cuboid and apply that extra heat room-wide to players with in it. Maybe just something Tyron didn't get around to.

💬 RangelostAuthor, May 19th 2023 at 3:25 AM

IAmJade
It is my hope that room temperatures will be properly implemented in the future. The current system is both unintuitive and game-breakingly exploitable.

💬 Jade1, May 19th 2023 at 3:19 AM

Ah, thank you for that explanation, Rangelost. I didn't know that this was the behavior of temperature (fire, etc.).

💬 RangelostAuthor, May 19th 2023 at 3:01 AM

IAmJade
I am afraid not. The way they are programmed, rooms do not have a temperature. Objects that are otherwise affected by outside temperature have hard-coded behaviours that are each riddled with aribtrary magic numbers based on room type and/or nearby objects.

For example, a fire that is outside is hard-coded to affect players up to 3 blocks away. It is also hard-coded to affect players within an entire room. However, this does not change the room's temperature; containers are unaffected by the fire.

💬 Jade1, May 19th 2023 at 1:54 AM

Is there any way to show a room temperature? We've been wanting that information forever. :)

💬 RangelostAuthor, May 18th 2023 at 9:55 PM

SalieriC
You are welcome. Indeed, you may see the cellar icon when standing on farmland or in a doorway. This is a game issue, not a mod issue — my mod simply displays the values returned by the game.

In the case of farmland, I assume that this happens because it is 1 "voxel" shorter, which lowers the player's origin position below the room's ground level. As such, the game may think that the player is "inside the ground", which meets all of the criteria for a cellar.

As for my profession, I am a video game and full stack web developer. However, I do not like .NET enough to bother installing an IDE and/or compiler for it. Fortunately, it is not needed to make simple mods such as this!

💬 SalieriC, May 18th 2023 at 9:11 PM

Thanks for the adjustments Rangelost

It's acting a bit weird in greenhouses as it doesn't show the sun symbol while standing on farmlang but that's not so bad.

Wait, you wrote that in Notepad? I don't wanna tell you how to do your job but you might want to check out a proper IDE like VS Code as a free option. Don't know your profession but I started out writing JS as a hobby in Notepad++ and it became a whole lot easier and more fun when I discovered VS Code. 🙈 Just a friendly advice, no offense intended. =)

💬 RangelostAuthor, May 18th 2023 at 8:24 PM

Heebeejeebees
I cannot help other people with their mods. However, my mods are not compiled, so anyone can look the source code.

WickedSchnitzel
I cannot compile my mods into DLL files because I write them in Notepad. Sorry about that! If you could explain to me how it causes conflicts, I might be able to find a workaround.

SnowVoid

DasPrinzip

SalieriC
Thanks for your feedback. I have added greenhouse detection in v1.1.0.

DasPrinzip

SalieriC
If your room is 7×7×7 or smaller, or has one dimension up to 9 but a volume of 150 or less, then the game considers it a cellar. I have modified the cellar icon in v1.1.0 so you feel better about your small houses.

💬 SalieriC, May 18th 2023 at 3:21 PM

> All in all i only see everywhere the cellar symbol, but not the house symbol shown in the pictures of you. What i am doing wrong?

Same here. Also +1 for the greenhouse. Great mod idea though. =)

💬 DasPrinzip, May 18th 2023 at 9:54 AM

Great idea!

All in all i only see everywhere the cellar symbol, but not the house symbol shown in the pictures of you. What i am doing wrong?

A greenhouse feature will also be nice.

💬 Rythillian, May 18th 2023 at 9:45 AM

Great idea!

💬 V01DW4LK3R, May 18th 2023 at 5:13 AM

what about greenhouse?

💬 WickedSchnitzel, May 18th 2023 at 4:46 AM

Could you provide a .dll compiled version, because using .cs together with .dll mods can cause problems.

💬 Heebeejeebees, May 18th 2023 at 4:41 AM

Not to request undue burdens upon you, but could you help OmegaHaxors figure out a better way to present the blood bar for Mortal Damage? Because that mod doesn't make it obvious there was any UI change and the body temp mod you made looks heaps better than how he handled the bleeding indicator in his mod.

If it could only show up when bleeding, or if there is a way to make it a single bar with HP loss / gain highlight it'd be quite a bit better.

💬 RangelostAuthor, May 18th 2023 at 3:34 AM

rboys2
When it is cold outside, body temperature may drop. A room negates that effect, and allows the player to sleep without freezing to death.
A room that is small enough to be considered a cellar will greatly reduce stored food perish speed.

The rules as to what constitutes a room are confusing. For example, using a solid door works, but using a sleek door does not. This mod helps with figuring out those rules without having to look at the game's code.

💬 rboys2, May 18th 2023 at 3:09 AM

What's the difference from being outside and being in a room?
I'm not aware of this mechanic, probably because it doesn't tell you you're in one 😝

(edit comment delete)