mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
fix
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
//
|
||||
/obj/machinery/computer/ship
|
||||
var/core_skill = /datum/skill/devices //The skill used for skill checks for this machine (mostly so subtypes can use different skills).
|
||||
var/ai_control = TRUE //VOREStation Edit
|
||||
|
||||
//
|
||||
// Topic
|
||||
@@ -70,6 +71,11 @@
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/computer/ship/attack_ai(mob/user)
|
||||
//VOREStation Addition Start
|
||||
if(!ai_control && issilicon(user))
|
||||
to_chat(user, "<span class='warning'>Access Denied.</span>")
|
||||
return
|
||||
//VOREStation Addition End
|
||||
if(tgui_status(user, tgui_state()) > STATUS_CLOSE)
|
||||
return interface_interact(user)
|
||||
|
||||
@@ -82,6 +88,11 @@
|
||||
/obj/machinery/computer/ship/attack_hand(mob/user)
|
||||
if((. = ..()))
|
||||
return
|
||||
//VOREStation Addition Start
|
||||
if(!ai_control && issilicon(user))
|
||||
to_chat(user, "<span class='warning'>Access Denied.</span>")
|
||||
return TRUE
|
||||
//VOREStation Addition End
|
||||
if(!allowed(user))
|
||||
to_chat(user, "<span class='warning'>Access Denied.</span>")
|
||||
return TRUE
|
||||
|
||||
@@ -29,6 +29,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
var/speedlimit = 1/(20 SECONDS) //top speed for autopilot, 5
|
||||
var/accellimit = 0.001 //manual limiter for acceleration
|
||||
req_one_access = list(access_pilot) //VOREStation Edit
|
||||
ai_control = true //ChompStation Edit - Not an issue here
|
||||
|
||||
// fancy sprite
|
||||
/obj/machinery/computer/ship/helm/adv
|
||||
|
||||
@@ -10,10 +10,16 @@
|
||||
|
||||
var/skip_act = FALSE
|
||||
var/tgui_subtemplate = "ShuttleControlConsoleDefault"
|
||||
var/ai_control = TRUE //ChompStation Edit - Unnecessary nuisance that causes issues.
|
||||
|
||||
/obj/machinery/computer/shuttle_control/attack_hand(user as mob)
|
||||
if(..(user))
|
||||
return
|
||||
//VOREStation Addition Start
|
||||
if(!ai_control && issilicon(user))
|
||||
to_chat(user, "<span class='warning'>Access Denied.</span>")
|
||||
return TRUE
|
||||
//VOREStation Addition End
|
||||
|
||||
//src.add_fingerprint(user) //shouldn't need fingerprints just for looking at it.
|
||||
if(!allowed(user))
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
name = "belter control console"
|
||||
req_one_access = list(access_mining, access_medical_equip) //Allows xenoarch, miners AND doctors to use it.
|
||||
shuttle_tag = "Belter" //The scanning console needs to enable/disable this at will.
|
||||
ai_control = TRUE
|
||||
|
||||
/obj/machinery/computer/shuttle_control/mining
|
||||
name = "mining elevator control console"
|
||||
|
||||
Reference in New Issue
Block a user