Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
https://steamcommunity.com/sharedfiles/filedetails/?id=2909103255
Hope it helps anyone!
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;
}
}
why would i be famous
im shit at the game and barely showed up
But like I said, big project. Requires some AI adjustments. I have other things I plan to work on before I get to it.
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