Skip to content

Commit

Permalink
2.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazzer authored Sep 11, 2022
1 parent 3424fa9 commit 8532815
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 7 deletions.
Binary file modified 1.3/Assemblies/Locks.dll
Binary file not shown.
25 changes: 25 additions & 0 deletions 1.3/Patches/AddCompLockLTS.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[LTS]Furnishing</li>
</mods>
<match Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]/comps</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]</xpath>
<value>
<comps>
<li Class="Locks.CompProperties_Lock"/>
</comps>
</value>
</nomatch>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]/comps</xpath>
<value>
<li Class="Locks.CompProperties_Lock"/>
</value>
</match>
</match>
</Operation>
</Patch>
6 changes: 3 additions & 3 deletions 1.3/Patches/AddInspectTabLts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<li>[LTS]Furnishing</li>
</mods>
<match Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[@ParentName = "LTS_MedievalDoor" or @ParentName = "LTS_FuturisticDoor" or @ParentName = "LTS_SimpleDoor" or @ParentName = "LTS_SingleDoor" or @ParentName = "LTS_FancyDoor" or @ParentName = "LTS_ArchedDoor" or (@ParentName = "LTS_DoorBase" and not(@Abstract="True"))]/inspectorTabs</xpath>
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]/inspectorTabs</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@ParentName = "LTS_MedievalDoor" or @ParentName = "LTS_FuturisticDoor" or @ParentName = "LTS_SimpleDoor" or @ParentName = "LTS_SingleDoor" or @ParentName = "LTS_FancyDoor" or @ParentName = "LTS_ArchedDoor" or (@ParentName = "LTS_DoorBase" and not(@Abstract="True"))]</xpath>
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]</xpath>
<value>
<inspectorTabs>
<li>Locks.ITab_Lock</li>
</inspectorTabs>
</value>
</nomatch>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@ParentName = "LTS_MedievalDoor" or @ParentName = "LTS_FuturisticDoor" or @ParentName = "LTS_SimpleDoor" or @ParentName = "LTS_SingleDoor" or @ParentName = "LTS_FancyDoor" or @ParentName = "LTS_ArchedDoor" or (@ParentName = "LTS_DoorBase" and not(@Abstract="True"))]/inspectorTabs</xpath>
<xpath>/Defs/ThingDef[@Name = "LTS_DoorBase"]/inspectorTabs</xpath>
<value>
<li>Locks.ITab_Lock</li>
</value>
Expand Down
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>
<description>Version 2.7.7\nThis addon adds Lock command on every door.\n - Left-click to lock toggle.\n - Right click for more options\n - Alternatively you can use "Lock" inspector tab\n\nNote: Door lock must be flicked by colonist.</description>
<description>Version 2.7.8\nThis addon adds Lock command on every door.\n - Left-click to lock toggle.\n - Right click for more options\n - Alternatively you can use "Lock" inspector tab\n\nNote: Door lock must be flicked by colonist.</description>
</ModMetaData>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>
<p align="center">
<a href="https://github.com/Aviuz/Locks/releases">
<img src="https://img.shields.io/badge/version-2.7.7-blue.svg?style=flat" alt="v2.7.7" />
<img src="https://img.shields.io/badge/version-2.7.8-blue.svg?style=flat" alt="v2.7.8" />
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("2.7.*")]
[assembly: AssemblyFileVersion("2.7.8")]
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Changelog:
2.7.8
- More fixes for [LTS]Furnitures.
- Chinese translation update(https://github.com/shiuanyue)
2.7.7
- Fixes for patch [LTS]Furnitures.
- Compatibility patches for Architect Expanded - Fences (Continued).
Expand Down

0 comments on commit 8532815

Please sign in to comment.