Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor relay refit #19021

Merged
merged 20 commits into from
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions code/game/objects/items/weapons/circuitboards/machinery/ship.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,17 @@
"/obj/item/stack/cable_coil" = 30,
"/obj/item/bluespace_crystal" = 1
)

/obj/item/circuitboard/shipsensors/relay
name = T_BOARD("S-24 Beacon sensor array")
build_path = /obj/machinery/shipsensors/strong/relay
origin_tech = list(TECH_POWER = 6, TECH_ENGINEERING = 8, TECH_BLUESPACE = 5)
req_components = list(
"/obj/item/stock_parts/subspace/ansible" = 1,
"/obj/item/stock_parts/subspace/filter" = 1,
"/obj/item/stock_parts/subspace/treatment" = 1,
"/obj/item/stock_parts/subspace/analyzer" = 1,
"/obj/item/stock_parts/manipulator" = 6,
"/obj/item/stock_parts/scanning_module" = 3,
"/obj/item/stack/cable_coil" = 30
)
22 changes: 22 additions & 0 deletions code/modules/overmap/ships/computers/sensors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -649,3 +649,25 @@
/obj/item/bluespace_crystal,
/obj/item/stack/cable_coil = 30
)

/obj/machinery/shipsensors/strong/relay
name = "\improper S-24 Beacon sensor array"
desc = "A vintage sensor array found on Solarian beacon relays throughout the galaxy. While it lacks deep scanning capabilities, it does have a high heat capacity."
icon = 'icons/obj/machinery/sensors_relay.dmi'
density = 1
layer = ABOVE_HUMAN_LAYER
sensor_strength = 3
heat_reduction = 7.1 //can sustain up to range 8
deep_scan_range = 0
component_types = list(
/obj/item/circuitboard/shipsensors/relay,
/obj/item/stock_parts/subspace/ansible,
/obj/item/stock_parts/subspace/filter,
/obj/item/stock_parts/subspace/treatment,
/obj/item/stock_parts/subspace/analyzer,
/obj/item/stock_parts/manipulator = 6,
/obj/item/stock_parts/scanning_module = 3,
/obj/item/stack/cable_coil = 30
)
pixel_x = -32
pixel_y = -16
60 changes: 60 additions & 0 deletions html/changelogs/nauticall-sensor_relay.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
# - (removes an image or sprite)
# spellcheck
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# balance
# - (balance changes)
# code_imp
# - (misc internal code change)
# refactor
# - (refactors code)
# config
# - (makes a change to the config files)
# admin
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
#################################

# Your name.
author: nauticall

# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True

# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Revamped the sensor relay to be up to modern standards; it is also more decrepit."
- rscadd: "Added a new sensor suite sprite for the relay's own sensor array."
- rscadd: "The new sensor suite reaches farther than the Horizon's sensor suite in exchange for being slower to scan and unable to perform deep scans."
Binary file added icons/obj/machinery/sensors_relay.dmi
Binary file not shown.
78 changes: 75 additions & 3 deletions maps/away/away_site/sensor_relay/sensor_relay.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,91 @@
color = COLOR_STEEL
desc = "A ring-shaped installation with a powerful sensor suite. These stations were originally built during the pre-Interstellar War era by the Solarian Alliance’s Department of Colonization as a method of making interstellar travel safer. Thousands of these “beacon stations” were built by the Alliance and many were abandoned during the Interstellar War and its aftermath. While they have been mostly replaced in more developed sectors, such as Liberty’s Cradle and the Jewel Worlds, beacon stations are still a common sight in less developed sectors of the Orion Spur such as the Badlands and Weeping Stars."
comms_support = TRUE
comms_name = "relay"
comms_name = "Sensor Relay"
initial_generic_waypoints = list(
"relay_n",
"relay_nw",
"relay_ne",
"relay_s",
"relay_sw",
"relay_se",
)

/obj/effect/overmap/visitable/sector/sensor_relay/handle_sensor_state_change(var/on)
if(on)
icon_state = "[initial(icon_state)]_active"
else
icon_state = initial(icon_state)


//Areas
/area/sensor_relay
icon = 'maps/away/away_site/sensor_relay/sensor_relay_sprites.dmi'
name = "Sensor Relay"
icon_state = "sensor_relay_area"
icon_state = "sensor_base"
area_flags = AREA_FLAG_HIDE_FROM_HOLOMAP
requires_power = TRUE
ambience = AMBIENCE_GENERIC
base_turf = /turf/space

/area/sensor_relay/maintenance
name = "Sensor Relay - Maintenance"
icon_state = "sensor_orange"

/area/sensor_relay/quarters
name = "Sensor Relay - Quarters"
icon_state = "sensor_magenta"

/area/sensor_relay/janitor
name = "Sensor Relay - Cleaning"
icon_state = "sensor_cyan"

/area/sensor_relay/workshop
name = "Sensor Relay - Workshop & EVA"
icon_state = "sensor_purple"

/area/sensor_relay/monitoring
name = "Sensor Relay - Monitoring"
icon_state = "sensor_red"

/area/sensor_relay/dining
name = "Sensor Relay - Dining"
icon_state = "sensor_cyan"

/area/sensor_relay/hydroponics
name = "Sensor Relay - Hydroponics"
icon_state = "sensor_green"

/area/sensor_relay/airlocks
name = "Sensor Relay - Airlocks"
icon_state = "sensor_red"

//Landmarks

/obj/effect/shuttle_landmark/sensor_relay
base_area = /area/space
base_turf = /turf/space
no_light_control = TRUE

/obj/effect/shuttle_landmark/sensor_relay/north_docking
name = "Sensor Relay - North External Dock"
landmark_tag = "relay_n"

/obj/effect/shuttle_landmark/sensor_relay/south_docking
name = "Sensor Relay - South External Dock"
landmark_tag = "relay_s"

/obj/effect/shuttle_landmark/sensor_relay/northwest
name = "Sensor Relay - Space, Northwest"
landmark_tag = "relay_nw"

/obj/effect/shuttle_landmark/sensor_relay/northeast
name = "Sensor Relay - Space, Northeast"
landmark_tag = "relay_ne"

/obj/effect/shuttle_landmark/sensor_relay/southwest
name = "Sensor Relay - Space, Southwest"
landmark_tag = "relay_sw"

/obj/effect/shuttle_landmark/sensor_relay/southeast
name = "Sensor Relay - Space, Southeast"
landmark_tag = "relay_se"
Loading
Loading