mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## About The Pull Request This PR does many things, I'll try to explain the basic/background stuff to the main thing first: 1. Adds a new remote that allows a human to function like an AI. It controls a fly that will fly around the station slowly, and when it reaches a machine then the person can interact with it as if they were an AI. This required changing a lot of silicon/AI checks with one that also checks for this remote, and some messing with shared ui state. 2. Moves req_access from the obj and bot to ``/atom/movable`` which lets it be shared between the two, no more copy-paste and one side lacking features/checks/signals the other has. 3. Adds a check for AI config for AI-related station traits, which was lacking prior Now for the good part... Adds a new station trait that replaces the AI with a Human. This person is equipped with an AI headset (including Binary), an advanced camera console, an omni door wand, the machine controller, and their laws. They are immune to the SAT's turrets (even if set to target borgs) and are slow outside of the SAT, mimicing the actions of the AI. They interact with the world through their advanced camera console, which allows them to do most AI stuff needed, and the holopad they can connect to without having to ring first (like Command can). They are given a paper with the laws they must follow, but since they are human they are able to bend it. Cyborgs that run the default lawset are "slaved" to them via an unremovable law 0, so the Human AI can bend the laws if they really need to (for their own survival n such), and make the cyborgs obey their commands above laws, but in general this shouldn't be a frequent occurrence. This does take into account the unique AI trait, so it's not guaranteed Asimov. When this station trait rolls, all Intellicards, AI uploads, and AI core boards are destroyed and are unresearchable. They can be spawned by admins in-game if necessary. Maybe in the future we can also exclude Oldstation from this but I haven't really decided. Extra perks: Human AI spawns with a Robotic voicebox (unless they are a body purist) and teleport blocking implant, so they can't use teleporters to bypass their on-station slowdown. They also have an infinite laser pointer that can be used to blind through their camera console. This is unfortunately nerfed from the recent borg balance PR that removed its stun. This was meant to be the alternative to no longer being able to permanently lock borgs down like AIs can (or more than one, for that matter). They aren't affected by Roburgers, Acid, and Fuel's toxicity. Bots salute them like they do Beepsky (which is now a trait) They spawn with SyndEye to replace the AI's tracking ability They do not have a bank account ### The machine remote The machine remote has a little fly in it that flies to the machines it is pointed to, working as the arms and legs of the Human AI. It scans the machine and punches in the action the AI does, and is how the AI accesses basically anything. This fly slowly moves from one machine to the next, and can be recalled with Alt Click. It works on machines and bots. ### Video (Low quality to fit Github) https://github.com/tgstation/tgstation/assets/53777086/e16509f8-8bed-42b5-9fbf-7e37165a11e8 ## Why It's Good For The Game I've seen a funny screenshot one day of a person replacing the AI by using a bunch of door remotes, camera console, crew monitoring console, and a few other things. I've been thinking about that for a few years and really wanted to make it official if not easier to make possible, because it is an incredibly funny interaction. This makes it a reality, and while they aren't as powerful as regular AIs, I think it makes for better and funnier in-game moments. With the same weight as Cargorilla (1), I hope this wouldn't be rolling too often and ruin rounds, but instead show off the different capabilities that Humans and AIs can do, to do the job of an AI. You win some you lose some. ## Changelog 🆑 JohnFulpWillard, Tattax add: Adds a new station trait job: The Human AI. /🆑 --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
/datum/wires/fax
|
|
holder_type = /obj/machinery/fax
|
|
proper_name = "Fax Unit"
|
|
|
|
/datum/wires/fax/New(atom/holder)
|
|
wires = list(WIRE_SHOCK, WIRE_SIGNAL, WIRE_THROW, WIRE_LOADCHECK,)
|
|
add_duds(1)
|
|
return ..()
|
|
|
|
/datum/wires/fax/interactable(mob/user)
|
|
. = ..()
|
|
if(!.)
|
|
return FALSE
|
|
var/obj/machinery/fax/machine = holder
|
|
if(!HAS_SILICON_ACCESS(user) && machine.seconds_electrified && machine.shock(user, 100))
|
|
return FALSE
|
|
if(machine.panel_open)
|
|
return TRUE
|
|
|
|
/datum/wires/fax/get_status()
|
|
var/obj/machinery/fax/machine = holder
|
|
var/list/status = list()
|
|
status += "A red light is [machine.seconds_electrified ? "blinking" : "off"]."
|
|
status += "The network light is [machine.visible_to_network ? "on" : "off"]."
|
|
status += "The output servo is [machine.hurl_contents ? "spinning rapidly" : "on"]."
|
|
status += "The input servo is [machine.allow_exotic_faxes ? "spinning rapidly" : "on"]."
|
|
return status
|
|
|
|
/datum/wires/fax/on_pulse(wire)
|
|
var/obj/machinery/fax/machine = holder
|
|
switch(wire)
|
|
if(WIRE_SHOCK)
|
|
machine.seconds_electrified = MACHINE_DEFAULT_ELECTRIFY_TIME
|
|
if(WIRE_SIGNAL)
|
|
machine.visible_to_network = !machine.visible_to_network
|
|
if(WIRE_THROW)
|
|
machine.hurl_contents = !machine.hurl_contents
|
|
if(WIRE_LOADCHECK)
|
|
machine.allow_exotic_faxes = !machine.allow_exotic_faxes
|
|
|
|
/datum/wires/fax/on_cut(wire, mend, source)
|
|
var/obj/machinery/fax/machine = holder
|
|
switch(wire)
|
|
if(WIRE_SHOCK)
|
|
machine.seconds_electrified = (mend) ? MACHINE_NOT_ELECTRIFIED : MACHINE_ELECTRIFIED_PERMANENT
|
|
if(WIRE_SIGNAL)
|
|
machine.visible_to_network = mend
|
|
if(WIRE_THROW)
|
|
machine.hurl_contents = !mend
|
|
if(WIRE_LOADCHECK)
|
|
machine.allow_exotic_faxes = !mend
|