-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
955 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<ModMetaData> | ||
<name>Mending</name> | ||
<author>notfood</author> | ||
<url>https://ludeon.com/forums/index.php?topic=22894.0</url> | ||
<targetVersion>0.14.1220</targetVersion> | ||
<description>Repair the durability of items.</description> | ||
</ModMetaData> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<JobDef> | ||
<defName>Mending</defName> | ||
<driverClass>Mending.JobDriver_Mend</driverClass> | ||
<reportString>Mending TargetB.</reportString> | ||
</JobDef> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<CommunityCoreLibrary.ModHelperDef> | ||
<defName>MendingMod</defName> | ||
|
||
<ModName>Mending</ModName> | ||
|
||
<minCCLVersion>0.14.0</minCCLVersion> | ||
|
||
<ThingComps> | ||
<li> | ||
<compProps Class="CommunityCoreLibrary.CompProperties_LowIdleDraw"> | ||
<compClass>CommunityCoreLibrary.CompPowerLowIdleDraw</compClass> | ||
<idlePowerFactor>50</idlePowerFactor> | ||
</compProps> | ||
<targetDefs> | ||
<li>TableMending</li> | ||
</targetDefs> | ||
</li> | ||
</ThingComps> | ||
|
||
<TraderKinds> | ||
<li> | ||
<targetDef>Caravan_Outlander_BulkGoods</targetDef> | ||
<stockGenerators> | ||
<li Class="StockGenerator_SingleDef"> | ||
<thingDef>MendingKit</thingDef> | ||
<countRange> | ||
<min>5</min> | ||
<max>25</max> | ||
</countRange> | ||
</li> | ||
</stockGenerators> | ||
</li> | ||
<li> | ||
<targetDef>Caravan_Outlander_CombatSupplier</targetDef> | ||
<stockGenerators> | ||
<li Class="StockGenerator_SingleDef"> | ||
<thingDef>MendingKit</thingDef> | ||
<countRange> | ||
<min>-5</min> | ||
<max>10</max> | ||
</countRange> | ||
</li> | ||
</stockGenerators> | ||
</li> | ||
<li> | ||
<targetDef>Orbital_Misc_BulkGoods</targetDef> | ||
<stockGenerators> | ||
<li Class="StockGenerator_SingleDef"> | ||
<thingDef>MendingKit</thingDef> | ||
<countRange> | ||
<min>5</min> | ||
<max>25</max> | ||
</countRange> | ||
</li> | ||
</stockGenerators> | ||
</li> | ||
<li> | ||
<targetDef>Orbital_Misc_CombatSupplier</targetDef> | ||
<stockGenerators> | ||
<li Class="StockGenerator_SingleDef"> | ||
<thingDef>MendingKit</thingDef> | ||
<countRange> | ||
<min>-5</min> | ||
<max>15</max> | ||
</countRange> | ||
</li> | ||
</stockGenerators> | ||
</li> | ||
|
||
</TraderKinds> | ||
|
||
</CommunityCoreLibrary.ModHelperDef> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<RecipeDefs> | ||
|
||
<RecipeDef> | ||
<defName>MendSimpleApparel</defName> | ||
<label>mend simple apparel</label> | ||
<description>Mend simple apparel.</description> | ||
<jobString>Mending.</jobString> | ||
<workAmount>100</workAmount> | ||
<workSkill>Crafting</workSkill> | ||
<effectWorking>Tailor</effectWorking> | ||
<soundWorking>Recipe_Tailor</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<categories> | ||
<li>Apparel</li> | ||
</categories> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<categories> | ||
<li>Apparel</li> | ||
</categories> | ||
<exceptedCategories> | ||
<li>Headgear</li> | ||
</exceptedCategories> | ||
<exceptedThingDefs> | ||
<li>Apparel_VestPlate</li> | ||
<li>Apparel_PowerArmor</li> | ||
<li>Apparel_PersonalShield</li> | ||
</exceptedThingDefs> | ||
</fixedIngredientFilter> | ||
<skillRequirements> | ||
<li> | ||
<skill>Crafting</skill> | ||
<minLevel>4</minLevel> | ||
</li> | ||
</skillRequirements> | ||
</RecipeDef> | ||
|
||
<RecipeDef> | ||
<defName>MendComplexApparel</defName> | ||
<label>mend complex apparel</label> | ||
<description>Mend armor.</description> | ||
<jobString>Mending.</jobString> | ||
<workAmount>200</workAmount> | ||
<workSkill>Crafting</workSkill> | ||
<effectWorking>Smith</effectWorking> | ||
<soundWorking>Recipe_Smith</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<categories> | ||
<li>Headgear</li> | ||
</categories> | ||
<thingDefs> | ||
<li>Apparel_VestPlate</li> | ||
<li>Apparel_PowerArmor</li> | ||
<li>Apparel_PersonalShield</li> | ||
</thingDefs> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<categories> | ||
<li>Headgear</li> | ||
</categories> | ||
<thingDefs> | ||
<li>Apparel_VestPlate</li> | ||
<li>Apparel_PowerArmor</li> | ||
<li>Apparel_PersonalShield</li> | ||
</thingDefs> | ||
</fixedIngredientFilter> | ||
<skillRequirements> | ||
<li> | ||
<skill>Crafting</skill> | ||
<minLevel>8</minLevel> | ||
</li> | ||
</skillRequirements> | ||
</RecipeDef> | ||
|
||
<RecipeDef> | ||
<defName>MendSimpleWeapon</defName> | ||
<label>repair simple weapon</label> | ||
<description>Repair weapon.</description> | ||
<jobString>Repairing.</jobString> | ||
<workAmount>50</workAmount> | ||
<workSkill>Crafting</workSkill> | ||
<effectWorking>Smith</effectWorking> | ||
<soundWorking>Recipe_Smith</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<categories> | ||
<li>WeaponsMelee</li> | ||
</categories> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<categories> | ||
<li>WeaponsMelee</li> | ||
</categories> | ||
</fixedIngredientFilter> | ||
<skillRequirements> | ||
<li> | ||
<skill>Crafting</skill> | ||
<minLevel>4</minLevel> | ||
</li> | ||
</skillRequirements> | ||
</RecipeDef> | ||
|
||
<RecipeDef> | ||
<defName>MendComplexWeapon</defName> | ||
<label>repair complex weapon</label> | ||
<description>Repair weapon.</description> | ||
<jobString>Repairing.</jobString> | ||
<workAmount>200</workAmount> | ||
<workSkill>Crafting</workSkill> | ||
<effectWorking>Smith</effectWorking> | ||
<soundWorking>Recipe_Smith</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<categories> | ||
<li>WeaponsRanged</li> | ||
</categories> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<categories> | ||
<li>WeaponsRanged</li> | ||
</categories> | ||
</fixedIngredientFilter> | ||
<skillRequirements> | ||
<li> | ||
<skill>Crafting</skill> | ||
<minLevel>8</minLevel> | ||
</li> | ||
</skillRequirements> | ||
</RecipeDef> | ||
|
||
<!-- We can do any ingredients, even food --> | ||
<!-- | ||
<RecipeDef> | ||
<defName>MendProsthetics</defName> | ||
<label>repair prosthetics</label> | ||
<description>Repair prosthetics.</description> | ||
<jobString>Repairing.</jobString> | ||
<workAmount>50</workAmount> | ||
<effectWorking>Repair</effectWorking> | ||
<soundWorking>Recipe_Surgery</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<categories> | ||
<li>BodyPartsArtificial</li> | ||
</categories> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<categories> | ||
<li>BodyPartsArtificial</li> | ||
</categories> | ||
</fixedIngredientFilter> | ||
</RecipeDef> | ||
--> | ||
|
||
</RecipeDefs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<RecipeDefs> | ||
|
||
<RecipeDef> | ||
<defName>MakeMendingKit</defName> | ||
<label>make mending kits</label> | ||
<description>Crafts mending kits from materials. Produces enough to re-stock the mending table.</description> | ||
<jobString>Crafting meding kit.</jobString> | ||
<workAmount>500</workAmount> | ||
<workSpeedStat>SmithingSpeed</workSpeedStat> | ||
<effectWorking>Smith</effectWorking> | ||
<soundWorking>Recipe_Smith</soundWorking> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Steel</li> | ||
</thingDefs> | ||
</filter> | ||
<count>45</count> | ||
</li> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Cloth</li> | ||
</thingDefs> | ||
</filter> | ||
<count>30</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<thingDefs> | ||
<li>Steel</li> | ||
<li>Cloth</li> | ||
</thingDefs> | ||
</fixedIngredientFilter> | ||
<products> | ||
<MendingKit>5</MendingKit> | ||
</products> | ||
<skillRequirements> | ||
<li> | ||
<skill>Crafting</skill> | ||
<minLevel>4</minLevel> | ||
</li> | ||
</skillRequirements> | ||
<workSkill>Crafting</workSkill> | ||
<recipeUsers> | ||
<li>ElectricTailoringBench</li> | ||
</recipeUsers> | ||
<researchPrerequisite>Mending</researchPrerequisite> | ||
</RecipeDef> | ||
|
||
</RecipeDefs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ResearchProjectDefs> | ||
|
||
<ResearchProjectDef> | ||
<defName>Mending</defName> | ||
<label>Mending</label> | ||
<description>Mend and repair damaged items.</description> | ||
<baseCost>500</baseCost> | ||
<techLevel>Industrial</techLevel> | ||
<prerequisites> | ||
<li>Electricity</li> | ||
</prerequisites> | ||
</ResearchProjectDef> | ||
|
||
</ResearchProjectDefs> |
Oops, something went wrong.