Crusader Kings III

Crusader Kings III

56 ratings
Auto Repair Artifacts - 1.16
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
439.161 KB
6 Dec, 2024 @ 9:15am
7 May @ 10:39am
6 Change Notes ( view )

Subscribe to download
Auto Repair Artifacts - 1.16

Description
Continuation of the "Auto Repair Artifacts - 1.9" mod (link here), which is a continuation of the "Auto Repair Artifacts" mod (link here).
I updated GUI changes bringing the mod in line with the current version, added missing translations and elements untranslated in the pre-existing translations, added button to select what durability an artifacts must have to be repaired.

In-game artifact destruction system

The current in-game artifact destruction system works in such a way that the price of repair depends on the durability and rarity of the artifact. When the durability is low, player receives a notification that the item's durability is low. When item's durability reaches zero item will be destroyed.

What the mod adds

- The mod adds a button to enable/disable automatic repair of artifacts (mod repairs personal artifacts and court artifacts). Repair in the modification works just like normal repair - you have to have money to get the artifacts repaired!

- Automatic repair can be set so that only currently used artefacts are repaired.

- In addition, when auto-repair is activated, it shows next to the button ¼, 1, 3 or 5 - clicking on the number changes how often the mod repairs items.

- In addition, when auto-repair is activated, it shows next to the button 0-25%, 0-55% or 0-85% - clicking on the button changes what durability an artifacts must have to be repaired (to avoid repairing 99% durability artifacts every year).

Compatibility

Mod should be compatible with all other mods, except those that change the GUI of the inventory (window_inventory.gui).

In the case of mods that modify window_inventory.gui, you can combine mods yourself, remembering to add lines from the file from this mod to window_inventory.gui, starting with:

vbox = {
name = "auto_reforge_durability_area"
visible = "[Artifact.GetOwner.IsLocalPlayer]"

to:

spacer = {
size = { 6 6 }
}


If you have any errors/problems/propositions please comment or open a discussion. Translations for several languages have been created using an online translator, so please let me know if you notice any errors.
34 Comments
Mein Gott Walter 11 Jul @ 2:23am 
Hey, thank you for the help @Samuel L, I already tried combining both mods and failed, have given up after like 4h xD. I then downloaded "Repair all" mod and fixed that with chat gpt and now i have a working mod ffor fixing artifiacts^^. Still Thank you :reheart::yazdsmile:
Samuel L 10 Jul @ 10:20pm 
copy from


vbox = {
name = "auto_reforge_durability_area"

.....

to:


spacer = {
size = { 6 6 }
}


and paste that underneath

expand = {}
under
hbox = { # artifact sorting
Samuel L 10 Jul @ 10:16pm 
@Mein Gott Walter Ask Chatgpt to tell you how to make it, lol... it's littertally just copy and pasting a block into the correct area. I wihs I can upload files here, but I can't.
Mein Gott Walter 10 Jul @ 9:42am 
Okay no problem, still thank you for ansvering :) @Ereno :reheart::crusader_helmet::cozyspaceengineersc:
Ereno  [author] 10 Jul @ 6:44am 
@Mein Gott Walter - Ofc it's possible, but I don't want to make special version of this mod for every other mod that changes the inventory GUI, so I won't be doing that.
Mein Gott Walter 10 Jul @ 3:29am 
Hey, would it be possible, to do a comppatch with the More Artifact Slots - Extra Inventory and Additional Court Space Patch mod? would be nice to know if this is possible :D :reheart:
Tarkain 23 Jun @ 11:07am 
<3
Tarkain 23 Jun @ 10:38am 
open beta with latest version of CK3
Ereno  [author] 23 Jun @ 10:37am 
Do u play on Realm in Exile with changed version of CK3 to 1.15.X or Realm in Exile Open Beta on the latest version of CK3?