[A16-B18] BaconBits' Mods ~ Updated to B18 ~11/30/17

Started by BaconBits, September 03, 2016, 07:26:57 PM

Previous topic - Next topic

kaptain_kavern

#75
I'm currently updating those to A17 at the moment. As BaconBits said he will be gone for a while I will upload them here. Unless or until he ask otherwise  ;D

I think it will be done in a couple of hours

Already done :

[attachment deleted by admin due to age]

kaptain_kavern

Just finished Fireplace mod. See previous post attachments

Dr_Zhivago



DenVildeHest

What of the pack and alpha muffalo mods? Do they still work? They have some xml files that might be outdated

Sefiriot

Quote from: kaptain_kavern on May 19, 2017, 02:39:44 PM
I'm currently updating those to A17 at the moment. As BaconBits said he will be gone for a while I will upload them here. Unless or until he ask otherwise  ;D

I think it will be done in a couple of hours

Already done :

Ah, would you kindly please update the Vegetable Garden version of Animal Feed Troughs as well? I tried patching it myself but couldn't get it working, odd. Thanks!

kaptain_kavern

I can't do it right now, not on the right computer.

But (If Silage is still in VG and haven't be renamed), it's "just" a matter of adding a tiny line.

Search for this piece of code, in the end of the xml file

                    <building>
<fixedStorageSettings>
<priority>Important</priority>
<filter>
<thingDefs>
<li>Hay</li>
<li>Kibble</li>
</thingDefs>
<disallowedSpecialFilters>
<li>AllowRotten</li>
</disallowedSpecialFilters>
</filter>
</fixedStorageSettings>
</building>


and add this line (in red) :


<building>
         <fixedStorageSettings>
            <priority>Important</priority>
            <filter>
               <thingDefs>
                  <li>Hay</li>
                  <li>Kibble</li>
                  <li>Silage</li>
               </thingDefs>
               <disallowedSpecialFilters>
                  <li>AllowRotten</li>
               </disallowedSpecialFilters>
            </filter>
         </fixedStorageSettings>
      </building>

I will check back later to see if you managed

Sefiriot

Quote from: kaptain_kavern on June 12, 2017, 07:44:45 AM
I can't do it right now, not on the right computer.

But (If Silage is still in VG and haven't be renamed), it's "just" a matter of adding a tiny line.

Search for this piece of code, in the end of the xml file

                    <building>
<fixedStorageSettings>
<priority>Important</priority>
<filter>
<thingDefs>
<li>Hay</li>
<li>Kibble</li>
</thingDefs>
<disallowedSpecialFilters>
<li>AllowRotten</li>
</disallowedSpecialFilters>
</filter>
</fixedStorageSettings>
</building>


and add this line (in red) :


<building>
         <fixedStorageSettings>
            <priority>Important</priority>
            <filter>
               <thingDefs>
                  <li>Hay</li>
                  <li>Kibble</li>
                  <li>Silage</li>
               </thingDefs>
               <disallowedSpecialFilters>
                  <li>AllowRotten</li>
               </disallowedSpecialFilters>
            </filter>
         </fixedStorageSettings>
      </building>

I will check back later to see if you managed

Actually, that was the first thing I tried, without success. It's why I pinged you here asking for help. After asking around in the Discord, spdskatr helped me solve the problem with an xpath patch as below. I'm not sure exactly why that one line change you suggested won't work any more, but at least now it seems to be working without any obvious issues.

<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName="AnimalFeedTrough"]/building/fixedStorageSettings/filter/thingDefs</xpath>
<value>
  <li>Silage</li>
</value>

</Operation>
</Patch>

timeandtherani


dismar

Quote from: Sefiriot on June 12, 2017, 01:21:49 PM
Quote from: kaptain_kavern on June 12, 2017, 07:44:45 AM
I can't do it right now, not on the right computer.

But (If Silage is still in VG and haven't be renamed), it's "just" a matter of adding a tiny line.

Search for this piece of code, in the end of the xml file

                    <building>
<fixedStorageSettings>
<priority>Important</priority>
<filter>
<thingDefs>
<li>Hay</li>
<li>Kibble</li>
</thingDefs>
<disallowedSpecialFilters>
<li>AllowRotten</li>
</disallowedSpecialFilters>
</filter>
</fixedStorageSettings>
</building>


and add this line (in red) :


<building>
         <fixedStorageSettings>
            <priority>Important</priority>
            <filter>
               <thingDefs>
                  <li>Hay</li>
                  <li>Kibble</li>
                  <li>Silage</li>
               </thingDefs>
               <disallowedSpecialFilters>
                  <li>AllowRotten</li>
               </disallowedSpecialFilters>
            </filter>
         </fixedStorageSettings>
      </building>

I will check back later to see if you managed

Actually, that was the first thing I tried, without success. It's why I pinged you here asking for help. After asking around in the Discord, spdskatr helped me solve the problem with an xpath patch as below. I'm not sure exactly why that one line change you suggested won't work any more, but at least now it seems to be working without any obvious issues.

<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName="AnimalFeedTrough"]/building/fixedStorageSettings/filter/thingDefs</xpath>
<value>
  <li>Silage</li>
</value>

</Operation>
</Patch>


I've added a built in patch that looks for this mod then adds Silage automatically. It will be in the next version I post...

BaconBits

Hey everyone , I have internet once again so now I will begin updating to A17. A big thank you to everyone who helped out with mod issues and everything else. Please be patient with me as update, thank you .

AngleWyrm


Welcome back
been missing the feed trough
My 5-point rating system: Yay, Kay, Meh, Erm, Bleh

kaptain_kavern


BaconBits

Some A17 Updates are available now. A huge shout out to KapTaiN_KaVerN for the updates posted on page 6 while I was absent.

BaconBits

Fireplace Mod updated to V1.9 A17 (see the OP for new update)
Cooking removed  for  now  due  mod breakage , sorry for  the  inconvenience.