[Mod] Guilds Cure Poison

Show off your mod creations or just a work in progress.
Post Reply
flynsarmy
Posts: 12
Joined: Tue Dec 22, 2020 11:39 pm

[Mod] Guilds Cure Poison

Post by flynsarmy »

Fed up with the death sentence that is poison on a warrior, I built a simple mod to add a 'Cure Poison' service to any temple healer with 'Cure Disease'.

Image

Description

The price and functionality works exactly the same, only the newly added button cures all poisons instead of diseases.

Installation

Full source code as well as dfmod's for every OS are available over at the GitHub repo.
Copy the `.dfmod` for your OS of choice to your DFU installations StreamingAssets\Mods folder.

Future Improvements

There's a lot of room for improvement with this mod from its current state. Namely the following:
  • A new popup window texture could be made to give the buttons individual 'button' appearance
  • The price shown in the confirmation window is set to 0 (though you'll be charged the correct amount)
  • If you click the button when not poisoned, you get the standard 'You are not diseased' message. This should be changed to 'poisoned'.
  • I wouldn't mind this service being added to all alchemists in the game too
Pull requests would be happily accepted on the GitHub repo!

User avatar
Midknightprince
Posts: 1302
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: [Mod] Guilds Cure Poison

Post by Midknightprince »

Somebody FINNALY made this thing ?


THANK YOU MAN, and the people who don't say anything are thanking you too !
Check out my YouTube Channel!

Superhessu
Posts: 1
Joined: Tue Jan 12, 2021 5:26 pm

Re: [Mod] Guilds Cure Poison

Post by Superhessu »

Hi,

Thank you for this very much needed mod. My character is about die but still surviving :) Willpower is down to 24 now.

So, i installed the mod. I went to Kynareth temple, clicked the "cure poison" link and priest informed me that prize was haggled to 0 gold. I clicked accept but then it says "You do not have enough gold". I have 200-300 gold. Any idea whats wrong? :o :shock: :D

Thanks!

flynsarmy
Posts: 12
Joined: Tue Dec 22, 2020 11:39 pm

Re: [Mod] Guilds Cure Poison

Post by flynsarmy »

Yes the message will say 0 gold but you'll be charged the same number you would if you were curing disease. I couldn't figure out how to fix this in the plugin. It's probably costing you a little bit more than 300.

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

Re: [Mod] Guilds Cure Poison

Post by Hazelnut »

Looked at the code and seems well done. Might be simpler to just mod the cure disease menu option to work on poisons as well, but there's little reason to do this presently as the service code is not moddable without overriding this whole UI window. That should be changed, but no timescale.

Anyway, good job. :)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply