Jump to content

[B41.55] fridge & freezer ItemContainer : getTemprature() and isPowered() are inconsistent.


Tchernobill

Recommended Posts


Context:

Use of mods Coolbag (Verbose On and a built Water pocket in the freezer to have logs) and ModOptions (to activate logs).

A fridge World Item (with fridge and freezer containers) is Powered On in a building.

By Powered On, I mean:

the food in them is highlighted in blue (remains over a long time).

the light in the same room is On. (can be switched On/Off)

getTemprature() in freezer returns approx. 0.2.

isPowered() in freezer returns true.

Solo Player moving away from the house (less than 100 tiles away)

 

Current:

at random unidentified time, (power is still On in game)

the food in them is highlighted in blue (remains over a long time).

the light in the same room is On. (can be switched On/Off)

getTemprature() in freezer returns approx 1.

isPowered() in freezer returns false.

 

Expected:

If Power is On in a room

the food in freezer is highlighted in blue (remains over a long time).

the light in the same room is On. (can be switched On/Off)

getTemprature() in freezer returns approx 0.2.

isPowered() in freezer returns true.

 

if Power is Out

the food in freezer is NOT highlighted in blue.

the light in the same room is Off. (cannot be switched On)

getTemprature() in freezer returns approx 1.

isPowered() in freezer returns false.

 

Please tell me where I am mistaking if I am.

Edited by Tchernobill
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...