A few random things that need help

Started by Quasarrgames, June 20, 2014, 04:33:09 PM

Previous topic - Next topic

Quasarrgames

Hello. I've been posting a lot here, and im sorry, but this community is the absolute best to get mod help from. :)

Just a few things I need clearing up:
how to change the damage a bomb does?
how do nutrient dispensers work? i copied i and mad a french fry dispenser, but people won't use it
  <ThingDef ParentName="BuildingBase">
    <defName>FrenchFryDispenser</defName>
    <eType>BuildingComplex</eType>
    <label>French Fry Dispenser</label>
    <thingClass> Building_NutrientPasteDispenser</thingClass>
    <texturePath>Things/Building/Production/NutrientDispenser</texturePath>
    <altitudeLayer>BuildingTall</altitudeLayer>
    <passability>Impassable</passability>
    <castEdgeShadows>true</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <maxHealth>350</maxHealth>
    <flammability>1.0</flammability>
    <description>Synthesizes French Fries from organic feedstocks.</description>
    <building>
      <wantsHopperAdjacent>true</wantsHopperAdjacent>
      <foodCostPerDispense>10</foodCostPerDispense>
      <soundDispense>DispensePaste</soundDispense>
    </building>
    <comps>
      <li>
        <compClass>CompPowerTrader</compClass>
        <startElectricalFires>true</startElectricalFires>
        <basePowerConsumption>200</basePowerConsumption>
      </li>
    </comps>
    <size>(3,4)</size>
    <workToBuild>600</workToBuild>
    <costList>
      <li>
        <thingDef>Metal</thingDef>
        <count>90</count>
      </li>
    </costList>
    <overdraw>true</overdraw>
    <interactionSquareOffset>(0,0,3)</interactionSquareOffset>
    <hasInteractionSquare>true</hasInteractionSquare>
    <killedLeavings>
      <li>
        <thingDef>DebrisSlag</thingDef>
        <count>6</count>
      </li>
    </killedLeavings>
    <filthLeavings>
      <li>
        <thingDef>SlagRubble</thingDef>
        <count>3</count>
      </li>
    </filthLeavings>
    <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
    <surfaceNeeded>Heavy</surfaceNeeded>
    <designationCategory>Production</designationCategory>
    <staticSunShadowHeight>0.75</staticSunShadowHeight>
  </ThingDef>


that is all for now. If anyone can help, it would be VERY MUCH appreciated. :DDDDDDDD
(as you can tell i am a complete amateur at modding)
On the right path, but the wrong medication.

I like how there's a thing that displays how long you've logged in to the forums. It shows just how many hours you've spent here, never to get back...

minami26

the bomb damage is hardcoded. can't change it yet.

Nutrient dispensers needs its own toils and workgiver files. I was trying to make something like another food dispenser too, but yeah, colonists don't use them. We don't have the source for the toils yet soo, yeah, I don't know how it works too... just sharing my thoughts on this. :)