mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Gateway refactor (#49868)
* Gateway refactor core stuff * Updates gateways on aways. * Boxstation gateway & control * Deltastation gateway & control. * Kilo gateway & control * Meta gateway & control. * Pubby gateway & control. * makes away gateways easier to use. * Makes gateway names bit better. * No need for two dmis * Autolinkup & description * Docs formatting. * Donutstation gateway & control * Icon and init fixups * ui fixups * Better var name * Use roundstart time instead of server time. * sets dir properly, and locks bumper to south entry only. * Cleans up gateway sprite a bit ? * tgui build
This commit is contained in:
@@ -456,18 +456,6 @@ GLOBAL_LIST_EMPTY(the_station_areas)
|
||||
message_admins("Loading [away_name] failed!")
|
||||
return
|
||||
|
||||
|
||||
if(GLOB.the_gateway)
|
||||
//Link any found away gate with station gate
|
||||
var/obj/machinery/gateway/centeraway/new_gate
|
||||
for(var/obj/machinery/gateway/centeraway/G in GLOB.machines)
|
||||
if(G.z == away_level.z_value) //I'll have to refactor gateway shitcode before multi-away support.
|
||||
new_gate = G
|
||||
break
|
||||
//Link station gate with away gate and remove wait time.
|
||||
GLOB.the_gateway.awaygate = new_gate
|
||||
GLOB.the_gateway.wait = world.time
|
||||
|
||||
/datum/controller/subsystem/mapping/proc/RequestBlockReservation(width, height, z, type = /datum/turf_reservation, turf_type_override)
|
||||
UNTIL((!z || reservation_ready["[z]"]) && !clearing_reserved_turfs)
|
||||
var/datum/turf_reservation/reserve = new type
|
||||
|
||||
Reference in New Issue
Block a user