Jump to content

A little bacon problem...


Sparrow

Recommended Posts

So I was starting off today trying to figure why, when I slaughter pigs, I don't get bacon. I looked through the Hydrocraft lua and everything seems to be ok on that end, but when I look at the base game files I see that under the Distributions.lua bacon is called "farming.Bacon". Is this what is messing it up?

 

Could someone better at lua help me figure this out please? =)

Link to comment
Share on other sites

Farming refers to the lua that references bacon I believe.... like when you do spawnitem "Base.Gun" and with hydrocraft spawning being hydrocraft.itemname. So when you look inside HC, your location for the farming things are located in mods\Hydrocraft\media\lua\server\Farming. 

 

Now.... as far as bacon goes or even the coded action of butchering.... 

 

recipe Butcher Carcass
    {
            SkillRequired:Cooking=2,
        HCBoarmeat,
        keep HCMeatcleaver,
        Result:HCBoarbones,
            Sound:PZ_FoodSwoosh,
        Time:200.0,
                NeedToBeLearn:true,
            Category:Survivalist,
            OnCreate:recipe_hcboarbutcher,
    }

 

This is the only reference I have found regarding it and it does not mention the giving of bacon.  I cant seem to find any reference to OnCreate:recipe_hcboarbutcher, though so maybe spawning bacon is in that somewhere. 

Link to comment
Share on other sites

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