Crusader Kings III

Crusader Kings III

89 个评价
自动修复宝物
2
2
   
奖励
收藏
已收藏
取消收藏
Gameplay, Utilities
Compatible Version: 1.18 'Crane'
文件大小
发表于
更新日期
439.213 KB
2024 年 12 月 6 日 上午 9:15
10 月 28 日 上午 10:55
7 项改动说明 ( 查看 )

订阅以下载
自动修复宝物

描述
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.
36 条留言
响铛河狸 11 月 8 日 下午 8:30 
Hello, I wanted to let you know that I used your code to successfully adapt the More Artifact Slots mod. Thank you so much for your hard work and for making this available! The mod's page has been credited with a link to your original work.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3377610510
meng 11 月 5 日 下午 9:29 
thanks
Mein Gott Walter 7 月 11 日 上午 2:23 
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 7 月 10 日 下午 10:20 
copy from


vbox = {
name = "auto_reforge_durability_area"

.....

to:


spacer = {
size = { 6 6 }
}


and paste that underneath

expand = {}
under
hbox = { # artifact sorting
Samuel L 7 月 10 日 下午 10:16 
@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 7 月 10 日 上午 9:42 
Okay no problem, still thank you for ansvering :) @Ereno :reheart::crusader_helmet::cozyspaceengineersc:
Ereno  [作者] 7 月 10 日 上午 6:44 
@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 7 月 10 日 上午 3:29 
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 6 月 23 日 上午 11:07 
<3