Don't Starve Together
2,115 ψήφοι
Repair Combine
2
2
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
565.171 KB
21 Σεπ 2016, 19:52
16 Αυγ, 0:19
10 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Repair Combine

ΠΕΡΙΓΡΑΦΗ
With this mod you can repair your equipment with the same equipment.

So you can combine a logsuit with 10% and a logsuit with 30% to a logsuit with 40%!

This mod works for things with:
finiteuses (like weapons), armor, fueled and perishable+equipable.

Added in modsettings "bonus durability". By default it is off.
You can choose from +1% to +10% or even randomly. Also negative bonus is possible, if you prefer.
So when combining a 30% item and a 40% item, you may get an item with up to 80% if you wish so.

Also works correctly for stackables like Bull Kelp Stalk and mod items.


Also take a look at other mods I made, see my workshop ;)


DS version from another author:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1532277729


Update 12.12.2019:
- Added option to disable/enable repair-combine for specific components. (all enabled by default)
So if you want to be able to repair-combine weapons/tools (finiteuses) but not anything fuelable or perishable, you can change the settings accordingly.

- Added option to also increase the max values! (disabled by default)
A spear usually has a max usage of 150.
If this setting is enabled, and you combine 2 full spears, you will get one spear with 300 of 300 uses (will still show 100%).
If you combine instead a spear with 100 uses left (66.6%) and a spear with 50 uses left (33.3%), you will get a spear with 150 of 300 uses left (50%).
For fueled items, like a lantern, this means after combinging eg. 10 lanters, the new lantern can hold 10 times more fuel.
For perishable items it's more like a nerf, since whether something is stale or not, depends on the percentage, not of the values. So combining two perishable items will yield an item with average freshness of these both, which might make the result worse than using both on their own.

Of course the bonus setting still applies. In case of our 150/300 spear example, you will get x% on top of 150. So with that bonus you again may make perishable items more fresh.

In case I get inactive and do not respond to bugfixes/feature requests, everyone is free to fork this or other of my mods to fix/expand them. As long as I'm responding also feel free to write new/better code for it and I may upload it and add you as author if you want.
174 σχόλια
♥KRYPT1CC♥ 16 Αυγ, 15:42 
@Serp thank you!
Serp  [Δημιουργός] 16 Αυγ, 0:21 
@♥KRYPT1CC♥
- added priority = 2 to the combinerepair action.
this prioritizes the combinerepair action more compared to other actions, so now you can eg. also repair the "luxury fan".

Let me know if this causes problems for other objects
♥KRYPT1CC♥ 15 Αυγ, 15:56 
please make work with luxury fan :) The luxury fan already has a right click prompt to use it, so this mod doesn't work for it.
Serp  [Δημιουργός] 27 Ιουλ, 10:42 
@would be helpful if you could test a bit more if this also happens while only this mod is active. And you also can take a look at the logifle to possibly see which line in which mod is causing it.

with console cheat "c_give("lantern") you can cheat you a lantern in your inventory if you are host (eg. to test it in a new game, to not use your main game for testing)
무신・ 우 일석 27 Ιουλ, 0:06 
lantern is repaired, ctd
海獺 24 Ιουλ, 22:58 
Very useful
Serp  [Δημιουργός] 21 Ιουν, 7:24 
@白起43 I dont know "wegame", but I think this was requested alot in the past, so I assume it is already on wegame. But yes, I allow it to be posted on wegame with credits and link to this original.

Why do you want to integrate it into your mod? Please dont do this, just let people install the original or the wegame upload. If you have suggestions on improving my mod, let me know
白起43 20 Ιουν, 21:00 
Dear author,

I am a player of DST and also a mod developer and sharer on the WeGame platform. Recently, I came across your mod on Steam and was deeply impressed by its creativity and functionality. I believe it would be well-received in the WeGame community.

Therefore, I am writing to request your authorization to transfer your mod to the WeGame platform. To ensure your rights and respect your original work, I will retain your name and provide detailed credit to you as the original author in the mod description. Additionally, I would like to integrate some of your mod's features and content into my own mod to enhance the overall gaming experience.

If you agree to grant permission, please let me know if you have any special requirements or considerations.

Thank you very much for considering this proposal, and I look forward to your response.

Best regards
Serp  [Δημιουργός] 13 Μαϊ, 17:12 
@九尾仙狐: simply select one item and hold it hover another item (must be the same kind), then the tooltip to "repair" should appear.
As mentioned in decsription, does not work for all objects, but many.
九尾仙狐 10 Μαϊ, 7:57 
Does anyone know how to use this? I’m not sure how to merge things.??