Don't Starve Together

Don't Starve Together

39 ratings
Handymanness
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
14.459 KB
9 Aug, 2015 @ 3:56am
10 Oct, 2015 @ 1:49pm
3 Change Notes ( view )

Subscribe to download
Handymanness

Description
Takes your action and attack buttons to a whole new level: equipping and crafting are actions too, right?


=== IMPORTANT: ===
Read the whole text before asking any questions.
If you do post, be polite and concise.
This mod was originally written for the vanilla version. This port has been tested to some extent before going public. Bug reports are most welcome.
Great thanks to Rusty | Skypaladin for testing and giving some good feedback and interesting ideas.

ISSUES:
The mod works for the player who hosts the server, locally. To make it work all around, I would have to make it a server based mod, and it would involve a lot of programming to make up for Klei's kludgy code. Unfortunately, I don't have the time to do that. If you think you can and want to invest your time in this, let me know, I'll explain you the issues.
If Klei improves their network interfaces and respective API, then yes, I'll be happy to do it myself. :)

DESCRIPTION:

No screenshots because there is no point to it. The mod has no visual cues, just as the action and attack buttons.

If no actions are available for the ACTION button (i.e. pressing spacebar doesn't cause your character to do anything), then this mod will:

1) Check which tools (for digging, mining or chopping) you have in your inventory.
2) Of those NOT found, which ones you can craft.
3) Look for possible interactions for the unequipped/not yet crafted tool(s).
4) Equip a tool, if a target for an existing tool is found.
5) Otherwise, craft a tool, if a target for that tool is found.


if you press the ATTACK button and are not equipped with a weapon (bare handed or equipped with a tool), AND there is a weapon in your inventory, then the weapon dealing the most damage will be equipped; if you are not wearing armor (body or head), and there is any such item available in the inventory, it will be automatically equipped as well. BEWARE OF FIRE: you probably know what happens if you jettison your backpack near a fire...

What about darkness? What if equipping something puts away my torch/miner's hat?

The mod figures out when it is dark and prevents this from happening. It also equips light sources automatically.

The mod is configurable. Much of this automation has influence on game balance, and altering that is up to each user's taste. You can choose:
1) For each tool, whether it is auto-craft, auto-equip or just the regular behaviour.
2) Whether to avoid crafting tools which are available for pickup in the vicinity - but outside of the action button's radius.
3) Whether golden tools are crafted or not and, if so, whether they have priority over regular ones.
4) Whether the mod is active by default and inhibited with ALT (i.e. ALT + Space to NOT use the mod), or the other way around (i.e. the mod only kicks in if you press the spacebar while holding down ALT). You can also choose to use the CTRL key instead of ALT.
5) What to prioritize (chopping/mining/digging).
6) Whether weapons/armor/helmets are auto-equipped.
7) Whether to equip light sources.

Disclaimer (previously removed because it is obvious from the description above): There is some other mod in the workshop called Auto-Equip, which hasn't been maintained. I never downloaded it, because 1) it was defunct and 2) it didn't do what I wanted anyway.
47 Comments
Scofield 22 Nov, 2019 @ 11:52am 
games crashes everytime i try to enter server with this mod.
SurDno 29 Oct, 2019 @ 2:23pm 
[00:03:38]: [string "../mods/workshop-496747385/modmain.lua"]:8: variable 'c_give' is not declared

Yikes. Any intention on fix this?
Hider 17 Oct, 2019 @ 6:50am 
vismutp я согласен хотел поиграть а оно вылетело :DSTsmallbird:
hime  [author] 20 Apr, 2019 @ 12:57pm 
@vismutp: Мод работает. Играю сам с этим. Пожалуйста, поделитесь информацией о вашей конфигурации, если вы хотите сообщить о проблеме. И напиши на английском в следующий раз.
vismutp 20 Apr, 2019 @ 10:40am 
Мод не работает. Игра вылетает переодически.
hime  [author] 1 Apr, 2016 @ 11:42am 
@Kain Morgen: My promise to look into it still holds. But as I told you before, it will take a while. And thanks for pointing me to the mod that works on clients. I might learn how to get my mods working as well...
Kain Morgen 31 Mar, 2016 @ 10:17am 
This is as good as it gets:

Fixed the nil errors I found related to combat.
Will not auto-equip ranged weapons with F.
Will not auto-replace ranged weapons with F.

Added a configurable button (H by default, can't be set to F) to instantly equip a weapon which will be chosen on a priority list that can be found within modmain.lua.
This list can be text-edited as you wish. By default it equips Battlespear > Goldenspear (if you have that mod) > Spear only.
Instructions included.

Mod works host-only and is disabled on guests clients.
Tested on DST v170618. Might be working on DS RoG as well.
If you want to use this with SW, just add the compatibility flag yourself.
Machete actions are not handled in this code, though.

I won't add more featutes or SW compatibility, as I'll now see what might be improved on Auto-Actions by Jespercal, which is similar to Handymanness, but works on guests clients as well.


drive.google.com/open?id=0B5VdLchci4O4WHdaNEVNTVdDbE0
Kain Morgen 20 Mar, 2016 @ 4:26pm 
Hello Hime,
I fixed some nil errors that happened on several occasions when using the attack button and also added rules that prevent replacing ranged weapons and equipping stronger ranged weapons, because I did not like wasting darts on weak enemies.

I also tried to add a key to instantly equip a spear type weapon, but I can't get that feature to work yet.

If you are interested in seing my improvements and you might consider helping me with the instant-spear-equip-button, please add me to your friendslist and send me a message.
xDizzyBx 21 Nov, 2015 @ 11:37am 
Thanks for the answer, and I appreciate the work and I understand. I did not delete it though, just deactivate it while playing with controller. I tried it out with keyboard and mouse and is amazing. I just hope some modder can upate that for you someday.
hime  [author] 21 Nov, 2015 @ 6:39am 
@Azahziel: Thanks for trying it out, and I'm sorry I'm not working on this anymore. You are not the first to ask for controller support, but it is a lot of work and I haven't the time or drive to do it myself, not at the moment. If you or anyone would like to work it (and share credit, of course), I'll be happy to help.