边缘世界 RimWorld

边缘世界 RimWorld

[D] Thermodynamics - Core
28 条留言
Mlie 2022 年 12 月 29 日 下午 1:37 
Included an update of this in the updated Hot Meals-mod:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2909103255
Hope it helps anyone!
dabeek 2021 年 8 月 18 日 上午 7:11 
1.3 and I will give you ALL the awards
I blame Earthshaker 2021 年 8 月 14 日 上午 11:42 
1.3?
Timou 2021 年 8 月 2 日 上午 3:42 
Update please 1.3 :Gifting:
Richard Mc Nutbuster 2021 年 7 月 29 日 上午 1:12 
will this be updated soon?
🍈ₘₑₗₒₙ 2021 年 7 月 25 日 下午 10:00 
Thanks for this mod!
Richard Mc Nutbuster 2021 年 7 月 23 日 上午 7:54 
1.3?
saekikatsuya 2020 年 11 月 14 日 上午 11:27 
I don't know what's going on,but my egg doesn't like this mod.
Krid 2020 年 9 月 9 日 下午 3:07 
Could you make a mod that adds better environmental temperature modeling? So removing a wall doesn't instantly drop a room down to ambient, and walls have different insulation potential?
Dametri  [作者] 2020 年 8 月 4 日 下午 12:20 
@deathlis23 I need more details than that if you want me to help. Also, better to post in Hot Meals (link above).
deathlis23 2020 年 8 月 4 日 下午 12:13 
My people aren't heating up the damn food
SubmarineMan 2020 年 8 月 3 日 下午 4:38 
https://github.com/KiameV/rimworld-rimfridge/pull/46/commits for what i mean (the rottableComp changes and patch )
SubmarineMan 2020 年 8 月 3 日 下午 4:35 
@Dametri I would like to note that your implementation is impressive but you could use some caching and please try to avoid the GetTemperature cuz it's one of the slowest functions to call in RW. If you would join me at Dubwise discord server to discus our finding (I've made a fix for simple fridge that you could reuse for hotmeals)
SubmarineMan 2020 年 8 月 3 日 下午 4:33 
@Dametri Hello, i've going through your code and noticed you're overusing TryGetComp<CompDTemperature> thus i made a simple caching function for it:

static class TemperatureCompDUtility
{
private static Dictionary<int, CompDTemperature> _cachable = new Dictionary<int, CompDTemperature>(100);

public static bool TryGetCompDTemperature(this Thing thing, out CompDTemperature comp)
{
if (_cachable.TryGetValue(thing.thingIDNumber, out comp))
{
if (comp == null) return false;
return true;
}

comp = thing.TryGetComp<CompDTemperature>();

_cachable.Add(thing.thingIDNumber, comp);

if (comp == null) return false;
return true;
}
}
Dametri  [作者] 2020 年 6 月 4 日 下午 1:42 
@WaKKO151 "Core module for my Thermodynamics mods. Doesn't really do anything on its own."
WaKKO151 2020 年 6 月 4 日 下午 1:30 
so, you don't state what this does
KommissarK 2020 年 6 月 3 日 上午 10:05 
I'm quite interested in water cooling pawns down. I'm attempting to do an extreme dessert start with no starting gear and tribal tech. Kinda sad rn that I can't live without trade.
An Ol' Spicy Keychain 2020 年 6 月 2 日 下午 8:38 
what the fuck
why would i be famous
im shit at the game and barely showed up
Oilooc 2020 年 6 月 2 日 下午 4:16 
Is that the once famous member of the Dinkleberg TTT server?
An Ol' Spicy Keychain 2020 年 5 月 29 日 下午 10:33 
wow i was just thinking about clothing insulation weirdness earlier, that crazy, id love to see a mod that increases realism when it comes to apparel temperature calculation
oz 2020 年 5 月 28 日 下午 9:44 
Sounds like a pretty cool project!
Dametri  [作者] 2020 年 5 月 28 日 下午 12:38 
@Oken Next would be colonist pawns, but that's a big project. Idea is to change how clothing insulation works: pawns stay warm for a while when they go out, but gradually leech heat based on the insulation of their clothing. Also, frostbite would be based on what parts are covered. Fans to cool colonists down that work outdoors. Campfires or space heaters or something to heat them even when outdoors. Fires heat colonists nearby, even when it's outdoors; need firefighting gear to avoid getting burned. Water cools people off. Heatstroke based partly on sun exposure.

But like I said, big project. Requires some AI adjustments. I have other things I plan to work on before I get to it.
Avericat 2020 年 5 月 28 日 下午 12:15 
What are your plans and ideas to use this core in?
Dametri  [作者] 2020 年 5 月 28 日 上午 9:24 
@oz Yes, exactly, and no, ambient temperature functionality doesn't change; I think the ambient temperature system is actually quite good (heat pushing, gradual diffusion of enthalpy, so on).

Two main concerns I have with this core, and the reasons I only intended it for my own use:
1. Adding temperature comps to too many things may eventually increase lag, though I'm not sure this is a significant problem (diffusion is pretty lightweight)
2. The core doesn't really have a system for adding temperature comps to things, so mods will have to do that themselves and ensure there aren't any conflicts
oz 2020 年 5 月 28 日 上午 9:15 
Hi, thanks! So if I understand your code correctly, it's a framework to make objects change temperature slowly instead of being always at ambient temperature? I can see many uses for this. You're not changing how ambient temperature behaves though, right? Either way I'm interested
Dametri  [作者] 2020 年 5 月 28 日 上午 4:55 
@oz I really only intended it for use with my mods, but the source is included in the download (as with all my mods)
oz 2020 年 5 月 27 日 下午 9:11 
The name is interesting, but could you expand on what functionality this makes possible? Or link to the source code? Or is this mod meant to be used only be your mods?