Drakkar77 Posted March 30, 2022 Share Posted March 30, 2022 (edited) Corpses seem to be special, like generators, and CanBeDoneFromFloor doesn't have any affect on them. Edited March 30, 2022 by Drakkar77 Link to comment Share on other sites More sharing options...
Pandorea Posted March 30, 2022 Share Posted March 30, 2022 What is it you want to do with the corpse? Link to comment Share on other sites More sharing options...
Drakkar77 Posted March 31, 2022 Author Share Posted March 31, 2022 22 hours ago, Pandorea said: What is it you want to do with the corpse? Hydrocraft has recipes that uses corpses. The recipe in question skins the corpse so that you can butcher it and then harvest the bones. But the "from the ground" part of the recipe doesn't work. It only recognizes the corpse once you've picked it up. If it's on the ground it ignores the corpse whether you've dropped it there or not. Link to comment Share on other sites More sharing options...
Xyberviri Posted April 6, 2022 Share Posted April 6, 2022 (edited) garbage bags have the same capacity as the weight of a corpse and once you put a corpse in it you can use the from ground recipe. Just use that item or copy the item and call it a body bag, then return that item as the result of the craft, then in the OnCreate section of the recipe call a function to give you the item you want via lua. the advantage here is you can give back the container item each time then using lua you can check the players skills and give them a variable amount of other stuff You will also need to add some code for OnTest to make sure that the bodybag/garbage back is empty or at the very least empty the items out of the back in the OnCreate code. since you are looping though the items anyway in that recipe. at least thats my work around there is better ways to do it Edited April 6, 2022 by Xyberviri Link to comment Share on other sites More sharing options...
Drakkar77 Posted April 23, 2022 Author Share Posted April 23, 2022 @Xyberviri Thank you for the reply. Having to pick up the corpse in the first place is the thing that's the issue. Once it's picked up, then the time used to pick it up is wasted. The point is to avoid that and to do a recipe with the corpse that's on the ground. It's world item so most likely this is a limitation that would be hard to overcome. Link to comment Share on other sites More sharing options...
DrHyde Posted August 7, 2022 Share Posted August 7, 2022 I don't know if you're still looking for a solution, but Cannibalism Core allows players to butcher the bodies directly on the ground and get the meat in the inventory. Maybe you can find a way looking at their code Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now