tModLoader

tModLoader

67 ratings
Nurse Overhaul
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English, German, Russian
File Size
Posted
Updated
508.157 KB
22 Jul, 2023 @ 2:47am
8 Jun @ 1:19pm
27 Change Notes ( view )

Subscribe to download
Nurse Overhaul

Description
Overview

TL;DR: This mod adds: 7 items, 3 recipes, 1 hotkey for quick healing, and 1 shop.

From what I've seen, the Nurse is a divisive topic in the Terraria community. Some say she's a noob trap, while others believe she trivializes the game if used correctly. However, something everyone seems to agree on is that it can be difficult to get a heal from her when fighting, especially during boss fights. Everyone who has played through Terraria has at least one experience of trying to heal at the Nurse during a boss fight and accidentally killing their entire village of NPCs in the process. In my last playthrough, I wished many times that there was a small way to make it easier to press that heal button, something so it doesn't feel like you're opening a timed aim trainer every time you right-click on the Nurse. This mod solves this problem, attempts to balance the solution, and adds some small additional quality-of-life features centered around the Nurse.

Specifically, this mod adds three things centered around the Nurse and healing items:

1. A shop for the Nurse where she sells most types of healing potions.
2. A hotkey for paid Nurse healing and items earned through progression that increase this hotkey's range.
3. Recipes to bridge the gap between lesser/regular healing potions and later potions, and additional options to craft those later potions.

Things to Note

You need to manually bind the quick heal to a button in the Settings -> Controls -> Mod Controls menu.

Items that increase the Nurse's range will do so at a cost. The first item you get will only allow you to heal from the same room; the next will triple the range, but healing outside the room will increase the cost to three times the normal rate. Upgrades will further increase the quick heal range, from one screen to the entire surface to the entire world. However, the sweet spot will increase only by small amounts. You can easily tell if you are within the normal range of the item or the sweet spot as you will receive buffs for being in either range. So go ahead and use that quick heal while you're digging up that hellstone, but be sure to check with your financial advisor before you do.

For the Nurse quick heal at range items, King Slime, Eye of Cthulhu, and Brain of Cthulhu/Eater of Worlds all drop component items to upgrade the base Nurse VIP Badge, which is sold in the Nurse's shop. You will also be able to buy these items from her shop as you progress, but it is significantly cheaper to obtain them by killing the bosses.

IF YOU ARE PLAYING CALAMITY: Prices when fighting a boss are 5x what they normally are, so be careful. Also, the base heal cost increases by a flat amount depending on which bosses you have defeated.

Numbers should always be accurate to what you see on the Nurse, but since what you are being charged is reverse-engineered and manually implemented, if you find a situation where the quick heal doesn't match the price or there is some other issue, let me know and I can fix it. This applies to money reporting in the text box, actual money subtracted from your bank, and item text. If you find an issue, let me know.

Recipes

The added recipes are balanced against in-game recipes and require an Alchemy Table/Bottle crafting station to craft.

Current recipes:

Greater Healing Potion = 2x(Healing Potion) + Pixie Dust
Super Healing Potion = 4x(Greater Healing Potion)

CALAMITY ONLY:

Supreme Healing Potion = 4x(Super Healing Potion)

Shop

Unlike the Nurse Shop mod, items are not unlocked through stage progression; rather, each item is unlocked by killing individual bosses. This means that if you kill King Slime, the Nurse will start selling Healing Potions. If you kill Eye of Cthulhu before King Slime, Restoration Potion and the Nurse's Walkie Talkie will be unlocked, but Healing Potion won't be. Here is a full list of the items the Nurse will sell and their unlock conditions:

None: Mushroom, Bottled Water, Bottled Honey, Lesser Healing Potion, Nurse VIP Badge
King Slime: Healing Potion
Eye of Cthulhu: Restoration Potion
Brain of Cthulhu/Eater of Worlds: Nurse's Walkie Talkie
Skeletron: Nurse's Painted Shirt
Wall of Flesh: Lifeforce Potion, Greater Healing Potion, Nurse Nourishment Diamond
Ancient Cultist: Super Healing Potion

CALAMITY ONLY:

Moon Lord: Supreme Healing Potion
Devourer of Gods: Omega Healing Potion

TOGGLEABLE (DISABLED BY DEFAULT):

Eye of Cthulhu: Life Crystal
All Mech Bosses: Life Fruit

If there are healing-related items that people would find useful to be added to the shop, leave a comment, and I’ll see if I should add them.

There are also old ideas floating around for a more comprehensive overhaul, including quests to kill certain monsters that reset every Terraria day and medically inspired combat items. If that sounds interesting, leave a comment.

Special Thanks

A huge thank you to the legendary NotLe0n for allowing me to use his UI/UISystem to create the Nurse's shop. Core UI elements were adapted with modifications from his mod AnglerShop.

Another big thank you to Solafide Media for creating the sprites for the items and one of the buffs. They brought my vision for the items to life and did what I couldn’t. Check out his work on Fiverr.

Shout out to another legend, jopojelly, for helping me figure out how to automatically adjust my manual pricing based on the Nurse's happiness and pointing me to catGPT for shop help. It was amazing to Google something and see a response from them from 7+ years ago, then go to the Discord and have them answer one of my questions.

Also, shout out to ThomasthePencil and catGPT in the Discord for help with shop indexing in the 1.4.4 preview. Adding a shop to a vanilla NPC without a shop isn’t as straightforward as you might think, but they helped me get it over the finish line.

Gotta mention my boy TheEdster3 for guiding me through the beginning of my journey on this project, decompiling Terraria and planting the seed that would eventually become Nurse Overhaul. He left me with a heal that max-healed every game tick you were next to the Nurse, and now we’re here.

And thanks to the community in general for having so many resources. A lot of work goes into tModLoader and its supporting documentation, and I definitely took it for granted before diving into this project. If you’ve worked on any part of tModLoader, let me say from a simple player: thank you.

Recent Changes

I ran out of room to keep updating patch notes here, so check out my Terraria Forum post[forums.terraria.org] for the latest changes
61 Comments
Selystra  [author] 31 Jul @ 8:48pm 
Just made a new character on a new world to test, and everything is working on my end with all 4 items in inventory. Maybe a conflicting keybind? Have you tried binding to something else?
Volcano2207 31 Jul @ 5:14pm 
even after binding the key the ranged heal does not work even with all 4 items and the buff showing
Selystra  [author] 24 Jul @ 5:39pm 
It should definitely still work, don't think there's been too many changes to the main game to break anything.

The only reason the shop should be disabled is if you have to heal from the Nurse. The reason why is the UI breaks as the text from the Heal button overflows over everything else.

As for the heal key, only reasons I can think why that wouldn't work is if you didn't have the item in your inventory or if you disabled it in the configuration.

If those aren't the problems it could be a different bug that I haven't caught. Let me if that's the case and I'll try to help you figure it out.
Luwees 23 Jul @ 5:39pm 
doest his mod still work? its on right now for my calamity playhtough but the shop isnt there and the heal key doesnt work (bound to ` for reference).
Barzen 10 Jun @ 9:53am 
Awesome, thanks a lot! :-)
Selystra  [author] 8 Jun @ 1:26pm 
You were right, that was way easier than I was expecting. Just pushed it as patch 1.0.9.

I did some basic testing, but let me know if you have any problems or need anything else!
Barzen 31 May @ 2:50pm 
Thanks for the fast answer! :-)
I just thought that other people would also appreciate this feature ^^
The needed code change shouldn't be difficult. When looking for "player having item in inventory" you should be able to just use the Player method "HasItemInAnyInventory(int type)".
Selystra  [author] 28 May @ 2:20pm 
No problem Barzen :)

The items are intended to be inventory only, but I can take a look at adding a toggle in the options so you can choose to make them work from other parts of your storage. I'm pretty swamped right now with other projects, but I'll take a look in a week or two and see if I can make a quick update
Barzen 27 May @ 11:46pm 
@Selystra: first a big thanks for the mod, it makes testing a lot easier! <3
I just noticed the nurse remote healing items only work when in the main inventory. Is that intended? If not, can you please make them work in the Piggy Bank / Safe / Void Vault?
Wonder of U 18 May @ 7:08pm 
Eyyy, thanks, lad!