diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/About/About.xml b/About/About.xml new file mode 100644 index 0000000..c098f30 --- /dev/null +++ b/About/About.xml @@ -0,0 +1,18 @@ + + + [sd] luciferium production + sulusdacor + 0.18.1722 + https://ludeon.com/forums/index.php?topic=26276.0 + "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. + \ No newline at end of file diff --git a/About/Changelog.txt b/About/Changelog.txt new file mode 100644 index 0000000..24cb28a --- /dev/null +++ b/About/Changelog.txt @@ -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 + + - 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 \ No newline at end of file diff --git a/About/Preview.png b/About/Preview.png new file mode 100644 index 0000000..c55ea93 Binary files /dev/null and b/About/Preview.png differ diff --git a/About/PublishedFileId.txt b/About/PublishedFileId.txt new file mode 100644 index 0000000..bf2bedd --- /dev/null +++ b/About/PublishedFileId.txt @@ -0,0 +1 @@ +769335785 \ No newline at end of file diff --git a/Assemblies/sd_luciprod.dll b/Assemblies/sd_luciprod.dll new file mode 100644 index 0000000..387e4a0 Binary files /dev/null and b/Assemblies/sd_luciprod.dll differ diff --git a/Defs/JobDefs/sd_luciprod_JobDefs.xml b/Defs/JobDefs/sd_luciprod_JobDefs.xml new file mode 100644 index 0000000..798c3d5 --- /dev/null +++ b/Defs/JobDefs/sd_luciprod_JobDefs.xml @@ -0,0 +1,17 @@ + + + + + sd_luciprod_filldistillery + sd_luciprod.JobDriver_sd_luciprod_FillDistillery + filling TargetA. + false + + + + sd_luciprod_takelucioutofdistillery + sd_luciprod.JobDriver_sd_luciprod_TakeLuciOutOfDistillery + taking luciferium out of TargetA. + + + \ No newline at end of file diff --git a/Defs/RecipeDefs/sd_luciprod_RecipeDefs.xml b/Defs/RecipeDefs/sd_luciprod_RecipeDefs.xml new file mode 100644 index 0000000..5c88751 --- /dev/null +++ b/Defs/RecipeDefs/sd_luciprod_RecipeDefs.xml @@ -0,0 +1,194 @@ + + + + + sd_luciprod_extract_mechanites_scyther + + Extract mechanite oil from scyther. yields: 1 + Recipe_ShutDown + Extracting. + 2000 + true + ShutDown + Repair + true + + 10 + + Crafting + + 1 + + +
  • Mechanoid_Scyther
  • +
    +
    + + + sd_luciprod_extract_mechanites_centipede + + Extract mechanite oil from centipede. yields: 2 + Recipe_ShutDown + Extracting. + 2000 + true + ShutDown + Repair + true + + 10 + + Crafting + + 2 + + +
  • Mechanoid_Centipede
  • +
    +
    + + + sd_luciprod_extract_oil_pod + + Extract mechanite oil from the pod. yields: 1 + Extracting. + SmithingSpeed + 3000 + + 10 + + Crafting + + 1 + + +
  • sd_luciprod_mechstasispod
  • +
    + sd_luciprod_research_luciprod +
    + + + sd_luciprod_prepare_mech + + Prepare a mechanoid corpse for the use in your stasis pod. needs: 1 centipde/scyther corpse. yields: 1 prepared corpse + Preparing. + SmithingSpeed + 10000 + ButcherMechanoid + Recipe_ButcherCorpseMechanoid + +
  • + + +
  • Corpses
  • + + + 1 + +
    + + +
  • CorpsesMechanoid
  • +
    +
    + + 10 + + Crafting + + 1 + + +
  • TableMachining
  • +
    + sd_luciprod_research_luciprod +
    + + + sd_luciprod_make_luci + + produce 5 luciferium pills out of 10 neutroamine and 10 raw luciferium batches + Producing Luciferium. + 1000 + DrugProductionSpeed + Cook + Recipe_Brewing + +
  • + + +
  • sd_luciprod_rawlucibatch
  • + + + 10 + +
  • + + +
  • Neutroamine
  • + + + 10 + +
    + + +
  • sd_luciprod_rawlucibatch
  • +
  • Neutroamine
  • +
    +
    + + 7 + + Medicine + + 5 + + +
  • DrugLab
  • +
    + sd_luciprod_research_luciprod +
    + + + sd_luciprod_disassemble_prepcorpse + + Disassembles a prepared mechanoid corpse into its component parts. + Disassembling mechanoid. + 300 + ButcheryMechanoidSpeed + Crafting + ButcheryMechanoidEfficiency + ButcherMechanoid + Recipe_ButcherCorpseMechanoid + +
  • + + +
  • sd_luciprod_prep_mech_corpse
  • + + + 1 + +
    + + 25 + 5 + 1 + + + 10 + + + +
  • sd_luciprod_prep_mech_corpse
  • +
    +
    + +
  • TableMachining
  • +
    + sd_luciprod_research_luciprod +
    + + +
    \ No newline at end of file diff --git a/Defs/ResearchProjectDefs/sd_luciprod_ResearchProjectDefs.xml b/Defs/ResearchProjectDefs/sd_luciprod_ResearchProjectDefs.xml new file mode 100644 index 0000000..d0b40ee --- /dev/null +++ b/Defs/ResearchProjectDefs/sd_luciprod_ResearchProjectDefs.xml @@ -0,0 +1,27 @@ + + + + + + + sd_luciprod_research_luciprod + + Produce luciferium by harvesting mechanoid corpses for traces of mechanites to turn them into luciferium. + 3000 + Spacer + +
  • Spacer
  • +
    + +
  • DrugProduction
  • +
  • MicroelectronicsBasics
  • +
  • Machining
  • +
    + HiTechResearchBench + +
  • MultiAnalyzer
  • +
    + 19 +
    + +
    \ No newline at end of file diff --git a/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings.xml b/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings.xml new file mode 100644 index 0000000..60780d0 --- /dev/null +++ b/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings.xml @@ -0,0 +1,127 @@ + + + + + + + sd_luciprod_distillery + + sd_luciprod.Building_sd_luciprod_distillery + + sd_luciprod/sd_luciprod_distillery + Graphic_Single + + (0.05,0.1,0.9,0.9) + + + MinifiedFurniture + true + Building + PassThroughOnly + 0.45 + 60 + + 600 + 10 + 100 + 1.0 + + A distillery will turn 10 units of mechanite oil into 5 raw luciferium batches. These are used to produce luciferium pills at the drug lab. + + 30 + 1 + + Rare + true + Production + ConstructMetal + +
  • + CompPowerTrader + 100 + true +
  • +
  • +
  • + 2 + (241,200,160,0) +
  • +
  • + -1 + 32 + 0.00001 +
  • +
    + +
  • sd_luciprod_research_luciprod
  • +
    +
    + + + + + sd_luciprod_mechstasispod + + Building_WorkTable + A pod designed to keep a mechanoid running and harvest his mechanite oil. + + sd_luciprod/sd_luciprod_stasis_pod + Graphic_Single + CutoutComplex + (3,2) + + (2.7,1,1.8) + + + (0.3,0.1,2.4,1.8) + + + MinifiedFurniture + true + + 100 + 2 + 20 + 1 + + Building + True + + 4500 + 300 + 500 + 0 + -20 + + (3,2) + Production + 1 + PassThroughOnly + 60 + True + (0,0,-1) + Item + +
  • ITab_Bills
  • +
    + +
  • + CompPowerTrader + 2500 + true +
  • +
  • +
  • + 6 + (118,145,157,0) +
  • +
    + + BillsTab + + +
  • sd_luciprod_research_luciprod
  • +
    +
    + +
    \ No newline at end of file diff --git a/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings_bases.xml b/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings_bases.xml new file mode 100644 index 0000000..02186f8 --- /dev/null +++ b/Defs/ThingDefs_Buildings/sd_luciprod_ThingDefs_Buildings_bases.xml @@ -0,0 +1,21 @@ + + + + + + + Building + Building + BulletImpactMetal + true + MapMeshAndRealTime + Light + Repair + true + BuildingRubble + + 0.70 + + + + \ No newline at end of file diff --git a/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items.xml b/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items.xml new file mode 100644 index 0000000..1b864bf --- /dev/null +++ b/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items.xml @@ -0,0 +1,80 @@ + + + + + + + sd_luciprod_rawlucibatch + + The raw luciferium batch needs one production step to make luciferium pills at the drub lab.(recipe requires neutroamine) + + sd_luciprod/sd_luciprod_raw_lucibatch + Graphic_Single + + Metal_Drop + Metal_Drop + 400 + + 5 + 150 + 0.5 + 0.5 + + +
  • ResourcesRaw
  • +
    + +
  • Exotic
  • +
    +
    + + + sd_luciprod_mechanite_oil + + This is the mechanite version of human blood. It contains trace amounts of small mechanites which help powering these huge machines from within. + + sd_luciprod/sd_luciprod_mechanite_oil + Graphic_Single + + Metal_Drop + Metal_Drop + 400 + + 3 + 150 + 0.5 + 0.5 + + +
  • ResourcesRaw
  • +
    + +
  • Exotic
  • +
    +
    + + + sd_luciprod_prep_mech_corpse + + The corpse of a mechanoid prepared for the stasis pod to produce mechanites for the luciferium production. It can be disasssembled at the machining table if not needed. + + sd_luciprod/sd_luciprod_mech_corpse + Graphic_Single + + Metal_Drop + Metal_Drop + + 100 + 200 + 50 + 1.0 + + +
  • ResourcesRaw
  • +
    + +
  • Exotic
  • +
    +
    + +
    \ No newline at end of file diff --git a/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items_bases.xml b/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items_bases.xml new file mode 100644 index 0000000..0433109 --- /dev/null +++ b/Defs/ThingDefs_Items/sd_luciprod_ThingDefs_Items_bases.xml @@ -0,0 +1,26 @@ + + + + + + + ThingWithComps + Item + Middle + true + true + Item + 75 + + -4 + + +
  • + + true + true + false + 15 + + + \ No newline at end of file diff --git a/Defs/WorkGiverDefs/sd_luciprod_WorkGiverDefs.xml b/Defs/WorkGiverDefs/sd_luciprod_WorkGiverDefs.xml new file mode 100644 index 0000000..6fe9ed6 --- /dev/null +++ b/Defs/WorkGiverDefs/sd_luciprod_WorkGiverDefs.xml @@ -0,0 +1,63 @@ + + + + + sd_luciprod_takelucioutofdistillery + + sd_luciprod.WorkGiver_sd_luciprod_TakeLuciOutOfDistillery + Hauling + take luciferium + taking luciferium from + 130 + +
  • Manipulation
  • + + + + + sd_luciprod_filldistillery + + sd_luciprod.WorkGiver_sd_luciprod_FillDistillery + Hauling + fill + filling + 120 + +
  • Manipulation
  • +
    +
    + + + sd_luciprod_dobillsmechpod + + WorkGiver_DoBill + Crafting + 85 + +
  • sd_luciprod_mechstasispod
  • +
    + extract mechanite oil + extract mechanite oil at + +
  • Manipulation
  • +
    + true +
    + + + sd_luciprod_DoBillsMedicalMechanoidOperation + + WorkGiver_DoBill + Crafting + 110 + true + false + modify + modifying + +
  • Manipulation
  • +
    + true +
    + +
    \ No newline at end of file diff --git a/Languages/English/Keyed/sd_luciprod_Keyed.xml b/Languages/English/Keyed/sd_luciprod_Keyed.xml new file mode 100644 index 0000000..fc676c5 --- /dev/null +++ b/Languages/English/Keyed/sd_luciprod_Keyed.xml @@ -0,0 +1,15 @@ + + + + + Contains batch of raw luciferium + Contains mechanite oil + Distilled + Distilling progress + Distillery out of ideal temperature + Temperature + Ideal distilling temperature + Bad temperature + Contains no mechanite oil + + \ No newline at end of file diff --git a/Patches/sd_luciprod_patch_mechanoidsextraordinaire.xml b/Patches/sd_luciprod_patch_mechanoidsextraordinaire.xml new file mode 100644 index 0000000..01f9695 --- /dev/null +++ b/Patches/sd_luciprod_patch_mechanoidsextraordinaire.xml @@ -0,0 +1,42 @@ + + + + + + + + Always + +
  • + Mechanoids Extraordinaire +
  • +
  • + */RecipeDef[defName = "sd_luciprod_extract_mechanites_scyther"]/recipeUsers + +
  • Mechanoid_Vespa
  • + + + +
    +
    + + + Always + +
  • + Mechanoids Extraordinaire +
  • +
  • + */RecipeDef[defName = "sd_luciprod_extract_mechanites_centipede"]/recipeUsers + +
  • Mechanoid_Hound
  • +
  • Mechanoid_Chimera
  • +
  • Mechanoid_Goliath
  • +
  • Mechanoid_Kraken
  • + + + +
    +
    + +
    \ No newline at end of file diff --git a/Patches/sd_luciprod_patch_moremechanoids.xml b/Patches/sd_luciprod_patch_moremechanoids.xml new file mode 100644 index 0000000..750be8e --- /dev/null +++ b/Patches/sd_luciprod_patch_moremechanoids.xml @@ -0,0 +1,42 @@ + + + + + + + + Always + +
  • + Mechanoids Extraordinaire +
  • +
  • + */RecipeDef[defName = "sd_luciprod_extract_mechanites_scyther"]/recipeUsers + +
  • Mechanoid_Crawler
  • +
  • Mechanoid_Skullywag
  • +
  • Mechanoid_Assaulter
  • +
  • Mechanoid_Flamebot
  • + + + +
    +
    + + + Always + +
  • + Mechanoids Extraordinaire +
  • +
  • + */RecipeDef[defName = "sd_luciprod_extract_mechanites_centipede"]/recipeUsers + +
  • Mechanoid_Mammoth
  • + + + +
    +
    + +
    \ No newline at end of file diff --git a/Patches/sd_luciprod_patch_vanilla.xml b/Patches/sd_luciprod_patch_vanilla.xml new file mode 100644 index 0000000..bf8775e --- /dev/null +++ b/Patches/sd_luciprod_patch_vanilla.xml @@ -0,0 +1,13 @@ + + + + + + + */DesignationCategoryDef[defName = "Orders"]/specialDesignatorClasses + +
  • sd_luciprod.Designator_sd_luciprod_ExtractOil
  • +
    +
    + +
    \ No newline at end of file diff --git a/Textures/sd_luciprod/menu_icons/sd_luciprod_extractmechoil_menuicon.png b/Textures/sd_luciprod/menu_icons/sd_luciprod_extractmechoil_menuicon.png new file mode 100644 index 0000000..ddce956 Binary files /dev/null and b/Textures/sd_luciprod/menu_icons/sd_luciprod_extractmechoil_menuicon.png differ diff --git a/Textures/sd_luciprod/sd_luciprod_distillery.png b/Textures/sd_luciprod/sd_luciprod_distillery.png new file mode 100644 index 0000000..c045be9 Binary files /dev/null and b/Textures/sd_luciprod/sd_luciprod_distillery.png differ diff --git a/Textures/sd_luciprod/sd_luciprod_mech_corpse.png b/Textures/sd_luciprod/sd_luciprod_mech_corpse.png new file mode 100644 index 0000000..de3f7bf Binary files /dev/null and b/Textures/sd_luciprod/sd_luciprod_mech_corpse.png differ diff --git a/Textures/sd_luciprod/sd_luciprod_mechanite_oil.png b/Textures/sd_luciprod/sd_luciprod_mechanite_oil.png new file mode 100644 index 0000000..e4c5c6d Binary files /dev/null and b/Textures/sd_luciprod/sd_luciprod_mechanite_oil.png differ diff --git a/Textures/sd_luciprod/sd_luciprod_raw_lucibatch.png b/Textures/sd_luciprod/sd_luciprod_raw_lucibatch.png new file mode 100644 index 0000000..b654734 Binary files /dev/null and b/Textures/sd_luciprod/sd_luciprod_raw_lucibatch.png differ diff --git a/Textures/sd_luciprod/sd_luciprod_stasis_pod.png b/Textures/sd_luciprod/sd_luciprod_stasis_pod.png new file mode 100644 index 0000000..48e0551 Binary files /dev/null and b/Textures/sd_luciprod/sd_luciprod_stasis_pod.png differ