Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dubwise56 committed Aug 2, 2020
1 parent ac93580 commit 9bf6543
Show file tree
Hide file tree
Showing 10 changed files with 3,051 additions and 1 deletion.
Binary file added 1.2/Assemblies/0Harmony.dll
Binary file not shown.
2,900 changes: 2,900 additions & 0 deletions 1.2/Assemblies/0Harmony.xml

Large diffs are not rendered by default.

Binary file added 1.2/Assemblies/DubsPaintShop.dll
Binary file not shown.
23 changes: 23 additions & 0 deletions 1.2/Defs/Designations/DesignationCategories.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<DubRoss.DefExtensions>
<defName>DubRossExtensions</defName>
</DubRoss.DefExtensions>


<KeyBindingCategoryDef>
<defName>DubsPaintShop</defName>
<label>Dubs Paint Shop</label>
<description>Keybinds for Dubs Paint Shop.</description>
<isGameUniversal>true</isGameUniversal>
</KeyBindingCategoryDef>

<KeyBindingDef>
<category>DubsPaintShop</category>
<defName>PaintingTool</defName>
<label>Painting tool</label>
<defaultKeyCodeA></defaultKeyCodeA>
</KeyBindingDef>

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

<DesignationDef>
<defName>PaintThing</defName>
<texturePath>JOP/UI/PaintDes</texturePath>
<targetType>Thing</targetType>
</DesignationDef>

<DesignationDef>
<defName>PaintCell</defName>
<texturePath>JOP/UI/PaintDes</texturePath>
<targetType>Cell</targetType>
</DesignationDef>

<DesignationDef>
<defName>PaintStripThing</defName>
<texturePath>JOP/UI/PaintDes</texturePath>
<targetType>Thing</targetType>
</DesignationDef>

<DesignationDef>
<defName>PaintStripCell</defName>
<texturePath>JOP/UI/PaintDes</texturePath>
<targetType>Cell</targetType>
</DesignationDef>


<MainButtonDef>
<defName>PaintShop</defName>
<label>Dubs Paint Shop</label>
<description>Open painting tools.</description>
<workerClass>DubRoss.MainButtonWorker_TogglePaintshop</workerClass>
<order>100</order>
<defaultHotKey></defaultHotKey>
<validWithoutMap>false</validWithoutMap>
<minimized>True</minimized>
<iconPath>JOP/PaintBrush</iconPath>
</MainButtonDef>

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

<EffecterDef>
<defName>PaintingEffect</defName>
<children>
<li>
<subEffecterClass>DubRoss.SubEffecter_Painter</subEffecterClass>
<scale>
<min>0.3</min>
<max>1</max>
</scale>
<ticksBetweenMotes>20</ticksBetweenMotes>
<positionLerpFactor>0.6</positionLerpFactor>
<positionRadius>0.6</positionRadius>
<moteDef>Mote_PaintSplashes</moteDef>
</li>
<li>
<subEffecterClass>SubEffecter_InteractSymbol</subEffecterClass>
<moteDef>Mote_PaintBrush</moteDef>
</li>
</children>
</EffecterDef>

<ThingDef ParentName="MoteBase">
<defName>Mote_PaintBrush</defName>
<thingClass>MoteDualAttached</thingClass>
<altitudeLayer>MetaOverlays</altitudeLayer>
<mote>
</mote>
<graphicData>
<texPath>JOP/PaintBrush</texPath>
</graphicData>
</ThingDef>

<ThingDef ParentName="MoteBase">
<defName>Mote_PaintSplashes</defName>
<thingClass>MoteDualAttached</thingClass>
<altitudeLayer>MoteLow</altitudeLayer>
<mote>
<fadeInTime>0.04</fadeInTime>
<solidTime>0.5</solidTime>
<fadeOutTime>2</fadeOutTime>
</mote>
<graphicData>
<texPath>JOP/splash</texPath>
</graphicData>
</ThingDef>

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

<JobDef>
<defName>PaintThings</defName>
<driverClass>DubRoss.JobDriver_PaintThings</driverClass>
<reportString>Painting TargetA.</reportString>
</JobDef>

<JobDef>
<defName>PaintCells</defName>
<driverClass>DubRoss.JobDriver_PaintCells</driverClass>
<reportString>Painting TargetA.</reportString>
</JobDef>

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

<WorkGiverDef>
<defName>PaintThings</defName>
<label>paint things</label>
<giverClass>DubRoss.WorkGiver_PaintThings</giverClass>
<workType>Construction</workType>
<verb>paint</verb>
<gerund>painting</gerund>
<priorityInType>21</priorityInType>
<scanThings>true</scanThings>
<scanCells>true</scanCells>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
</WorkGiverDef>

</Defs>
1 change: 1 addition & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<supportedVersions>
<li>1.0</li>
<li>1.1</li>
<li>1.2</li>
</supportedVersions>
<packageId>Dubwise.DubsPaintShop</packageId>
<description>Adds painting tools to change the colour of stuffed or colourable buildings, apparel, and terrain\n\nMultiplayer Ready</description>
Expand Down
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<Manifest>
<identifier>Dub's Paint Shop</identifier>
<version>1.1.435</version>
<version>1.1.562</version>
<manifestUri>https://github.com/Dubwise56/Dubs-Paint-Shop/master/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/Dubwise56/Dubs-Paint-Shop/releases/latest</downloadUri>
</Manifest>

0 comments on commit 9bf6543

Please sign in to comment.