mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-16 20:52:33 +00:00
* Adds an extra malf AI ability: Remote emagging. Also tidies up emag code and coverts a lot of things to balloon alerts * Update communications.dm * Modular override * Some modular adjustments, removes 'emagged' vars in favor of obj_flags * whoops, mobs don't have obj_flags. --------- Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com> Co-authored-by: Giz <vinylspiders@gmail.com>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
/obj/machinery/computer/shuttle/ferry
|
|
name = "transport ferry console"
|
|
desc = "A console that controls the transport ferry."
|
|
circuit = /obj/item/circuitboard/computer/ferry
|
|
shuttleId = "ferry"
|
|
possible_destinations = "ferry_home;ferry_away;ferry_ntf" //SKYRAT EDIT CHANGE
|
|
req_access = list(ACCESS_CENT_GENERAL)
|
|
var/allow_silicons = FALSE
|
|
var/allow_emag = FALSE
|
|
|
|
/obj/machinery/computer/shuttle/ferry/emag_act(mob/user, obj/item/card/emag/emag_card)
|
|
if(!allow_emag)
|
|
balloon_alert(user, "firewall too powerful!")
|
|
return FALSE
|
|
return ..()
|
|
|
|
/obj/machinery/computer/shuttle/ferry/attack_ai()
|
|
return allow_silicons ? ..() : FALSE
|
|
|
|
/obj/machinery/computer/shuttle/ferry/attack_robot()
|
|
return allow_silicons ? ..() : FALSE
|
|
|
|
/obj/machinery/computer/shuttle/ferry/request
|
|
name = "ferry console"
|
|
circuit = /obj/item/circuitboard/computer/ferry/request
|
|
possible_destinations = "ferry_home;ferry_away;ferry_ntf" //SKYRAT EDIT CHANGE
|
|
req_access = list(ACCESS_CENT_GENERAL)
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|