[Mod] Repair Tools
-
- Posts: 149
- Joined: Wed Aug 14, 2019 11:32 am
- Location: Russia
- Magicono43
- Posts: 1141
- Joined: Tue Nov 06, 2018 7:06 am
Re: [Mod] Repair Tools
Yeah, that should be possible, I was able to do it with the Roleplay Realism Items armor pieces, so it should work the same in theory.
- Magicono43
- Posts: 1141
- Joined: Tue Nov 06, 2018 7:06 am
Re: [Mod] Repair Tools
Released v1.07, Added Climates and Calories "Camping Equipment" to valid repair list for the sewing kit. Also added some console commands for easier testing as well as completely broken items as valid list items, but you will be given an info message instead.
-
- Posts: 149
- Joined: Wed Aug 14, 2019 11:32 am
- Location: Russia
- Magicono43
- Posts: 1141
- Joined: Tue Nov 06, 2018 7:06 am
- Ralzar
- Posts: 2211
- Joined: Mon Oct 07, 2019 4:11 pm
- Location: Norway
Re: [Mod] Repair Tools
I really think you should add a timeskip when you use repair items. With magic, and particularly Magica Regen, you can basically instantaneously repair your items much cheaper and faster than if you turn them in for repair. Because you just cast a few Stamina spells and keep going. It honestly gets a little weird. You can stand in the blacksmiths shops and in two seconds make your items almost new, then give them to the blacksmith to repair the last bit.
You can just add this to the fatigue reducing code:
1800 is the seconds. So in this example the clock gets skips 30 minutes forward each time you use a repair tool.
Another thing you could consider: have a max level you can repair to based on the items worth. So a high value item can be repaired a lot less than a low value one, because you need a real craftsman to fix a fancy item.
You can just add this to the fatigue reducing code:
Code: Select all
DaggerfallUnity.Instance.WorldTime.Now.RaiseTime(1800);
Another thing you could consider: have a max level you can repair to based on the items worth. So a high value item can be repaired a lot less than a low value one, because you need a real craftsman to fix a fancy item.
- Magicono43
- Posts: 1141
- Joined: Tue Nov 06, 2018 7:06 am
Re: [Mod] Repair Tools
Released v1.08, Made it so using a repair tool on-top of costing some fatigue to do the task, also forwards time as well. The time taken is determined by the tool being used and on the Speed and Agility attributes of the player, different attribute effect based on the task done.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: [Mod] Repair Tools
Great stuff.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
-
- Posts: 51
- Joined: Mon Sep 16, 2019 2:06 am
Re: [Mod] Repair Tools
Are you saying I can actually carry one weapon (and my secondary melee backup) & not have to lug around three bows anymore!? If so I'm going to scream!
- Magicono43
- Posts: 1141
- Joined: Tue Nov 06, 2018 7:06 am
Re: [Mod] Repair Tools
Indeed, in that case for the bow you would just need to carry 1-2 bottles of Epoxy Glue if you were using the bow A LOT, 1 would probably suffice honestly. But make sure that you don't allow the bow in question to break completely before trying to DIY repair it, otherwise you are out of luck until you find a professional blacksmith to repair it then.ZerioctheTank wrote: ↑Wed Oct 21, 2020 12:38 am Are you saying I can actually carry one weapon (and my secondary melee backup) & not have to lug around three bows anymore!? If so I'm going to scream!