Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Vanilla Nutrient Paste Expanded #709

Open
Sn1p3rr3c0n opened this issue May 22, 2023 · 0 comments
Open

Add support for Vanilla Nutrient Paste Expanded #709

Sn1p3rr3c0n opened this issue May 22, 2023 · 0 comments

Comments

@Sn1p3rr3c0n
Copy link
Collaborator

the Grinder included in Vanilla Nutrient Paste Expanded supposedly accepts input form Hoppers.
That is not entirely correct, instead of using the Vanilla system of <isHopper>true</isHopper> they implemented their own thing VNPE.CompProperties_RegisterToGrinder
That needs to be added to each building that has <isHopper>true</isHopper> in order to support said mod.

for reference patch use by VNPE

  <Operation Class="PatchOperationConditional">
    <xpath>/Defs/ThingDef[defName="Hopper"]/comps</xpath>
    <nomatch Class="PatchOperationAdd">
      <xpath>/Defs/ThingDef[defName="Hopper"]</xpath>
      <value>
        <comps>
          <li Class="VNPE.CompProperties_RegisterToGrinder" />
        </comps>
      </value>
    </nomatch>
    <match Class="PatchOperationAdd">
      <xpath>/Defs/ThingDef[defName="Hopper"]/comps</xpath>
      <value>
        <li Class="VNPE.CompProperties_RegisterToGrinder" />
      </value>
    </match>
  </Operation>

to be implemented as a patch or mayrequire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant