Jump to content

How change the scipr of existing DS thing?


Recommended Posts

In order to overwrite an existing recipe, all you have to do is call Recipe() with the first parameter being the name of the prefab whose recipe you want to change. It's the same as when you add a new recipe. It just overwrites the original recipe.

You seem to be asking two very different questions here.

Changing what loot drops from certain mobs/entities is a subjective matter, as the lootdropper-component can be set up in various ways. Some have random drops, some have weighted drops, some have static drops, some have state-based drops etc.. Look at the lootdropper-component. Read the code there. Go to the prefab you want to change, and see how it sets up its lootdropper-component. Return with questions :) Search for lootdropper on the modding forums (see my newcomer post for tips on how to search this forum properly)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...