Skip to content
TORNLIFE More

[Script] Torn: Hospital Time

Started by Rescender [2526540] on in Tools & Userscripts.

21 replies · 2.95k views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 22 / 22 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
22
Discussion span
→
Authority score
39 / 100
Historical score
40 / 100
Story score
53 / 100
Engagement score
74 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Most-liked replies

Mentioned in this thread

Chi [2487971] ×1

Rescender [2526540]
UPDATE: August 5th, 2023, There is an updated version 0.4.5 with a fix.

Are you annoyed that you have to hover over the hospital icon to see how much hospital time you have left and decide which health item to use? Selling losses and want to revive faster? This is for you guys.

This script adds a small countdown on the item page with time remaining and also highlights the most efficient health item to use.
If you already use Quick items with TornTools this makes it even easier.



[image: i.postimg.cc]

Get the script now!

Let me know how it works for you and if it makes your life easier!
Thanks!
Rescender [2526540]
Thanks for asking! I didn't test it there actually. I'm guessing it won't but would probably be easy enough to make it do that. I'll take a look.
ladymeba [2499340]
it works :D - the placing of the timer is a littl off...but that is not a game breaker for me - I can see my remaining hosp time and got a swish glowing medical item!

Simple but effective
Rescender [2526540]
Thanks! Yeah, I could probably fix some styling, the timer on mobile is definitely wonky. I mean with the glowing indicator of what item to use, the timer might not even be necessary but I know it's nice to actually see the time for some people. I have a bug to fix as well so maybe i'll look into fixing the style issue.
ladymeba [2499340]
I'll be honest - I would love to have that time displayed on all pages - as it is I have a tab open on the hospital on another screen so I can glance at it... I spend a LOT of time (self imposed) in hospital....lol
Rescender [2526540]
New update. I think I fixed the styling, for the most part, looks better on mobile for sure. Still just shows on items and faction pages. I'll see if I can make it optionally show on all pages.
Rescender [2526540]
UPDATE: v0.4.0 Per a user request, you can now set your medical item effectiveness (based on your completed education) with the new settings icon.
iPunish [1604376]
Not a bad looking script. I’ve always just pop a morph a fak and back to morph and fak until I’m out. Never really cared if I wasted a few mins of a medical item
Rescender [2526540]
It used to so I may have to look and see what changed for it to stop working there.

As for TornPDA, I never tested it there or even used TornPDA so I would doubt it works there.
Kwack [2190604]
It wouldn't be too difficult to port to a PDA script, you'd just have to replace the GM_ API with vanilla JS counterparts.

getvalue/setvalue via localstorage, GM_addStyle by appending a <style> element with the style as its innerHTML to the document head.

You would have to take into account mobile viewports and how your selectors may need to change as well.
Vic47 [3266561]

Is there a way to remove highlighted medkit jumping animaton? It's really annoying and makes it hard to catch the clickable text to use another one next time.