Jump to content

Recommended Posts

Trying to add a way for Webber to make his own rope. In the Webbers file right under the code for making the spidereggsack I have ...

local nest_recipe = Recipe("rope", {Ingredient("silk", 2)}, RECIPETABS.REFINE, TECH.NONE)

 

Now it adds in the power to make rope from two spider silks just fine, but removes the old way of making rope. I want both ways to be open for Webber. Going to do the same for traps but with custom art I hope later. But this seemed like the most simple place to start.

 

I am very noobish to modding and thank you for looking at this post!

Link to comment
https://forums.kleientertainment.com/forums/topic/39075-two-recipes-for-one-item/
Share on other sites

There is another topic regarding this issue: LINK the (apparently gay) hero

 

It is not possible to have two recipes for one thing at the moment, and quite likely it will stay this way.

 

EDIT: You could work-around by having the player create a dummy prefab which looks like rope, but gets replaced by rope as soon as it exists.

 

I like my dummies

Edited by Mobbstar

That's a smart way of doing it. Would you happen to have an example? Like I said I.m pretty noob to modding Don't starve and I am finding adding new buildings and editing kinda hard. If not its ok you have given me the idea and ill work with it till I make heads or tails out of it! : 3

Thanks again!

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...