Spaceship beacons and etc. (#39)

This commit is contained in:
Enric Gabriel
2020-08-06 22:01:47 -03:00
committed by GitHub
parent 06046d1c07
commit 1e03f40397
4 changed files with 47 additions and 8 deletions
@@ -71,5 +71,14 @@
desc = "The circuit board for a Bluespace Miner."
id = "bluespace_miner"
build_path = /obj/item/circuitboard/machine/bluespace_miner
category = list ("Misc. Machinery")
category = list("Misc. Machinery")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_CARGO | DEPARTMENTAL_FLAG_ENGINEERING
//Spaceship beacon
/datum/design/board/spaceship_navigation_beacon
name = "Machine Design (Bluespace Navigation Gigabeacon)"
desc = "Allows the creation of a beacon that you can fly to with your ship."
id = "shuttle_beacon"
build_path = /obj/item/circuitboard/machine/spaceship_navigation_beacon
category = list("Misc. Machinery")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_ENGINEERING
@@ -50,3 +50,7 @@
/datum/techweb_node/nanite_smart/New()
design_ids += "signaler_nanites"
. = ..()
/datum/techweb_node/basic_shuttle_tech/New()
design_ids += "shuttle_beacon"
. = ..()
@@ -1,8 +1,11 @@
/obj/item/circuitboard/machine/spaceship_navigation_beacon
name = "Bluespace Navigation Gigabeacon (Machine Board)"
build_path = /obj/machinery/spaceship_navigation_beacon
req_components = list()
req_components = list(
/obj/item/stock_parts/subspace/transmitter = 1,
/obj/item/stock_parts/subspace/treatment = 1,
/obj/item/stock_parts/subspace/amplifier = 1,
/obj/item/stack/ore/bluespace_crystal/refined = 1)
/obj/machinery/spaceship_navigation_beacon
name = "Bluespace Navigation Gigabeacon"
@@ -14,10 +17,8 @@
density = TRUE
circuit = /obj/item/circuitboard/machine/spaceship_navigation_beacon
light_power = 2
var/locked = FALSE //Locked beacons don't allow to jump to it.
/obj/machinery/spaceship_navigation_beacon/Initialize()
. = ..()
SSshuttle.beacons |= src