Skip to content

Commit

Permalink
Merge pull request #3982 from TheLonerD/update-locks-mod
Browse files Browse the repository at this point in the history
Update Locks mod from workshop.
  • Loading branch information
TheLoneTec authored Dec 21, 2024
2 parents 326cfe9 + 393dea9 commit 22c8afb
Show file tree
Hide file tree
Showing 12 changed files with 130 additions and 69 deletions.
Binary file modified Mods/Locks/1.5/Assemblies/Locks.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions Mods/Locks/1.5/Patches/AddCompLockSoS2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<li>Save Our Ship 2</li>
</mods>
<match Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]/comps</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]/comps</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]</xpath>
<value>
<comps>
<li Class="Locks.CompProperties_Lock"/>
</comps>
</value>
</nomatch>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]/comps</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]/comps</xpath>
<value>
<li Class="Locks.CompProperties_Lock"/>
</value>
Expand Down
6 changes: 3 additions & 3 deletions Mods/Locks/1.5/Patches/AddInspectTabSoS2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<li>Save Our Ship 2</li>
</mods>
<match Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]/inspectorTabs</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]/inspectorTabs</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]</xpath>
<value>
<inspectorTabs>
<li>Locks.ITab_Lock</li>
</inspectorTabs>
</value>
</nomatch>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[thingClass = "Building_ShipAirlock"]/inspectorTabs</xpath>
<xpath>/Defs/ThingDef[thingClass = "SaveOurShip2.Building_ShipAirlock"]/inspectorTabs</xpath>
<value>
<li>Locks.ITab_Lock</li>
</value>
Expand Down
2 changes: 1 addition & 1 deletion Mods/Locks/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>
<description>Version 2.9.1\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.9.3\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 Mods/Locks/Languages/English/Keyed/Keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Locks_Description>When unlocked all pawn will be allowed to use this door.\n[Right click for more options]</Locks_Description>

<Locks_PrisonBreak>Escaping prisoners respecting locks</Locks_PrisonBreak>
<Locks_SlaveRebel>Rebeling slaves respecting locks</Locks_SlaveRebel>
<Locks_SlaveRebel>Rebelling slaves respecting locks</Locks_SlaveRebel>

<Locks_StatePrefix>Door</Locks_StatePrefix>
<Locks_StateLocked>locked</Locks_StateLocked>
Expand Down
5 changes: 3 additions & 2 deletions Mods/Locks/Languages/Russian/DefInjected/JobDef/JobDefs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<Locks_Flick.reportString>Закрытие/открытие TargetA.</Locks_Flick.reportString>
<!-- EN: locking/unlocking TargetA. -->
<Locks_Flick.reportString>запирает/отпирает TargetA.</Locks_Flick.reportString>

</LanguageData>
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<Locks_Flick.label>Закрыть/открыть дверь</Locks_Flick.label>
<Locks_Flick.verb>Закройте/откройте дверь</Locks_Flick.verb>
<Locks_Flick.gerund>Закройте/откройте дверь</Locks_Flick.gerund>
<!-- EN: lock/unlock door -->
<Locks_Flick.label>запирать/отпирать дверь</Locks_Flick.label>
<!-- EN: lock/unlock -->
<Locks_Flick.verb>запереть/отпереть</Locks_Flick.verb>
<!-- EN: locking/unlocking -->
<Locks_Flick.gerund>запереть/отпереть</Locks_Flick.gerund>

</LanguageData>
163 changes: 108 additions & 55 deletions Mods/Locks/Languages/Russian/Keyed/Keys.xml

Large diffs are not rendered by default.

Binary file removed Mods/Locks/Textures/lock.dds
Binary file not shown.
Binary file removed Mods/Locks/Textures/lock_designator.dds
Binary file not shown.
Binary file removed Mods/Locks/Textures/unlock.dds
Binary file not shown.
4 changes: 4 additions & 0 deletions Mods/Locks/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Changelog:
2.9.3
- Save Our Ship 2 fix (https://github.com/ThisIsSP4RTAN)
2.9.2
- Doors Expanded fix
2.9.1
- Reverted back files version for Rimworld 1.4
- Future new futures will be only for Rimworld 1.5+
Expand Down

0 comments on commit 22c8afb

Please sign in to comment.