mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
TG: Slightly updated the mining consoles, so they can interface with a machine in
any direction.
Added proper ('proper') open and broken sprites for the new Odysseus mech. r2849
This commit is contained in:
@@ -1,33 +1,23 @@
|
||||
/**********************Mineral processing unit console**************************/
|
||||
|
||||
/obj/machinery/mineral/processing_unit_console
|
||||
name = "Produciton machine console"
|
||||
name = "production machine console"
|
||||
icon = 'mining_machines.dmi'
|
||||
icon_state = "console"
|
||||
density = 1
|
||||
anchored = 1
|
||||
var/id = ""
|
||||
var/obj/machinery/mineral/processing_unit/machine = null
|
||||
var/machinedir = EAST
|
||||
|
||||
/obj/machinery/mineral/processing_unit_console/New()
|
||||
..()
|
||||
spawn(7)
|
||||
/**
|
||||
src.machine = locate(/obj/machinery/mineral/processing_unit, get_step(src, EAST))
|
||||
src.machine = locate(/obj/machinery/mineral/processing_unit, get_step(src, machinedir))
|
||||
if (machine)
|
||||
machine.CONSOLE = src
|
||||
else
|
||||
del(src)
|
||||
*/
|
||||
//Commented out for being horrible for mappers. -Fastler
|
||||
for(var/obj/machinery/mineral/processing_unit/M in world)
|
||||
if(M.id == src.id)
|
||||
src.machine = M
|
||||
if (machine)
|
||||
machine.CONSOLE = src
|
||||
else
|
||||
del(src)
|
||||
|
||||
|
||||
/obj/machinery/mineral/processing_unit_console/attack_hand(user as mob)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user