Jump to content

Recommended Posts

So, yes I admit. I've mislead you, this isn't a mod but a mod request. I got a good reason to say that auto-equip is a fairly awesome mod that makes Don't Starve much more comfortable. Here we go. Please make this mod compatible with Shipwrecked. I did peek into the files but I'm far too clumsy to make it work. I even crashed DS-SW a few times with my string manipulation.

 

 

Welp!

Link to comment
https://forums.kleientertainment.com/forums/topic/62778-mod-auto-equip/
Share on other sites

4 hours ago, Mobbstar said:

Did you try adding "shipwrecked_compatible = true" to modinfo.lua? :p

Well, you see, no.

569d6209d73a5_obamacantsay.png.a27dfc16e

But I've seen as much to know that wouldn't solve the Shipwrecked problems since there is a list of objects within the code that determine when and what tool should the character use automatically.

local function FindWorkableEntity(inst, action, radius)
	return FindEntity(inst, radius, function(entitiy) 
			return (action ~= ACTIONS.NET or (entitiy.components.health and not entitiy.components.health:IsDead()))
				and (action ~= ACTIONS.DIG or (entitiy.prefab ~= "berrybush" and entitiy.prefab ~= "berrybush2" and entitiy.prefab ~= "grass" and entitiy.prefab ~= "rabbithole" and entitiy.prefab ~= "sapling"))
				and entitiy.components.workable
				and	entitiy.components.workable.action == action

I got no idea what am I supposed to do with the code. I ain't no coder. 

Edited by greenglacier

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...