anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
42 stars 16 forks source link

Room insulation detection and wrench usage #3675

Open Saricane opened 6 months ago

Saricane commented 6 months ago

Game Version

1.19.4

Platform

Linux

Modded

None

SP/MP

Multiplayer

Description

There are 2 rules for a chiseled block to keep its insulation property : 1) global volume of the chiseled piece ≥ 50% of the block volume 2) inner face can just have less than 20 removed voxels.

The first rule seems to be checked correctly, but not the second one. Using the wrench to rotate a chiseled block can easily break its insulation property. You have to remove and immediatly replace a single voxel to force a new check, and validate the insulation.

How to reproduce

Photo 1 : lets chisel the right half of a wooden block. We still have 50% of global volume, but the inner face has 128 missing voxels, this block is not insulated. Photo 2 : Use the wrench to rotate the block 90° counterclockwise, so its plain face becomes the inner face. The block is still not insulated. It should be. Photo 3 : Remove and immediatly replace a voxel, the block becomes insulated.

Note : I use the little mod Status Hud to easily show the insulation property with an icon, but I made the same kind of tests in polar area by strong negative temperatures and watching the hunger rate (I don't rely on the /debug rooms hi command, which seems to be buggy with chiseled blocks, too).

Screenshots

image image image

Logs

No response

Rythillian commented 5 months ago

Can confirm: Rotating with the chisel will correctly update the chiseled block but the wrench does not correctly update the chisel block.