RimWorld

RimWorld

[JPT] Soft Warm Beds
Orion 16 Apr, 2020 @ 11:31am
Hospitality integration
Hello!

I'd like to add a new integration with Hospitality. Guest beds now have an "attractiveness" score, which determines how likely guests will choose them.

They also check the temperature in the room to see if it's uncomfortably hot or cold.

So when calculating attractiveness and temperature, I'd like to incorporate Soft Warm Beds stats. Could you give me a simple piece of code for each to call?

Alternatively you could patch BedUtility.GetTemperatureScore and BedUtility.GetBedQuality (I'm adding those next version).

Are you up for helping me with this?
< >
Showing 1-4 of 4 comments
jptrrs  [developer] 18 Sep, 2020 @ 8:28pm 
Maaaan! I totally missed this. Sorry! Did you manage it?
Orion 18 Sep, 2020 @ 11:00pm 
No, not yet. I think it's probably easier from your end, just patching those functions, adding to the score (or subtracting).
jptrrs  [developer] 19 Sep, 2020 @ 4:25am 
Cool, I'll take a look once I finish my backlog of unupdated mods...
Orion 19 Sep, 2020 @ 5:51am 
Thanks :D
< >
Showing 1-4 of 4 comments
Per page: 1530 50