Skip to content

Commit

Permalink
Added "Contents" tab to graves
Browse files Browse the repository at this point in the history
  • Loading branch information
angelolocritani committed Jan 14, 2024
1 parent cf25c47 commit 2a3f44e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions 1.4/Patches/CorpseInfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Add "Contents" tab to grave, if it does not exists -->
<Patch>
<Operation Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[defName="Grave"]/inspectorTabs/li[text()="ITab_ContentsCasket"]</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Grave"]/inspectorTabs</xpath>
<value>
<li>ITab_ContentsCasket</li>
</value>
</nomatch>
</Operation>
</Patch>



2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<supportedVersions>
<li>1.4</li>
</supportedVersions>
<description>Add a link to deceased pawn in order to access their info card even after death.</description>
<description>Add a link to deceased pawn in order to access their info card even after death. Also adds the "Contents" tab to grave.</description>
<modDependencies>
<li>
<packageId>brrainz.harmony</packageId>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

A mod that adds a link to deceased pawn in order to access their info card even after death

Also add the "Contents" tab to graves, otherwise you cannot select the contained body.

Because it always annoyed me I cannot access the "Records" tab after pawns' death...

---
Expand Down

0 comments on commit 2a3f44e

Please sign in to comment.