Base DFU feature request - buying items won't automatically equip them

Talk about the mods or features you'd like to see in Daggerfall Unity. Give mod creators some ideas!
User avatar
Hazelnut
Posts: 2683
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Base DFU feature request - buying items won't automatically equip them

Post by Hazelnut »

pango wrote: Fri Feb 05, 2021 5:09 pm I'm fine with this change to inventory.
So, just to be clear, it will also apply to shopping, left click = equip, right click = just add to inventory?
Yes, exactly. Will take maybe 15-20 mins to implement and test.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
GeeTee
Posts: 4
Joined: Wed Jan 27, 2021 10:32 am
Location: Australia

Re: Base DFU feature request - buying items won't automatically equip them

Post by GeeTee »

Hazelnut wrote: Fri Feb 05, 2021 4:15 pm Implementing this behaviour would be very easy to do and I am happy to do this..
Fantastic! Glad to hear it :D
pango wrote: Fri Feb 05, 2021 5:09 pm ... it will also apply to shopping, left click = equip, right click = just add to inventory?
I agree with this approach, the current LMB action should remain unchanged to preserve default behaviour.

User avatar
jefetienne
Posts: 138
Joined: Thu Jan 16, 2020 8:14 pm
Location: Gallomont, Wayrest
Contact:

Re: Base DFU feature request - buying items won't automatically equip them

Post by jefetienne »

Hazelnut wrote: Fri Feb 05, 2021 4:15 pm To do this it will require moving the functionality currently on right click that's to cycle visual variants (mainly for clothes) which is a DFU QoL addition I believe. I would move this to middle mouse click (press scroll wheel) so that right click would work as described in the DF manual.

Any opinions on this? Especially from Interkarma and the other devs.
As the person who made that QoL, it sounds fine to me. In this case, I might need to add middle click keybind for controller support since a person can only map left and right clicks at the moment.
El jefe, Etienne
Nexus Mods | GitHub

User avatar
Hazelnut
Posts: 2683
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Base DFU feature request - buying items won't automatically equip them

Post by Hazelnut »

Thanks Jefetienne. I will go ahead and submit a PR for Interkarma to close or merge as I don't think he's going to say either way on this thread. Shouldn't take long to do.

PR#2032 submitted. Please test it in case I missed an edge case anywhere.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
jefetienne
Posts: 138
Joined: Thu Jan 16, 2020 8:14 pm
Location: Gallomont, Wayrest
Contact:

Re: Base DFU feature request - buying items won't automatically equip them

Post by jefetienne »

Sure thing, I'll go ahead and take a look tonight. Thanks!
El jefe, Etienne
Nexus Mods | GitHub

Post Reply