Carturs Flooring
Floor tiles count as roof, so a floor overhead shelters the room below from rain. Fires, smelters and kilns place on floor tiles instead of only bare ground. Floors take no rain damage, so an open deck stops rotting. Each part toggleable.Changelog
1.1.0
- Smelters, kilns and blast furnaces place on floors. Same three placement flags
as the fire pieces, on a different set of prefabs; the
Smeltercomponent is the selector. Freeing the flags alone was not enough -WearNTear.UpdateWeardealsdamage = 100fwhenm_noSupportWearis set and support is short, which is a full health bar in one tick, and a stone piece needs 100 support where wood tops out at 100 and loses a share per link.m_noSupportWearis cleared on those prefabs too, so the game stops demolishing a smelter the moment it stands on a plank. NewSmeltersOnFloorssetting. - Floors take no rain damage. A deck, a jetty or a bridge has nothing overhead,
fails the roof check forever and rots forever. The rain branch of
WearNTear.UpdateWearonly bites when sixty seconds have passed onm_rainTimer, so that timer is held at now for floor pieces and the branch never reaches its damage line. Clearing the prefab'sm_noRoofWearwould have been simpler and wrong: the same flag drives the wet sheen, and a floor that cannot rot should still darken when it rains. Support collapse, snow, ash and fire wetness all behave as before. NewFloorsDontDecaysetting, and this one is read live - no restart.
1.0.1
- Hearths and braziers now place on floors. 1.0.0 picked fire pieces by the
Fireplacecomponent and clearednotOnWoodandgroundOnly; those two carrygroundPieceinstead, which fails the same heightmap test and returns before the other checks are even reached. All three flags are cleared now, and a piece counts as a fire if it has aFireplaceor its comfort group is Fire. iron_gratewas listed as sheltering the room below. It never did — grates do not carry the game's Floor usage flag, so the mod does not touch them. Documentation fix only, no behaviour change.
1.0.0
First release.
Floor pieces no longer count as leaky, so a floor overhead shelters the room
below — rain damage, fire wetness and the shelter status all follow. Fireplace
pieces have notOnWood and groundOnly cleared, so fires place on floor tiles
instead of only bare terrain. Each feature has its own config switch.


