Files
Bubberstation/code/modules/shuttle/infiltrator.dm
John Willard 253613c1c3 [MDB IGNORE] Shuttle engine code improvement and fixes (#69516)
* A lot of shuttle code improvements

* Makes use of ``as anything`` in many places
* Adds mapload to connect_to_shuttle()
* Renames many vars, including shuttle 'id' var to 'shuttle_id' and engine 'state' to 'engine_state'.
* Engines now weakref their attached ship, and disconnect when unwrenched from it.
* Removes check for force when deleting a mobile docking port, being deleted should still clear your stuff, regardless of being forced.

Because of all the above, I was able to remove a few pointless checks scattered around, like engine's alter_engine_power()

* better comment for port_id

* Fixes Cargo, Arrivals, and Pirate ships.

* Merge branch 'master' into shuttlecode-oh-no

* last few

* fixes the CI

* fixes

* Fixes infinite engines

* Revert "Merge branch 'master' into shuttlecode-oh-no"

This reverts commit 94eba37de9fe3f4a01dc40bb064771b764f379e3.

* trammies

* whiteship tram

* Makes use of ?. instead

apparently this is what weakrefs use, so 🤷

* i hate supernovaa41

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>

* removes lateinit that I never implemented

* adds _ref to weakref var name

* small change to weld time define

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2022-09-07 11:43:54 -04:00

21 lines
523 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
dheight = 1
dwidth = 12
height = 17
width = 23
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 ..()