Don't Starve

Don't Starve

134 ratings
Handymanness
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
15.530 KB
20 May, 2015 @ 1:04pm
13 May, 2020 @ 1:16am
11 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.

[13.05.2020] - Minor and possibly final update. See change notes.

[30.06.2016] - Major rewrite! Change in behaviour (for users of the older version) are marked with "NEW" in the instructions below. Feedback regarding bugs and polishing the AVAILABLE features is most welcome.

WANT THIS PORTED TO DST?
Leave a (preferably polite and friendly) message saying so. I will allocate time to do this in the coming months (i.e. later this year), if there are enough people out there who (1) are interested in it and (2) make me feel it's worth the trouble.
NOW AVAILABLE FOR DST (limited functionality).

DESCRIPTION:

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

INSTRUCTIONS:

1) The ACTION button (spacebar)

NEW: Hammer and machete are now handled by the mod!

Before any action at all is taken, a light source will be (crafted if needed and) equipped if you are in total darkness. YOU MUST PRESS THE ACTION BUTTON FOR THIS TO HAPPEN.

NEW: targets for the action button are filtered. If you want to disable the filter, hold down the CTRL key (default) to "force". As before, the ALT key "inhibits" most of the mod's functionalities. You can swap them in the configuration.

The filtering criteria are as follow:

- AXE: Only "mature" trees are valid targets.
- PICKAXE: Limpet Rocks are not valid targets.
- SHOVEL: Anything that grows (grass, twigs, mushrooms), sandy piles, and rabbit/crab holes are not valid targets.
- MACHETE: nothing to filter.
- HAMMER: Only flotsam, crates and bones are valid targets.

If no actions are available for the ACTION button (i.e. pressing spacebar doesn't cause your character to do anything), then the mod will look for the nearest valid target for a tool you have in your inventory or can craft. If a target is found, it will equip/craft that tool.

For vanilla DS players: due to limitations in the vanilla code, this filtering feature cannot be (reasonably) added. You will notice part of the functionality described above works (e.g. equipping or crafting) and part does not (e.g. trees will be chopped regardless of being fully grown).

2) NEW - HOTKEYS

Keyboard keys YUIOP correspond to Machete, Axe, Pickaxe, Shovel and Hammer. Pressing any of them is like pressing the action button, but only the specific tool is taken into consideration. All other behaviour (normal/standard or by this mod) is suppressed. Targets are still filtered, so the CTRL key still applies.

3) The ATTACK button

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 armour (body or head), and there is any such item available in the inventory, it will be automatically equipped as well.

BEWARE OF FIRE: Auto-equipping armour can be dangerous: you probably know what happens if you jettison your backpack near a fire...

4) Configuration options

NEW: There is no longer a prioritisation of tools. The nearest valid target determines what the mod does.

Much of this automation has influence on game balance, and altering that is up to each user's taste. You can choose:
- For each tool, whether it is auto-craft, auto-equip or just the regular behaviour. (Default is Auto-craft)
- Whether to avoid crafting tools which are available for pickup in the vicinity - but outside of the action button's radius. (Default is ON)
- Whether golden tools are crafted or not and, if so, whether they have priority over regular ones. (Default is basic tools only)
- Whether the CTRL/ALT corresponds to "force"/"inhibit" or the other way around.
- Whether weapons/armour/helmets are auto-equipped.
- Whether to equip weapons that set stuff on fire.
- 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.
ANOTHER DISCLAIMER: There seem to be several mods out there doing similar stuff. I didn't bother to look them up. I didn't bother checking whether they copied any of my code. I never installed any of them. This mod has been around for longer than most.
129 Comments
hime  [author] 6 May, 2020 @ 10:09am 
@Laudi and everyone using my mods: A few weeks ago, I took a look at my mods - and DS's modding API. There are way too many changes at the latter since I last worked with it (some... years ago?). As I hardly play the game anymore, my motivation is not that high - BUT... I'll use your comment as proverbial kick to get some updating done in this time of covid19 - my most insignificant contribution to the hardships of the moment...
Laudi 6 May, 2020 @ 7:17am 
Sadly, the bug with the space bar still occurs :/ I would love to use the mod, hope you find the time to update it :D
Proximity_Microwave 1 Jan, 2019 @ 7:02pm 
I can confirm the bug still occures with no other mods running. Here is a screenshot of the error it gives. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1611415488 Sorry. I forgot last time that I could share a screenshot through Steam.
hime  [author] 31 Dec, 2018 @ 3:11pm 
@Proximity_Microwave: happy new year... please test for conflicts - run with this mod and none other.
Proximity_Microwave 31 Dec, 2018 @ 6:31am 
The mod seems to crash when playing with base Don't Starve. It crashes the game and gives an error, it's too long for me to post in here, but is easily reproducable, simply use space bar to pick up a few items.
hime  [author] 7 Dec, 2018 @ 8:59am 
@dsinglaterry: Could never tell from your handle! :D But never mind, apology accepted.
dsinglaterry 6 Dec, 2018 @ 4:35pm 
Sorry @hime, English is not my first language.
hime  [author] 1 Dec, 2018 @ 6:22am 
@dsinglaterry: should I? You could have phrased that more nicely. I'll look into it when I have the time.
dsinglaterry 30 Nov, 2018 @ 4:48pm 
You should add support for the Scythe mod
hime  [author] 11 Nov, 2018 @ 10:24am 
@harl whatever: it picks up the logs and pinecones alright. As long as you have an axe equipped and there is a tree in range, it will keep on chopping. That is the default behaviour in the game. In general - and this is one of the cases - the mod only kicks in after the default actions are exhausted.