mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 03:32:00 +00:00
## About The Pull Request refer to title No code changes were made here, i just copypasted code around The only real difference is that I removed a pretty useless define that depended on TESTING because it got in my way of splitting emergency.dm tbh i didnt want a 50k line refactor pr that nobody is going to review so im getting it out of the way in a separate PR ## Why It's Good For The Game Shuttle code is literally all over the place please help me oh gosh ## Changelog Nothing player facing or developer facing (at least I really hope so)
29 lines
991 B
Plaintext
29 lines
991 B
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"
|
|
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"
|
|
req_access = list(ACCESS_CENT_GENERAL)
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|