Project Zomboid

Project Zomboid

Fix floor
Muad'Dib Apr 1, 2022 @ 10:08am
Suggestions
First, love the mod. It and "clean dirt" are very useful. A few suggestions, if you are taking them:

1) You use the "low loot position" animation for repairing the floor. I think the "build low" - where the player actually hammers the floor - would be a better fit. The changes would be from this:

function FixFloorAction:start() self:setActionAnim("Loot"); self.character:SetVariable("LootPosition", "Low"); self:setOverrideHandModels("Hammer", nil); self.hammerSound = 0 self.character:reportEvent("EventFixFloor"); end

To this:

function FixFloorAction:start() self:setActionAnim(CharacterActionAnims.BuildLow); self:setOverrideHandModels("Hammer", nil); self.hammerSound = 0 self.character:reportEvent("EventFixFloor"); end

IMHO it looks better.

2) Very small fix but please do consider it anyway. The context menu capitalizes almost everything (except "Walk to"), so to fit a bit more with vanilla the menu should read "Fix Floor" instead of "Fix floor".

3) Consider adding resource usage. One or two planks, maybe a few nails. And the possibility of failure - wasting the resources and not fixing the floor.

4) Finally, consider merging the mod with your "Clean dirt"
https://steamcommunity.com/sharedfiles/filedetails/?id=2711057211

And getting authorization to merge it with "Repair roads"
https://steamcommunity.com/sharedfiles/filedetails/?id=2746843062
(which also, for some reason, also uses the "loot low" anim)

Why? They are small (but very important) mods that offer similar functions. If you are worried about choice, you can always make some sandbox options to disable certain features. Please do consider doing this as it helps de-clutter modlists (and the workshop).

Keep up the awesome work!