Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ Source/AllModdingComponents/CompSlotLoadable/Properties
Source/AllModdingComponents/CompVehicle/obj
Source/AllModdingComponents/CompVehicle/Properties
Source/DiscordWebhookToken.txt
/Source/.vs/RimWriter/v16
/Source/packages/Lib.Harmony.2.0.0.8
/.vs
16 changes: 15 additions & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@
<ModMetaData>
<name>RimWriter - Books, Scrolls, Tablets, and Libraries</name>
<author>Jecrell</author>
<targetVersion>1.0.2059</targetVersion>
<supportedVersions>
<li>1.1</li>
</supportedVersions>
<packageId>jecrell.RimWriter</packageId>
<modDependencies>
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>
<loadAfter>
<li>brrainz.harmony</li>
</loadAfter>
<description>1.20.0.2 (01-04-2019)

Add tablets, books, scrolls and more to your RimWorld playthroughs.
Expand Down
Binary file removed Assemblies/0Harmony.dll
Binary file not shown.
Binary file modified Assemblies/RimWriter.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Defs/RecipeDefs/RimWriter_BookBinding.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<description>Makes a book by hand at a crafting spot by writing out flattened stationery such as paper or parchment and binding together the pieces.</description>
<jobString>Making a book by hand.</jobString>
<workAmount>20000</workAmount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>RimWriter_SoundManualPencil</soundWorking>
Expand Down
4 changes: 2 additions & 2 deletions Defs/RecipeDefs/RimWriter_BurnBooks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<description>Burn unwanted books to completely destroy them without any mess.</description>
<jobString>Burning books.</jobString>
<workAmount>60</workAmount>
<workSpeedStat>UnskilledLaborSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<requiredGiverWorkType>Hauling</requiredGiverWorkType>
<effectWorking>Cremate</effectWorking>
<soundWorking>Recipe_Cremate</soundWorking>
Expand Down Expand Up @@ -35,7 +35,7 @@
<description>Burn unwanted scrolls to completely destroy them without any mess.</description>
<jobString>Burning scrolls.</jobString>
<workAmount>60</workAmount>
<workSpeedStat>UnskilledLaborSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<requiredGiverWorkType>Hauling</requiredGiverWorkType>
<effectWorking>Cremate</effectWorking>
<soundWorking>Recipe_Cremate</soundWorking>
Expand Down
6 changes: 3 additions & 3 deletions Defs/RecipeDefs/RimWriter_MaterialCrafting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<description>Makes around one hundred pages from a few logs of wood.</description>
<jobString>Making pages.</jobString>
<workAmount>3500</workAmount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>Recipe_Tailor</soundWorking>
Expand Down Expand Up @@ -58,7 +58,7 @@
<description>Makes around one hundred parchments from leather.</description>
<jobString>Making parchment.</jobString>
<workAmount>3500</workAmount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>Recipe_Tailor</soundWorking>
Expand Down Expand Up @@ -103,7 +103,7 @@
<description>Makes around one hundred cloth papers from various types of fabric.</description>
<jobString>Making cloth paper.</jobString>
<workAmount>3500</workAmount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>Recipe_Tailor</soundWorking>
Expand Down
8 changes: 4 additions & 4 deletions Defs/ThingDefs_Buildings/RimWriter_Bookcases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<designationCategory>Joy</designationCategory>
<designationHotKey>Misc2</designationHotKey>
<comps>
<li Class="CompProperties_RoomIdentifier">
<!--<li Class="CompProperties_RoomIdentifier">
<roomStat>Impressiveness</roomStat>
</li>
</li>-->
<li Class="RimWriter.CompProperties_StorageGraphic">
<graphicEmpty>
<texPath>Building/Production/LibraryBookcase/Jecrell_BookcaseEmpty</texPath>
Expand Down Expand Up @@ -110,9 +110,9 @@
<drawSize>3</drawSize>
</graphicData>
<comps Inherit="False">
<li Class="CompProperties_RoomIdentifier">
<!--<li Class="CompProperties_RoomIdentifier">
<roomStat>Impressiveness</roomStat>
</li>
</li>-->
<li Class="RimWriter.CompProperties_StorageGraphic">
<graphicEmpty>
<texPath>Building/Production/ShortBookcase/Jecrell_ShortBookcaseEmpty</texPath>
Expand Down
8 changes: 4 additions & 4 deletions Defs/ThingDefs_Buildings/RimWriter_Scrollcases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<designationCategory>Joy</designationCategory>
<designationHotKey>Misc2</designationHotKey>
<comps>
<li Class="CompProperties_RoomIdentifier">
<!--<li Class="CompProperties_RoomIdentifier">
<roomStat>Impressiveness</roomStat>
</li>
</li>-->
<li Class="RimWriter.CompProperties_StorageGraphic">
<graphicEmpty>
<texPath>Building/Production/LibraryScrollcase/Jecrell_ScrollcaseEmpty</texPath>
Expand Down Expand Up @@ -109,9 +109,9 @@
<drawSize>3</drawSize>
</graphicData>
<comps Inherit="False">
<li Class="CompProperties_RoomIdentifier">
<!--<li Class="CompProperties_RoomIdentifier">
<roomStat>Impressiveness</roomStat>
</li>
</li>-->
<li Class="RimWriter.CompProperties_StorageGraphic">
<graphicEmpty>
<texPath>Building/Production/ShortScrollcase/Jecrell_ShortScrollcaseEmpty</texPath>
Expand Down
6 changes: 3 additions & 3 deletions Defs/ThingDefs_Item/RimWriter_Materials.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</costList>
<recipeMaker>
<productCount>100</productCount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>RimWriter_SoundManualPencil</soundWorking>
Expand All @@ -38,7 +38,7 @@
</stuffCategories>
<recipeMaker>
<productCount>100</productCount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>RimWriter_SoundManualPencil</soundWorking>
Expand All @@ -60,7 +60,7 @@
</stuffCategories>
<recipeMaker>
<productCount>100</productCount>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Artistic</workSkill>
<unfinishedThingDef>UnfinishedWriting</unfinishedThingDef>
<soundWorking>RimWriter_SoundManualPencil</soundWorking>
Expand Down
2 changes: 1 addition & 1 deletion Defs/ThingDefs_Item/RimWriter_Tablets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<techLevel>Neolithic</techLevel>
<filthLeaving>Filth_RubbleRock</filthLeaving>
<recipeMaker>
<workSpeedStat>SculptingSpeed</workSpeedStat>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Intellectual</workSkill>
<unfinishedThingDef>UnfinishedWritingTablet</unfinishedThingDef>
<soundWorking>Recipe_MakeStoneBlocks</soundWorking>
Expand Down
2 changes: 1 addition & 1 deletion Source/CompProperties_StorageGraphic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class CompProperties_StorageGraphic : CompProperties

public CompProperties_StorageGraphic()
{
this.compClass = typeof(CompStorageGraphic);
compClass = typeof(CompStorageGraphic);
}
}
}
10 changes: 8 additions & 2 deletions Source/CompStorageGraphic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ namespace RimWriter
public class CompStorageGraphic : ThingComp
{
private Graphic cachedGraphic = null;
public CompProperties_StorageGraphic Props => this.props as CompProperties_StorageGraphic;
public CompProperties_StorageGraphic Props
{
get
{
return (CompProperties_StorageGraphic)props;
}
}

public void UpdateGraphics()
public void UpdateGraphics()
{
cachedGraphic = null;
}
Expand Down
2 changes: 1 addition & 1 deletion Source/GuideBook.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Harmony;
using HarmonyLib;
using JetBrains.Annotations;
using RimWorld;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Source/ModMain.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Harmony;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
Expand Down
4 changes: 2 additions & 2 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

[assembly: Guid("a8e081b6-8768-4fe9-817f-f0ee42cf13ef")]

[assembly: AssemblyVersion("1.1.0.7")]
[assembly: AssemblyFileVersion("1.1.0.7")]
[assembly: AssemblyVersion("1.2")]
[assembly: AssemblyFileVersion("1.2")]
Loading