mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #9629 from Novacat/nova-basicfixes
Shuttle Console ID Stuff
This commit is contained in:
committed by
Chompstation Bot
parent
710c6b5021
commit
3d5c11d6df
13
code/modules/overmap/ships/computers/ship_vr.dm
Normal file
13
code/modules/overmap/ships/computers/ship_vr.dm
Normal 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
|
||||
Reference in New Issue
Block a user