Don't Starve Together

Don't Starve Together

41 ratings
Don't attack beefalo follower
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.865 KB
25 Aug, 2023 @ 3:13pm
11 Oct, 2024 @ 1:09am
2 Change Notes ( view )

Subscribe to download
Don't attack beefalo follower

Description
Remove option to attack a bonded beefalo, useful for when beefalo shakes their saddle, no more accidentally attacking your beefalo!

Code: here[github.com]
20 Comments
Axiomatized 21 Mar @ 4:43pm 
Could you please make it so that bramble husks thorns don't hurt the beefalo either?
TheSquishyProgrammer 20 Mar @ 10:41pm 
is it possible tp make this mod function with controllers? I'm playing on a steam deck so i cant use mouse and keyboard and ive lost count of how many times ive accidentally pressed x to attack something near my beefalo and i attack it instead!
l 29 Nov, 2024 @ 2:53am 
I hope to add a configuration: Do not attack your tamed cows under any circumstances. Because when I just used ctrl+left mouse button to force attack the wall, the cow ran over and I pointed the mouse at it by mistake. In fact, for tamed cows, I believe that you will not attack them under any circumstances. It is necessary to add this configuration. Thank you in advance.:steamhappy:
[TSC] FearPower 11 Oct, 2024 @ 11:20am 
Thank you so much for taking the time to make a fix. I will test it out later today.
MihmetCrido  [author] 11 Oct, 2024 @ 1:09am 
@[TSC] FearPower
I've updaded a fix, hopefully it works for you now
MihmetCrido  [author] 11 Oct, 2024 @ 1:01am 
@Weaselheart
It's working, anything specific that you are having issues with?
Smeagolheart 8 Oct, 2024 @ 9:38pm 
any chance of fixing this one?
[TSC] FearPower 14 Sep, 2024 @ 6:03am 
There is a mod I use that conflicts with this mod. Game will crash randomly when I try to attack anything, I use the other mod to play the dst due to my disability in my hands.The other mod creator said it is the don't attack beefalo followers area to tweak the fix.

Here is the Error code it gives me:
---

[string "../mods/workshop-3025695264/modmain.lua"]:20 attempt to index field 'follower' (a nil value) LUA ERROR stack Traceback:

../mods/workshop-3025695264/modmain.lua:20 in (method) IsAlly (Lua) <4-41>
../mods/workshop-3014188454/modmain.lua:603 in (method) GetAttackTargets (Lua) <596-612>
../mods/workshop-3014188454modmain.lua:855 in (upvalue) fn (Lua) <852-1086>
../mods/workshop-3014188454modmain.lua:328 in (field) fn (Lua) <326-330
scripts/events.lua:46 in (method) HandleEvent (Lua) <42-49>
scripts/input.lua:185 in (method) OnRawKey (Lua) <184-191>
scripts/input.lua:446 in () ? (Lua) <445-447>
MihmetCrido  [author] 3 Sep, 2024 @ 7:18am 
@󰀁Butch󰀁 You can find the picture in the github repo
󰀁Red󰀁 31 Aug, 2024 @ 8:15am 
@MihmetCrido where can I find the source of this beautiful picture?