Add Safety Checks to MedBots

Read these before you make a suggestion.
User avatar
Surrealistik
Registered user
Posts: 1294
Joined: 04 Jul 2015, 17:57

Add Safety Checks to MedBots

Postby Surrealistik » 06 Jul 2016, 18:43

Summary (a quick, 2-3 sentence summary):

Now that Tricordrazine deals brain damage on overdose, Medbots by default should cap their injections of Tricord at the OD threshold.


Benefits (How this will benefit the server and game as a whole):

Stops people from ODing due to overzealous Medbots; makes Medbots more useful.


Details (Description of how you think this would work, the benefits, etc):

Medbots now have a safety setting toggle.

While the safety is toggled on, whenever a Medbot is triggered to inject and treat a patient, it automatically adjusts the injection dosage such that it doesn't exceed the threshold for overdosing. For example, if a Medbot is set to inject 15 U of Tricord, and a patient has 25 U of Tricord in their system, it will reduce the dosage to 5 U (so it doesn't exceed the threshold of 30 U). If there is no safe dosage the Medbot can administer to a patient (because it has 30 U Tricord or more), it will ignore the patient until it can safely inject him.

While the safety is toggled off (which can only be done when the Medbot's controls are unlocked), it will follow its default behaviour.


Implementation (Optional, if you have an idea how to implement it):

Minor coding changes.
Sur 'Druglord' Lahzar; Combat Engineer, Demolitions Specialist, Perpetually Understaffed and Exasperated CMO/Researcher

Sur 'Druglord' Lahzar says, "ASS BLAST U-S-A!!!"
User avatar
KingKire
Registered user
Posts: 725
Joined: 30 May 2016, 11:53

Re: Add Safety Checks to MedBots

Postby KingKire » 04 Aug 2016, 14:11

+1 Bump. Dont want medibots givin people the ol' death by a robots love routine.
Gaze upon me,
for I have wandered deep into the ancient tombs of knowledge to which lie madness and sorrow, cleansing a path for all those who walk behind me...


...

But seriously, does uh, anyone know the way out?!


~Furthermore, I consider that Floodlights should no longer be destroyed.~
User avatar
forwardslashN
Registered user
Posts: 2475
Joined: 14 Dec 2015, 23:12
Byond ID: forwardslashN

Re: Add Safety Checks to MedBots

Postby forwardslashN » 04 Aug 2016, 15:12

This seems pretty reasonable.
Image
The ambivalent giant white baldie in a jungle near you.
User avatar
apophis775
Host
Host
Posts: 5564
Joined: 22 Aug 2014, 18:05
Location: Ice Colony
Byond ID: Apophis775
Contact:

Re: Add Safety Checks to MedBots

Postby apophis775 » 26 Aug 2016, 18:44

Accepted.
ImageImage
flamecow wrote: "unga dunga me want the attachment" - average marine
User avatar
Surrealistik
Registered user
Posts: 1294
Joined: 04 Jul 2015, 17:57

Re: Add Safety Checks to MedBots

Postby Surrealistik » 02 Jan 2017, 14:55

AI needs to be further improved as ODs remain common: viewtopic.php?t=10101&view=unread#unread
Sur 'Druglord' Lahzar; Combat Engineer, Demolitions Specialist, Perpetually Understaffed and Exasperated CMO/Researcher

Sur 'Druglord' Lahzar says, "ASS BLAST U-S-A!!!"

Return to “Accepted Suggestions”



Who is online

Users browsing this forum: No registered users and 1 guest