mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
* [MDB Ignore] Corrects Automatic Shuttle Boundary Generation (#71220) When you load a map template, it does many things before considering itself finalized. One of these steps is to iterate over all the loaded items and initialize/process them. Unfortunately because a shuttle setups the bounds after initTemplateBounds is called, the mobile docking port ends up being initialized before the bounds are actually setup correctly. The solution to this is to explicitly ignore the mobile docking port, and have it initialize immediately after calculating the bounds. * [MDB Ignore] Corrects Automatic Shuttle Boundary Generation * arrivals shuttle Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
17 lines
472 B
Plaintext
17 lines
472 B
Plaintext
/// The syndicate infiltrator shuttle port.
|
|
/obj/docking_port/mobile/infiltrator
|
|
name = "syndicate infiltrator"
|
|
shuttle_id = "syndicate"
|
|
movement_force = list("KNOCKDOWN" = 0, "THROW" = 0)
|
|
hidden = TRUE
|
|
dir = 8
|
|
port_direction = 4
|
|
|
|
/obj/docking_port/mobile/infiltrator/Initialize(mapload)
|
|
. = ..()
|
|
SSpoints_of_interest.make_point_of_interest(src)
|
|
|
|
/obj/docking_port/mobile/infiltrator/Destroy(force)
|
|
SSpoints_of_interest.remove_point_of_interest(src)
|
|
return ..()
|