mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
- atom.forceMove() proc. Ignores density and other Move() restrictions, but calls Exited() and Entered() - var/emagged moved to /obj/machinery class - anyprob() helper proc. - Mecha internal damage vars encapsulated. - Mech Fabricators now require robotics ID to operate. Emag removes this restriction. - Added Odysseus Medical Exosuit and it's parts. Has integrated Medical Hud and ability to mount medical modules. - Added Sleeper Medical module for medical exosuits. Similar to common sleepers, but no ability to inject reagents. - Added Cable Layer module for exosuits. Load with cable (attack cable with it), activate, walk over dismantled floor. - Added another exosuit internal damage type - short circuit. Short-circuited exosuits will drain powercell charge and power relay won't work. - You should be able to send messages to exosuit operators using Exosuit Control Console - Gygax armour and module capacity nerfed. - Exosuit weapon recharge time raised. - Bugfix: EMP actually drains exosuit cell and damages it git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2780 316c924e-a436-60f5-8080-3fe189b3f50e
419 lines
9.8 KiB
Plaintext
419 lines
9.8 KiB
Plaintext
/obj/machinery
|
|
name = "machinery"
|
|
icon = 'stationobjs.dmi'
|
|
var
|
|
stat = 0
|
|
emagged = 0
|
|
use_power = 0
|
|
//0 = dont run the auto
|
|
//1 = run auto, use idle
|
|
//2 = run auto, use active
|
|
idle_power_usage = 0
|
|
active_power_usage = 0
|
|
power_channel = EQUIP
|
|
//EQUIP,ENVIRON or LIGHT
|
|
list/component_parts = null //list of all the parts used to build it, if made from certain kinds of frames.
|
|
uid
|
|
manual = 0
|
|
global
|
|
gl_uid = 1
|
|
|
|
/obj/machinery/autolathe
|
|
name = "Autolathe"
|
|
desc = "Produces items with metal and glass."
|
|
icon_state = "autolathe"
|
|
density = 1
|
|
var/m_amount = 0.0
|
|
var/g_amount = 0.0
|
|
var/operating = 0.0
|
|
var/opened = 0.0
|
|
//var/temp = null
|
|
anchored = 1.0
|
|
var/list/L = list()
|
|
var/list/LL = list()
|
|
var/hacked = 0
|
|
var/disabled = 0
|
|
var/shocked = 0
|
|
var/list/wires = list()
|
|
var/hack_wire
|
|
var/disable_wire
|
|
var/shock_wire
|
|
use_power = 1
|
|
idle_power_usage = 10
|
|
active_power_usage = 100
|
|
|
|
/obj/machinery/camera
|
|
name = "Security Camera"
|
|
desc = "This is used to monitor rooms. Can see through walls."
|
|
icon = 'monitors.dmi'
|
|
icon_state = "camera"
|
|
var/network = "SS13"
|
|
layer = 5
|
|
var/c_tag = null
|
|
var/c_tag_order = 999
|
|
var/status = 1.0
|
|
anchored = 1.0
|
|
var/invuln = null
|
|
var/bugged = 0
|
|
var/hardened = 0
|
|
use_power = 2
|
|
idle_power_usage = 5
|
|
active_power_usage = 10
|
|
|
|
/obj/machinery/dispenser
|
|
desc = "A simple yet bulky one-way storage device for gas tanks. Holds 10 plasma and 10 oxygen tanks."
|
|
name = "Tank Storage Unit"
|
|
icon = 'objects.dmi'
|
|
icon_state = "dispenser"
|
|
density = 1
|
|
var/o2tanks = 10.0
|
|
var/pltanks = 10.0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 5
|
|
active_power_usage = 10
|
|
|
|
/obj/machinery/dna_scanner
|
|
name = "DNA Scanner/Implanter"
|
|
desc = "Scans DNA."
|
|
icon = 'Cryogenic2.dmi'
|
|
icon_state = "scanner_0"
|
|
density = 1
|
|
var/locked = 0.0
|
|
var/mob/occupant = null
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 50
|
|
active_power_usage = 300
|
|
|
|
/obj/machinery/dna_scannernew
|
|
name = "DNA Modifier"
|
|
desc = "Scans DNA better."
|
|
icon = 'Cryogenic2.dmi'
|
|
icon_state = "scanner_0"
|
|
density = 1
|
|
var/locked = 0.0
|
|
var/mob/occupant = null
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 50
|
|
active_power_usage = 300
|
|
|
|
/obj/machinery/firealarm
|
|
name = "Fire Alarm"
|
|
desc = "Pull this in case of emergency. Thus keep pulling this forever."
|
|
icon = 'monitors.dmi'
|
|
icon_state = "fire0"
|
|
var/detecting = 1.0
|
|
var/working = 1.0
|
|
var/time = 10.0
|
|
var/timing = 0.0
|
|
var/lockdownbyai = 0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 6
|
|
power_channel = ENVIRON
|
|
|
|
/obj/machinery/partyalarm
|
|
name = "Party Button"
|
|
desc = "Cuban Pete is in the house!"
|
|
icon = 'monitors.dmi'
|
|
icon_state = "fire0"
|
|
var/detecting = 1.0
|
|
var/working = 1.0
|
|
var/time = 10.0
|
|
var/timing = 0.0
|
|
var/lockdownbyai = 0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 6
|
|
|
|
|
|
/obj/machinery/igniter
|
|
name = "igniter"
|
|
desc = "Fun for igniting plasma."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "igniter1"
|
|
var/id = null
|
|
var/on = 1.0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
/obj/machinery/injector
|
|
name = "injector"
|
|
desc = "Injects gas into a chamber."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "injector"
|
|
density = 1
|
|
anchored = 1.0
|
|
flags = ON_BORDER
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
layer = TURF_LAYER
|
|
|
|
/obj/machinery/mass_driver
|
|
name = "mass driver"
|
|
desc = "Shoots things into space."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "mass_driver"
|
|
var/power = 1.0
|
|
var/code = 1.0
|
|
var/id = 1.0
|
|
anchored = 1.0
|
|
var/drive_range = 50 //this is mostly irrelevant since current mass drivers throw into space, but you could make a lower-range mass driver for interstation transport or something I guess.
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 50
|
|
|
|
/obj/machinery/meter
|
|
name = "meter"
|
|
desc = "It measures something."
|
|
icon = 'meter.dmi'
|
|
icon_state = "meterX"
|
|
var/obj/machinery/atmospherics/pipe/target = null
|
|
anchored = 1.0
|
|
var/frequency = 0
|
|
var/id
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
/obj/machinery/restruct
|
|
name = "DNA Physical Restructurization Accelerator"
|
|
desc = "This looks complex."
|
|
icon = 'Cryogenic2.dmi'
|
|
icon_state = "restruct_0"
|
|
density = 1
|
|
var/locked = 0.0
|
|
var/mob/occupant = null
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 10
|
|
active_power_usage = 600
|
|
|
|
/obj/machinery/scan_console
|
|
name = "DNA Scanner Access Console"
|
|
desc = "Scand DNA."
|
|
icon = 'computer.dmi'
|
|
icon_state = "scanner"
|
|
density = 1
|
|
var/obj/item/weapon/card/data/scan = null
|
|
var/func = ""
|
|
var/data = ""
|
|
var/special = ""
|
|
var/status = null
|
|
var/prog_p1 = null
|
|
var/prog_p2 = null
|
|
var/prog_p3 = null
|
|
var/prog_p4 = null
|
|
var/temp = null
|
|
var/obj/machinery/dna_scanner/connected = null
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 10
|
|
active_power_usage = 400
|
|
|
|
/obj/machinery/door_control
|
|
name = "Remote Door Control"
|
|
desc = "This controls doors."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "doorctrl0"
|
|
desc = "A remote control switch for a door."
|
|
var/id = null
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
/obj/machinery/driver_button
|
|
name = "Mass Driver Button"
|
|
desc = "FIRE AWAY!"
|
|
icon = 'objects.dmi'
|
|
icon_state = "launcherbtt"
|
|
desc = "A remote control switch for a Mass Driver."
|
|
var/id = null
|
|
var/active = 0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
/obj/machinery/ignition_switch
|
|
name = "Ignition Switch"
|
|
desc = "Activates that igniter."
|
|
icon = 'objects.dmi'
|
|
icon_state = "launcherbtt"
|
|
desc = "A remote control switch for a mounted igniter."
|
|
var/id = null
|
|
var/active = 0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
/obj/machinery/teleport
|
|
name = "teleport"
|
|
icon = 'stationobjs.dmi'
|
|
density = 1
|
|
anchored = 1.0
|
|
var/lockeddown = 0
|
|
|
|
/obj/machinery/teleport/hub
|
|
name = "hub"
|
|
desc = "A hub of a teleporting machine."
|
|
icon_state = "tele0"
|
|
var/accurate = 0
|
|
use_power = 1
|
|
idle_power_usage = 10
|
|
active_power_usage = 2000
|
|
|
|
/obj/machinery/teleport/station
|
|
name = "station"
|
|
desc = "The station thingy of a teleport thingy."
|
|
icon_state = "controller"
|
|
var/active = 0
|
|
var/engaged = 0
|
|
use_power = 1
|
|
idle_power_usage = 10
|
|
active_power_usage = 2000
|
|
/*
|
|
/obj/machinery/wire
|
|
name = "wire"
|
|
icon = 'power_cond_red.dmi'
|
|
use_power = 1
|
|
idle_power_usage = 0
|
|
active_power_usage = 1
|
|
*/
|
|
/obj/machinery/power
|
|
name = null
|
|
icon = 'power.dmi'
|
|
anchored = 1.0
|
|
var/datum/powernet/powernet = null
|
|
var/netnum = 0
|
|
var/directwired = 1 // by default, power machines are connected by a cable in a neighbouring turf
|
|
// if set to 0, requires a 0-X cable on this turf
|
|
use_power = 0
|
|
idle_power_usage = 0
|
|
active_power_usage = 0
|
|
|
|
/obj/machinery/power/terminal
|
|
name = "terminal"
|
|
icon_state = "term"
|
|
desc = "An underfloor wiring terminal for power equipment"
|
|
level = 1
|
|
layer = TURF_LAYER
|
|
var/obj/machinery/power/master = null
|
|
anchored = 1
|
|
directwired = 0 // must have a cable on same turf connecting to terminal
|
|
layer = 2.6 // a bit above wires
|
|
|
|
/obj/machinery/power/generator
|
|
name = "generator"
|
|
desc = "A high efficiency thermoelectric generator."
|
|
icon_state = "teg"
|
|
anchored = 1
|
|
density = 1
|
|
|
|
var/obj/machinery/atmospherics/binary/circulator/circ1
|
|
var/obj/machinery/atmospherics/binary/circulator/circ2
|
|
|
|
var/lastgen = 0
|
|
var/lastgenlev = -1
|
|
|
|
/obj/machinery/power/generator_type2
|
|
name = "generator"
|
|
desc = "A high efficiency thermoelectric generator."
|
|
icon_state = "teg"
|
|
anchored = 1
|
|
density = 1
|
|
|
|
var/obj/machinery/atmospherics/unary/generator_input/input1
|
|
var/obj/machinery/atmospherics/unary/generator_input/input2
|
|
|
|
var/lastgen = 0
|
|
var/lastgenlev = -1
|
|
|
|
/obj/machinery/power/monitor
|
|
name = "Power Monitoring Computer"
|
|
desc = "Used to monitor the power. Pretty useless."
|
|
icon = 'computer.dmi'
|
|
icon_state = "power"
|
|
density = 1
|
|
anchored = 1
|
|
use_power = 2
|
|
idle_power_usage = 20
|
|
active_power_usage = 80
|
|
|
|
/obj/machinery/cell_charger
|
|
name = "cell charger"
|
|
desc = "A charging unit for power cells."
|
|
icon = 'power.dmi'
|
|
icon_state = "ccharger0"
|
|
var/obj/item/weapon/cell/charging = null
|
|
var/chargelevel = -1
|
|
anchored = 1
|
|
use_power = 1
|
|
idle_power_usage = 5
|
|
active_power_usage = 60
|
|
|
|
/obj/machinery/light_switch
|
|
desc = "A light switch"
|
|
name = null
|
|
icon = 'power.dmi'
|
|
icon_state = "light1"
|
|
anchored = 1.0
|
|
var/on = 1
|
|
var/area/area = null
|
|
var/otherarea = null
|
|
// luminosity = 1
|
|
|
|
/obj/machinery/crema_switch
|
|
desc = "Burn baby burn!"
|
|
name = "crematorium igniter"
|
|
icon = 'power.dmi'
|
|
icon_state = "crema_switch"
|
|
anchored = 1.0
|
|
req_access = list(access_crematorium)
|
|
var/on = 0
|
|
var/area/area = null
|
|
var/otherarea = null
|
|
var/id = 1
|
|
|
|
/obj/machinery/hologram
|
|
anchored = 1
|
|
use_power = 1
|
|
idle_power_usage = 5
|
|
active_power_usage = 100
|
|
var
|
|
obj/effect/overlay/hologram//The projection itself. If there is one, the instrument is on, off otherwise.
|
|
|
|
/obj/machinery/hologram/holopad
|
|
name = "AI holopad"
|
|
desc = "A floor-mounted device for projecting a holographic image. It will activate remotely."
|
|
icon_state = "holopad0"
|
|
var
|
|
mob/living/silicon/ai/master//Which AI, if any, is controlling the object? Only one AI may control a hologram at any time.
|
|
|
|
/obj/machinery/hologram/projector
|
|
name = "Hologram Projector"
|
|
desc = "Makes a hologram appear...somehow..."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "hologram0"
|
|
|
|
/obj/machinery/hologram/proj_ai
|
|
name = "Hologram Projector Platform"
|
|
desc = "Used for the fun of the diabolical AI."
|
|
icon = 'stationobjs.dmi'
|
|
icon_state = "hologram0"
|
|
var
|
|
temp = null
|
|
lumens = 0.0
|
|
h_r = 245.0
|
|
h_g = 245.0
|
|
h_b = 245.0
|