Skip to content

Commit

Permalink
1.0 update
Browse files Browse the repository at this point in the history
xml fixes
added constructionskill requirements, like vanilla
added autoroof to false onw indturbine
removed modsync for now, have to check into the sucessor first how it works
  • Loading branch information
sulusdacor committed Oct 22, 2018
1 parent a6241e3 commit 72c62eb
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 23 deletions.
4 changes: 2 additions & 2 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<ModMetaData>
<name>[sd] advanced powergeneration</name>
<author>sulusdacor</author>
<targetVersion>0.18.1722</targetVersion>
<targetVersion>1.0.2059</targetVersion>
<url>https://ludeon.com/forums/index.php?topic=26276.0</url>
<description>"advanced powergeneration"
Ver.: b18-1.0.3
Ver.: 1.0-1.0.0

a light in every corner, an extra workbench there, maybe another cooking stove - wondering where your power went?

Expand Down
13 changes: 12 additions & 1 deletion About/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,15 @@ personal changelog for mod "[sd] advanced powergeneration" (sd_power)

10/07/2018

- russian translation file added by Hanabishi from github
- russian translation file added by Hanabishi from github

22/10/2018

Rimworld 1.0 update
- updated assembly
- xml fixes, update to 1.0
- added construction skill requirements, same as vanilla counterparts (nuclar=geo)
- components, just replaced with industrial/spacer variants
- added thincategorie power to all
- added allow autoroof false to adv windturbine
- for now removed modsync file, since modninja was replaced by another, havent looked into that
7 changes: 0 additions & 7 deletions About/ModSync.xml

This file was deleted.

Binary file modified Assemblies/sd_adv_powergen.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Defs/ThingDefs/sd_adv_powergen_ThingDefs_bases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<ThingDef Name="BuildingBase" Abstract="True">
<category>Building</category>
<thingClass>Building</thingClass>
<soundImpactDefault>BulletImpactMetal</soundImpactDefault>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<selectable>true</selectable>
<drawerType>MapMeshAndRealTime</drawerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<repairEffect>Repair</repairEffect>
<leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
<filthLeaving>BuildingRubble</filthLeaving>
<filthLeaving>Filth_RubbleBuilding</filthLeaving>
<statBases>
<SellPriceFactor>0.70</SellPriceFactor>
</statBases>
Expand Down
40 changes: 29 additions & 11 deletions Defs/ThingDefs/sd_adv_powergen_ThingDefs_buildings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<costList>
<Steel>100</Steel>
<Plasteel>5</Plasteel>
<Component>3</Component>
<AdvancedComponent>2</AdvancedComponent>
<ComponentIndustrial>3</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
</costList>
<placeWorkers>
<li>PlaceWorker_WindTurbine</li>
Expand All @@ -61,12 +61,18 @@
<designationCategory>Power</designationCategory>
<building>
<ai_chillDestination>false</ai_chillDestination>
<allowAutoroof>false</allowAutoroof>
</building>
<constructEffect>ConstructMetal</constructEffect>
<researchPrerequisites>
<li>sd_adv_powergen_research_adv_wind_turbine</li>
</researchPrerequisites>
<minifiedDef>MinifiedFurniture</minifiedDef>
<minifiedDef>MinifiedThing</minifiedDef>
<constructionSkillPrerequisite>4</constructionSkillPrerequisite>
<thingCategories>
<li>BuildingsPower</li>
</thingCategories>

</ThingDef>

<!--================================= adv solar =================================-->
Expand Down Expand Up @@ -105,8 +111,8 @@
<costList>
<Steel>100</Steel>
<Plasteel>5</Plasteel>
<Component>5</Component>
<AdvancedComponent>2</AdvancedComponent>
<ComponentIndustrial>5</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
</costList>
<comps>
<li Class="CompProperties_Power">
Expand All @@ -127,7 +133,11 @@
<researchPrerequisites>
<li>sd_adv_powergen_research_adv_solar</li>
</researchPrerequisites>
<minifiedDef>MinifiedFurniture</minifiedDef>
<minifiedDef>MinifiedThing</minifiedDef>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<thingCategories>
<li>BuildingsPower</li>
</thingCategories>
</ThingDef>

<!--================================= adv geothermal =================================-->
Expand Down Expand Up @@ -164,8 +174,8 @@
<costList>
<Steel>400</Steel>
<Plasteel>40</Plasteel>
<Component>12</Component>
<AdvancedComponent>4</AdvancedComponent>
<ComponentIndustrial>12</ComponentIndustrial>
<ComponentSpacer>4</ComponentSpacer>
</costList>
<comps>
<li Class="CompProperties_Power">
Expand Down Expand Up @@ -193,7 +203,11 @@
<researchPrerequisites>
<li>sd_adv_powergen_research_adv_geo</li>
</researchPrerequisites>
<minifiedDef>MinifiedFurniture</minifiedDef>
<minifiedDef>MinifiedThing</minifiedDef>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<thingCategories>
<li>BuildingsPower</li>
</thingCategories>
</ThingDef>

<!--================================= adv nuclear =================================-->
Expand Down Expand Up @@ -231,7 +245,7 @@
<Steel>800</Steel>
<Plasteel>100</Plasteel>
<Uranium>250</Uranium>
<AdvancedComponent>10</AdvancedComponent>
<ComponentSpacer>10</ComponentSpacer>
</costList>
<comps>
<li Class="CompProperties_Power">
Expand All @@ -256,7 +270,11 @@
<researchPrerequisites>
<li>sd_adv_powergen_research_nuclear_power</li>
</researchPrerequisites>
<minifiedDef>MinifiedFurniture</minifiedDef>
<minifiedDef>MinifiedThing</minifiedDef>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<thingCategories>
<li>BuildingsPower</li>
</thingCategories>
</ThingDef>


Expand Down

0 comments on commit 72c62eb

Please sign in to comment.