mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Merge remote-tracking branch 'tgstation/master' into nanoui_update
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
var/datum/subsystem/bots/SSbot
|
||||
|
||||
/datum/subsystem/bots
|
||||
name = "Bots"
|
||||
priority = 8
|
||||
|
||||
var/list/processing = list()
|
||||
|
||||
/datum/subsystem/bots/New()
|
||||
NEW_SS_GLOBAL(SSbot)
|
||||
|
||||
/datum/subsystem/bots/stat_entry(msg)
|
||||
..("P:[processing.len]")
|
||||
|
||||
/datum/subsystem/bots/fire()
|
||||
var/seconds = wait * 0.1
|
||||
for(var/thing in processing)
|
||||
if(thing && !thing:gc_destroyed)
|
||||
spawn(-1)
|
||||
thing:bot_process(seconds)
|
||||
continue
|
||||
processing.Remove(thing)
|
||||
@@ -149,6 +149,10 @@
|
||||
width = 3
|
||||
height = 4
|
||||
|
||||
/obj/docking_port/mobile/pod/request()
|
||||
if(security_level == SEC_LEVEL_RED || security_level == SEC_LEVEL_DELTA && z == ZLEVEL_STATION)
|
||||
return ..()
|
||||
|
||||
/obj/docking_port/mobile/pod/New()
|
||||
if(id == "pod")
|
||||
WARNING("[type] id has not been changed from the default. Use the id convention \"pod1\" \"pod2\" etc.")
|
||||
@@ -157,13 +161,6 @@
|
||||
/obj/docking_port/mobile/pod/cancel()
|
||||
return
|
||||
|
||||
/*
|
||||
findTransitDock()
|
||||
. = SSshuttle.getDock("[id]_transit")
|
||||
if(.) return .
|
||||
return ..()
|
||||
*/
|
||||
|
||||
/obj/machinery/computer/shuttle/pod
|
||||
name = "pod control computer"
|
||||
admin_controlled = 1
|
||||
@@ -176,23 +173,18 @@
|
||||
/obj/machinery/computer/shuttle/pod/update_icon()
|
||||
return
|
||||
|
||||
/obj/machinery/computer/shuttle/pod/emag_act(mob/user as mob)
|
||||
user << "<span class='warning'> Access requirements overridden. The pod may now be launched manually at any time.</span>"
|
||||
admin_controlled = 0
|
||||
icon_state = "dorm_emag"
|
||||
|
||||
/obj/docking_port/stationary/random
|
||||
name = "escape pod"
|
||||
id = "pod"
|
||||
dwidth = 1
|
||||
width = 3
|
||||
height = 4
|
||||
var/target_area = /area/mine/unexplored
|
||||
|
||||
/obj/docking_port/stationary/random/initialize()
|
||||
..()
|
||||
var/target_area = /area/mine/unexplored
|
||||
var/turfs = get_area_turfs(target_area)
|
||||
var/T=pick(turfs)
|
||||
var/list/turfs = get_area_turfs(target_area)
|
||||
var/turf/T = pick(turfs)
|
||||
src.loc = T
|
||||
|
||||
//Pod suits/pickaxes
|
||||
|
||||
Reference in New Issue
Block a user