Don't Starve Together

Don't Starve Together

Not enough ratings
Tool Safety - Self-Griefing Prevention
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
270.533 KB
29 Sep, 2022 @ 10:55pm
23 Aug, 2023 @ 7:24pm
9 Change Notes ( view )

Subscribe to download
Tool Safety - Self-Griefing Prevention

In 2 collections by 󰀐 ZoomZoomBang 󰀐
ZoomZoomBang's Collection of Client-Side Mods
71 items
Mods Published by ZoomZoomBang
17 items
Description
Prevents you from griefing your own base by making tools safer!

Makes pressing the Force Attack key (Ctrl) required to light things on fire while holding a Torch, Willow's Lighter, Fire Staff, or Fiery Pen. Trees, flares/megaflares, gunpowder/slime, and fire pits are still ignitable without pressing Force Attack.

Prevents you from accidentally hammering anything when you use the action key (Spacebar) with a Hammer equipped.

Note that if you are a client (i.e not the host on a world without caves), the action replacing "Light on fire" may not work until you equip a different item.

Inspired by Misclick Protection by A Crisp Morning

Changelog:
- *NEW* Now blocks Brightshade Smasher from hammering with the action key
- Fixed bug that blocked Maxwell's spells from being cast or cancelled

There seems to be a different mod that is blocking cancelling spells (it does not happen when I disable all but this mod). I'm looking into which one it is that's bugged
13 Comments
dwarf_dustin 2 Jun, 2024 @ 11:18am 
Exactly what I was looking for! Today in my first good game titled 'for noobs', after 2hrs grind a new player joined and accidentally burned 1/3 of the base down in their first 5mins.
BONUS DUCKS 24 Nov, 2023 @ 10:46am 
Can controller do work?
Raishou 23 Aug, 2023 @ 8:27pm 
Sorry for the wait. You are a god! Works like a charm now, tysm!
󰀐 ZoomZoomBang 󰀐  [author] 23 Aug, 2023 @ 7:33pm 
Thanks, that was helpful. I just released an update that should fix that crash. Please let me know if you are still getting a crash.
Raishou 23 Aug, 2023 @ 7:18pm 
Here you go. Upon further testing I've discovered that it only happens when I have nothing in my hands

[string "../mods/workshop-2869352168/modmain.lua"]:19: attempt to index local 'handItem' (a nil value) LUA ERROR stack traceback:
../mods/workshop-2869352168/modmain.lua:19 in (method) GetActionButton Action (Lua) <15-26> scripts/components/playercontroller.lua:1793 in (method) DoActionButton (Lua) <1788-1829> scripts/components/playercontroller.lua:521 in (upvalue) PlayerControllerOnControl (Lua) <497-578> ../mods/workshop-2480826828/modmain.lua:52 in (upvalue) playercontroller_OnControl (Lua) <44-53> ../mods/workshop-2836299735/modmain.lua:206 in (upvalue) PlayerControllerOnControl (Lua) <189-208> ../mods/workshop-2325441848/modmain.lua:176 in (upvalue) original OnControl (Lua) <158-184> ../mods/workshop-2302837868/modmain.lua:256 in ()? (Lua) <255-262>
=(tail call): -1 in () (tail) <-1--1>
󰀐 ZoomZoomBang 󰀐  [author] 23 Aug, 2023 @ 7:09pm 
Could you post the crash msg? or a screenshot
Raishou 23 Aug, 2023 @ 7:08pm 
It's now crashing my game when I try to pick up an item from the floor
󰀐 ZoomZoomBang 󰀐  [author] 22 Nov, 2022 @ 7:03pm 
I updated it to work with Maxwell's spells. There seems to be a different mod that is blocking cancelling spells (it does not happen when I disable all but this mod). I'm looking into which one it is that's bugged
󰀐 ZoomZoomBang 󰀐  [author] 22 Nov, 2022 @ 5:08pm 
I'll take a look when I get home
Lord of Pain Valak 22 Nov, 2022 @ 2:42pm 
Please update this mod for the Maxwell rework. it prevented you from using the codex umbra at all.