Skip to content

Commit

Permalink
First publish
Browse files Browse the repository at this point in the history
  • Loading branch information
emipa606 committed Jul 27, 2022
0 parents commit bd68475
Show file tree
Hide file tree
Showing 30 changed files with 1,233 additions and 0 deletions.
236 changes: 236 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
.vs/

# Roslyn cache directories
*.ide/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# Rimworld specific
_PublisherPlus.xml
lastrun.log
Binary file added 1.3/Assemblies/CustomPrisonerInteractions.dll
Binary file not shown.
Binary file added 1.3/Assemblies/VersionFromManifest.dll
Binary file not shown.
71 changes: 71 additions & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>Custom Prisoner Interactions</name>
<packageId>Mlie.CustomPrisonerInteractions</packageId>
<author>Mlie</author>
<url>https://github.com/emipa606/CustomPrisonerInteractions</url>
<supportedVersions>
<li>1.3</li>
</supportedVersions>
<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>
<li>Ludeon.Rimworld.Ideology</li>
<li>avius.prisonlabor</li>
</loadAfter>
<incompatibleWith>
<li>Mlie.ConvertThenEnslave</li>
<li>Mlie.ConvertThenRecruit</li>
<li>Mlie.ConvertThenRelease</li>
<li>Mlie.ReleaseWhenHealthy</li>
</incompatibleWith>
<description>[img]https://i.imgur.com/buuPQel.png[/img]

Adds various extra options to the prisoner Interactions for Converting and Releasing prisoners.

So I've previously made some different prisoner interraction-mods and since the total number of different options started getting out of hand I combined them into this mod. The original mods will stay around as long as anyone still wants to use them but this mod has the same features as the others combined plus some improvements.

The original mods added extra prisoner interraction choices and since only the option for selecting ideology to convert to was visible when choosing the vanilla Convert-choice the process for selecting ideology for the custom convert-options was a bit difficult if you had colonies with multiple ideologies.
This mod instead adds an option-button for the Convert and the Release-choice so all vanilla options regarding Ideology will also be visible.

The other difference is that this mod enables you to select options per prisoner. So you can for example select to release a hurt prisoner without waiting for them to be healthy without changing any global options.
There is also options in the mod-settings if you want to change what option is set by default.

You can use this mod without owning Ideology, as it will still show for the release-option.

If you have suggestions for more options, please leave a comment and Ill see if I can add them to the mod.

[table]
[tr]
[td][url=https://invite.gg/Mlie][img]https://i.imgur.com/zdzzBrc.png[/img][/url][/td]
[td][url=https://github.com/emipa606/CustomPrisonerInteractions][img]https://i.imgur.com/kTkpTOE.png[/img][/url][/td]
[/tr]
[tr]
[td][img]https://i.imgur.com/WjDSfUn.png[/img][/td]
[td][img]https://i.imgur.com/h5VwTNL.png[/img][/td]
[/tr]
[/table]

[img]https://i.imgur.com/O0IIlYj.png[/img]
Since modding is just a hobby for me I expect no donations to keep modding. If you still want to show your support you can gift me anything from my [url=https://store.steampowered.com/wishlist/id/Mlie]Wishlist[/url] or buy me a cup of tea.

[url=https://ko-fi.com/G2G55DDYD][img]https://i.imgur.com/Utx6OIH.png[/img][/url]

[img]https://i.imgur.com/PwoNOj4.png[/img]
[list]
[*] See if the the error persists if you just have this mod and its requirements active.
[*] If not, try adding your other mods until it happens again.
[*] Post your error-log using [url=https://steamcommunity.com/workshop/filedetails/?id=818773962]HugsLib[/url] and command Ctrl+F12
[*] For best support, please use the Discord-channel for error-reporting.
[*] Do not report errors by making a discussion-thread, I get no notification of that.
[*] If you have the solution for a problem, please post it to the GitHub repository.
[/list]
</description>
</ModMetaData>
4 changes: 4 additions & 0 deletions About/Changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Changelog for CustomPrisonerInteractions

1.3.0 - First publish

11 changes: 11 additions & 0 deletions About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>CustomPrisonerInteractions</identifier>
<version>1.3.0</version>
<dependencies />
<incompatibleWith />
<loadBefore />
<loadAfter />
<manifestUri>https://raw.githubusercontent.com/emipa606/CustomPrisonerInteractions/master/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/emipa606/CustomPrisonerInteractions/releases</downloadUri>
</Manifest>
18 changes: 18 additions & 0 deletions About/ModSync.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<ModSyncNinjaData>
<ID>74b7df5b-73c0-4825-884b-61df997d22b7</ID>
<ModName>Custom Prisoner Interactions</ModName>
<Version>1.3.0</Version>
<SaveBreaking>False</SaveBreaking>
<Host name="Github">
<Owner>emipa606</Owner>
<Project>CustomPrisonerInteractions</Project>
<AboutDir>About</AboutDir>
<DownloadFrom>ModSyncMainPage</DownloadFrom>
<Branch>master</Branch>
</Host>
</ModSyncNinjaData>




Binary file added About/Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Mlie

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
22 changes: 22 additions & 0 deletions Languages/English/Keyed/Strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>
<CPI.releasewhenhealthy>Only when healthy</CPI.releasewhenhealthy>
<CPI.thenrecruit>Recruit after</CPI.thenrecruit>
<CPI.reduceresistancefirst>Reduce resistance before</CPI.reduceresistancefirst>
<CPI.reduceresistancefirstthenrecruit>Reduce resistance before, recruit after</CPI.reduceresistancefirstthenrecruit>
<CPI.thenenslave>Enslave after</CPI.thenenslave>
<CPI.reducewillfirst>Reduce will before</CPI.reducewillfirst>
<CPI.reducewillfirstthenenslave>Reduce will before, enslave after</CPI.reducewillfirstthenenslave>
<CPI.thenrelease>Release after</CPI.thenrelease>
<CPI.reduceresistancefirstthenrelease>Reduce resistance before, release after</CPI.reduceresistancefirstthenrelease>
<CPI.none>None</CPI.none>
<CPI.change>Change</CPI.change>
<CPI.options>Options</CPI.options>
<CPI.pawnconvertedrelease>{0} has been converted and will now be scheduled for release</CPI.pawnconvertedrelease>
<CPI.pawnconvertedrecruit>{0} has been converted and will now be recruited</CPI.pawnconvertedrecruit>
<CPI.pawnconvertedenslave>{0} has been converted and will now be enslaved</CPI.pawnconvertedenslave>
<CPI.released>{0} is being released</CPI.released>
<CPI.defaultrelease>Default release action: {0}</CPI.defaultrelease>
<CPI.defaultconvert>Default convert action: {0}</CPI.defaultconvert>
<CPI.version>Installed mod-version: {0}</CPI.version>
</LanguageData>
Loading

0 comments on commit bd68475

Please sign in to comment.