Merge pull request #9629 from Novacat/nova-basicfixes

Shuttle Console ID Stuff
This commit is contained in:
Novacat
2021-01-31 22:24:27 -05:00
committed by Chompstation Bot
parent 710c6b5021
commit 3d5c11d6df
4 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
/*
Ships can now be hijacked!
*/
/obj/machinery/computer/ship
var/hacked = 0 // Has been emagged, no access restrictions.
/obj/machinery/computer/ship/emag_act(var/remaining_charges, var/mob/user)
if (!hacked)
req_access = list()
req_one_access = list()
hacked = 1
to_chat(user, "You short out the console's ID checking system. It's now available to everyone!")
return 1