Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sulusdacor committed Jan 14, 2018
0 parents commit e4ce90d
Show file tree
Hide file tree
Showing 24 changed files with 755 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
18 changes: 18 additions & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>[sd] luciferium production</name>
<author>sulusdacor</author>
<targetVersion>0.18.1722</targetVersion>
<url>https://ludeon.com/forums/index.php?topic=26276.0</url>
<description>"luciferium production"

"These mechanoids could be the devil's spawn" - one colonist said and a crazy scientist started researching^^

- adds a way to produce luciferium
- needs research to build/produce/start, recipes need pawns with 10 crafting (extracting) and 7 medicine (medicine just for recipe on druglab)
- how to get: kill mechs, get mech oil from them, distille it to raw luciferium batches, make luciferium with neutroamine at druglab
- can build a stasis pod to extract mech oil
- all stuff can be traded (exotic goods traders)

Download links for Dropbox (current or older versions) or Steamworkshop link for current Rimworld version can be found in the ludeon forum thread linked above.</description>
</ModMetaData>
67 changes: 67 additions & 0 deletions About/Changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
personal changelog for mod "[sd] luciferium production""

- 24/09/2016

- released -

- 07/10/2016

- reduced workamount for pod extraction (9000 -> 3000)
(could operate 20 distillerys with 3 pods easly,with no even producing all the time)
- added abstract parents to files which missed them (mostly thingdefs)
- removed sound+effect working on pod
- removed skillrequirement medicine, 10 crafting still there
- changed skilrequirement on druglab table to 7 medicine only (no crafting required), get around 100 exp with no passion if doing this
- reduced research cost from 5k to 3k, with crashlanded start it is around 6k,since you start with industrial tech level (was 10k before)
- added jobstring in recipe on druglab to show "produce luciferium"

- 23/12/2016

- updated to 16
- added mass to items: corpse 50, oil 0.5, luci batch 0.5
- added mass to buildings: distillery 10 (same as fermenting barrel vanilla), stasis pod 500
- renamed some def names/ variables in code/xml: with sd_luciprod all at the start
research def from ..._luci to ..._luciprod
prepared mech corpse to sd_luciprod_prep_mech_corpse
removed most case sensitive def in xmls-> all to lower case
- updated code/assemblies to a16
- moved research to x 19

- added designator (like shutdown all) in code/assemblie

- 25/12/2016

- added menu icon for designator

- 30/12/2016

- some grammar stuff, lower/upper case fixes

- 06/01/2017

- fixed worktobuild xml tag,used old one,that got debug to 1 worktomake = instant build

- 05/06/2017

- update to a17
- added sellprice factor to buildingbase
- in code updated somestuff, fixed the empty inspect line in getinspec string
- changed luciextract recipe workclass to new recipe_shutdown

- 13/06/2017

- added designator to take mechanoid oil over the patch operations to the order menue to avoid an issue with stuffed floors mod

- 28/12/2017

- <Defs> out of msot researchdefs jobdefs and so on.
- skillrequirement in recipedefs syntax change to current version, no list
- jobdef added suspendable false to fill job
- minor code update for b18
- switched workspeed from brewing to drugproduction speed for making luci end product
- added workgiver for mechanoids

- 06/01/2018

- added patchoperation findmod
- added patch for orions more mechanoids and mechanoids extraordinaire in main mod over patchoperations
Binary file added About/Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions About/PublishedFileId.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
769335785
Binary file added Assemblies/sd_luciprod.dll
Binary file not shown.
17 changes: 17 additions & 0 deletions Defs/JobDefs/sd_luciprod_JobDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<JobDef>
<defName>sd_luciprod_filldistillery</defName>
<driverClass>sd_luciprod.JobDriver_sd_luciprod_FillDistillery</driverClass>
<reportString>filling TargetA.</reportString>
<suspendable>false</suspendable>
</JobDef>

<JobDef>
<defName>sd_luciprod_takelucioutofdistillery</defName>
<driverClass>sd_luciprod.JobDriver_sd_luciprod_TakeLuciOutOfDistillery</driverClass>
<reportString>taking luciferium out of TargetA.</reportString>
</JobDef>

</Defs>
194 changes: 194 additions & 0 deletions Defs/RecipeDefs/sd_luciprod_RecipeDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<RecipeDef>
<defName>sd_luciprod_extract_mechanites_scyther</defName>
<label>extract mechanite oil</label>
<description>Extract mechanite oil from scyther. yields: 1</description>
<workerClass>Recipe_ShutDown</workerClass>
<jobString>Extracting.</jobString>
<workAmount>2000</workAmount>
<hideBodyPartNames>true</hideBodyPartNames>
<addsHediff>ShutDown</addsHediff>
<effectWorking>Repair</effectWorking>
<isViolation>true</isViolation>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<products>
<sd_luciprod_mechanite_oil>1</sd_luciprod_mechanite_oil>
</products>
<recipeUsers>
<li>Mechanoid_Scyther</li>
</recipeUsers>
</RecipeDef>

<RecipeDef>
<defName>sd_luciprod_extract_mechanites_centipede</defName>
<label>extract mechanite oil</label>
<description>Extract mechanite oil from centipede. yields: 2</description>
<workerClass>Recipe_ShutDown</workerClass>
<jobString>Extracting.</jobString>
<workAmount>2000</workAmount>
<hideBodyPartNames>true</hideBodyPartNames>
<addsHediff>ShutDown</addsHediff>
<effectWorking>Repair</effectWorking>
<isViolation>true</isViolation>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<products>
<sd_luciprod_mechanite_oil>2</sd_luciprod_mechanite_oil>
</products>
<recipeUsers>
<li>Mechanoid_Centipede</li>
</recipeUsers>
</RecipeDef>

<RecipeDef>
<defName>sd_luciprod_extract_oil_pod</defName>
<label>extract mechanite oil</label>
<description>Extract mechanite oil from the pod. yields: 1</description>
<jobString>Extracting.</jobString>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workAmount>3000</workAmount>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<products>
<sd_luciprod_mechanite_oil>1</sd_luciprod_mechanite_oil>
</products>
<recipeUsers>
<li>sd_luciprod_mechstasispod</li>
</recipeUsers>
<researchPrerequisite>sd_luciprod_research_luciprod</researchPrerequisite>
</RecipeDef>

<RecipeDef>
<defName>sd_luciprod_prepare_mech</defName>
<label>prepare mechanoid</label>
<description>Prepare a mechanoid corpse for the use in your stasis pod. needs: 1 centipde/scyther corpse. yields: 1 prepared corpse</description>
<jobString>Preparing.</jobString>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workAmount>10000</workAmount>
<effectWorking>ButcherMechanoid</effectWorking>
<soundWorking>Recipe_ButcherCorpseMechanoid</soundWorking>
<ingredients>
<li>
<filter>
<categories>
<li>Corpses</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>CorpsesMechanoid</li>
</categories>
</fixedIngredientFilter>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<products>
<sd_luciprod_prep_mech_corpse>1</sd_luciprod_prep_mech_corpse>
</products>
<recipeUsers>
<li>TableMachining</li>
</recipeUsers>
<researchPrerequisite>sd_luciprod_research_luciprod</researchPrerequisite>
</RecipeDef>

<RecipeDef>
<defName>sd_luciprod_make_luci</defName>
<label>produce luciferium</label>
<description>produce 5 luciferium pills out of 10 neutroamine and 10 raw luciferium batches</description>
<jobString>Producing Luciferium.</jobString>
<workAmount>1000</workAmount>
<workSpeedStat>DrugProductionSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Brewing</soundWorking>
<ingredients>
<li>
<filter>
<thingDefs>
<li>sd_luciprod_rawlucibatch</li>
</thingDefs>
</filter>
<count>10</count>
</li>
<li>
<filter>
<thingDefs>
<li>Neutroamine</li>
</thingDefs>
</filter>
<count>10</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>sd_luciprod_rawlucibatch</li>
<li>Neutroamine</li>
</thingDefs>
</fixedIngredientFilter>
<skillRequirements>
<Medicine>7</Medicine>
</skillRequirements>
<workSkill>Medicine</workSkill>
<products>
<Luciferium>5</Luciferium>
</products>
<recipeUsers>
<li>DrugLab</li>
</recipeUsers>
<researchPrerequisite>sd_luciprod_research_luciprod</researchPrerequisite>
</RecipeDef>

<RecipeDef>
<defName>sd_luciprod_disassemble_prepcorpse</defName>
<label>disassemble prepared mechanoid corpse</label>
<description>Disassembles a prepared mechanoid corpse into its component parts.</description>
<jobString>Disassembling mechanoid.</jobString>
<workAmount>300</workAmount>
<workSpeedStat>ButcheryMechanoidSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<efficiencyStat>ButcheryMechanoidEfficiency</efficiencyStat>
<effectWorking>ButcherMechanoid</effectWorking>
<soundWorking>Recipe_ButcherCorpseMechanoid</soundWorking>
<ingredients>
<li>
<filter>
<thingDefs>
<li>sd_luciprod_prep_mech_corpse</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<products>
<Steel>25</Steel>
<Plasteel>5</Plasteel>
<Component>1</Component>
</products>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<fixedIngredientFilter>
<thingDefs>
<li>sd_luciprod_prep_mech_corpse</li>
</thingDefs>
</fixedIngredientFilter>
<recipeUsers>
<li>TableMachining</li>
</recipeUsers>
<researchPrerequisite>sd_luciprod_research_luciprod</researchPrerequisite>
</RecipeDef>


</Defs>
27 changes: 27 additions & 0 deletions Defs/ResearchProjectDefs/sd_luciprod_ResearchProjectDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<!--=============================== luci research ===================================-->

<ResearchProjectDef>
<defName>sd_luciprod_research_luciprod</defName>
<label>luciferium production</label>
<description>Produce luciferium by harvesting mechanoid corpses for traces of mechanites to turn them into luciferium.</description>
<baseCost>3000</baseCost>
<techLevel>Spacer</techLevel>
<tags>
<li>Spacer</li>
</tags>
<prerequisites>
<li>DrugProduction</li>
<li>MicroelectronicsBasics</li>
<li>Machining</li>
</prerequisites>
<requiredResearchBuilding>HiTechResearchBench</requiredResearchBuilding>
<requiredResearchFacilities>
<li>MultiAnalyzer</li>
</requiredResearchFacilities>
<researchViewX>19</researchViewX>
</ResearchProjectDef>

</Defs>
Loading

0 comments on commit e4ce90d

Please sign in to comment.