Jump to content

Recommended Posts

I can't speak english i use google for translate.

 

I install mod craft Beefalo, Volt Goat, Hollow Stump and other

when i kill or destroy with hammer it will drop original item and ingredients used to craft also

e.g. Pig normal will drop Meat or Pig Skin when i use mod to craft pig (Ingredients used Nightmare Fuel 20, Meat 30, Gear 10)

kill Pig will drop original item and half of ingredients (Meat 1, Nightmare Fuel 10, Meat 15, Gear 5) including all pig in world

I need help to fix for not drop ingredients used to craft but still drop original item

Thank

Link to comment
https://forums.kleientertainment.com/forums/topic/66271-need-help-pls/
Share on other sites

@Prinzcolle What you need to do is make the crafting recipe for a separate prefab, for example "pig_placer". Then, you write a pig_placer prefab that immediately spawns a pig and removes itself.

They had the same problem with the butterfly recipe mod and I believe they ended up using this strategy, but you could look at how they did it.

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