RimWorld

RimWorld

[JPT] Soft Warm Beds
Orion 16. apr. 2020 kl. 11:31
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?
< >
Viser 1-4 af 4 kommentarer
jptrrs  [udvikler] 18. sep. 2020 kl. 20:28 
Maaaan! I totally missed this. Sorry! Did you manage it?
Orion 18. sep. 2020 kl. 23:00 
No, not yet. I think it's probably easier from your end, just patching those functions, adding to the score (or subtracting).
jptrrs  [udvikler] 19. sep. 2020 kl. 4:25 
Cool, I'll take a look once I finish my backlog of unupdated mods...
Orion 19. sep. 2020 kl. 5:51 
Thanks :D
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50