Harddel Fix Pack #42 + Better Live Reftracking Support (#63877)

* Hard Del Fixes, Ref Tracking Changes
This commit is contained in:
LemonInTheDark
2022-01-12 22:46:13 +01:00
committed by GitHub
parent f3f7720d7e
commit f8aad14ae8
109 changed files with 865 additions and 733 deletions
@@ -12,7 +12,7 @@
desc = "An industrial computer integrated with a camera-assisted rapid construction drone."
networks = list("ss13")
circuit = /obj/item/circuitboard/computer/base_construction
off_action = new/datum/action/innate/camera_off/base_construction
off_action = /datum/action/innate/camera_off/base_construction
jump_action = null
icon_screen = "mining"
icon_keyboard = "rd_key"
@@ -23,8 +23,6 @@
var/list/structures = list()
///Internal RCD. Some construction actions rely on having this.
var/obj/item/construction/rcd/internal/internal_rcd
///Actions given to the console user to help with base building. Actions are generally carried out at the location of the eyeobj
var/list/datum/action/innate/construction_actions
/obj/machinery/computer/camera_advanced/base_construction/Initialize(mapload)
. = ..()
@@ -38,10 +36,10 @@
* Fill the construction_actios list with actions
*
* Instantiate each action object that we'll be giving to users of
* this console, and put it in the construction actions list.
* this console, and put it in the actions list
*/
/obj/machinery/computer/camera_advanced/base_construction/proc/populate_actions_list()
construction_actions = list()
return
/**
* Reload materials used by the console
@@ -81,11 +79,6 @@
///Go through every action object in the construction_action list (which should be fully initialized by now) and grant it to the user.
/obj/machinery/computer/camera_advanced/base_construction/GrantActions(mob/living/user)
..()
for (var/datum/action/innate/construction_action in construction_actions)
if(construction_action)
construction_action.target = src
construction_action.Grant(user)
actions += construction_action
//When the eye is in use, make it visible to players so they know when someone is building.
eyeobj.invisibility = 0