Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Petrenko

#1
Help / What did i do wrong?
August 20, 2017, 02:34:50 PM
Heyho,

i'm trying to add an crafing table. An Alter. It has one recipe. Sacrifice Human Meat. And it gives a few items. SoulOre;BloodOre;BoneFragments.

So far i am able to build the altar. I'm also able to set it to the recipe i want. But no pawn is crafting at it.

Here is the code:

1. The Recipe

<RecipeDef>
    <defName>POW_SacrificeMeat</defName>
    <label>Sacrifice Human Meat</label>
    <description>Sacrifice the Meat of a Human..</description>
    <jobString>Sacrificing.</jobString>
    <workSpeedStat>SmithingSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_Machining</soundWorking>
    <workAmount>500</workAmount>
    <ingredients>
      <li>
        <filter>
          <thingDefs>
            <li>Human_Meat</li>
          </thingDefs>
        </filter>
        <count>10</count>
      </li>
    </ingredients>
    <fixedIngredientFilter>
      <thingDefs>
        <li>Human_Meat</li>
      </thingDefs>
    </fixedIngredientFilter>
    <products>
<POW_BloodOre>1</POW_BloodOre>
<POW_SoulOre>1</POW_SoulOre>
<POW_BoneFragments>3</POW_BoneFragments>
    </products>
<skillRequirements>
<li>
<skill>Cooking</skill>
<minLevel>4</minLevel>
</li>
</skillRequirements>
    <workSkill>Crafting</workSkill>
  </RecipeDef>


2. The CraftingTable

<ThingDef ParentName="BuildingBase">
<DefName>POW_Altar</DefName>
<label>Sacrificing Pit</label>
<ThingClass>Building_WorkTable</ThingClass>
<Description>Sacrifice to the gods. Requires fuel to "cook".</Description>
<graphicData>
<texPath>Cupro/Object/Station/MagicTable/MagicTable</texPath>
<shaderType>CutoutComplex</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
</graphicData>
<stuffCategories>
<li>Metallic</li>
<li>Stony</li>
</stuffCategories>
<costStuffCount>50</costStuffCount>
<minifiedDef>MinifiedFurniture</minifiedDef>
<altitudeLayer>Building</altitudeLayer>
<fillPercent>0.01</fillPercent>
<useHitPoints>True</useHitPoints>
<statBases>
<WorkToBuild>1200</WorkToBuild>
<MaxHitPoints>120</MaxHitPoints>
<Beauty>10</Beauty>
<Flammability>0</Flammability>
<Mass>12</Mass>
</statBases>
<Size>(3,3)</Size>
<DesignationCategory>Production</DesignationCategory>
<Passability>PassThroughOnly</Passability>
<canOverlapZones>false</canOverlapZones>
<pathCost>60</pathCost>
<hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0,0,1)</interactionCellOffset>
<surfaceType>Item</surfaceType>
<recipes>
<li>POW_SacrificeMeat</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
</inspectorTabs>
<tickerType>Normal</tickerType>
<comps>
<li>
<compClass>CompQuality</compClass>
</li>
<li Class="CompProperties_Refuelable">
<fuelConsumptionRate>80.0</fuelConsumptionRate>
<fuelCapacity>25.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>POW_Charcoal</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
</li>
<li Class="Powerless.CompProperties_Smoker">
<smokeStyle>Single</smokeStyle>
<frequencyMin>240</frequencyMin>
<frequencyMax>640</frequencyMax>
<produceSmokeOnlyWhenUsed>true</produceSmokeOnlyWhenUsed>
<size>0.45</size>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_ShowFacilitiesConnections</li>
</placeWorkers>
<building>
<heatPerTickWhileWorking>0.35</heatPerTickWhileWorking>
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
</building>
</ThingDef>


3. One of the Ressources

<ThingDef ParentName="ResourceBase">
<defName>POW_BloodOre</defName>
<label>Blood Ore</label>
<description>Made by sacrificing human meat. It glows red. Ingredient for Magics</description>
<graphicData>
<texPath>Cupro/Item/Material/Magic/bloodore</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Metal_Drop</soundInteract>
<soundDrop>Metal_Drop</soundDrop>
<useHitPoints>false</useHitPoints>
<statBases>
<Beauty>2</Beauty>
<MarketValue>10</MarketValue>
<Mass>0.8</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<Comps>
<li Class="CompProperties_Glower">
<glowRadius>3</glowRadius>
<glowColor>(205,85,50,0)</glowColor>
</li>
</Comps>
<tradeability>Sellable</tradeability>
<tradeTags>
<li>Exotic</li>
</tradeTags>
</ThingDef>


Thanks in advance for any advice =)



#2
Help / I need an object to emit negative heat.
August 17, 2017, 02:33:19 PM
Heyho,

i tried to work with coolers and heaters to make a furniture object to emit negative heat, without it needing power or fuel.
Basically like the crashed alienship part.

So far all my tries crashed.

Is there a mod already doing this or could someone point me to a tutorial etc? I searched for quite a while but wasn't able to find anything. I even tried different freezer/heater mods.

Thanks in advance for any help =)

#3
Heyho,

is it possible to let a colonist force certain clothing to a prisoner?

I'd like to add certain clothing like straitjackets and shakles.

Also i'd like to force feed prisoners. My idea would be that a prisoner wearing a straitjacket can't feed himself so i have to assign a warden to feed him.

Thanks in advance for any help you could provide :D
#4
Help / Turn Off Skill Degradation
January 23, 2015, 10:26:12 AM
Heyho,

i got a simple question:

How do i turn off skill degradation?

Thanks in advance for any help!