Abstract machinery, intercom listener, and directional hardhat lights (#1918)

changes:

Added an abstract-machinery helper type for interacting with power systems without duplicating power code.
Changed intercoms to use abstract machines to handle power state changes instead of polling with process().
Hardhat lights are now directional (LIGHT_WIDE)
Fixes #1922.
This commit is contained in:
Lohikar
2017-03-18 20:06:45 +02:00
committed by skull132
parent fa12422854
commit d3242f13a5
7 changed files with 96 additions and 20 deletions
+1
View File
@@ -8,6 +8,7 @@
armor = list(melee = 30, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20)
flags_inv = 0
siemens_coefficient = 0.9
light_wedge = LIGHT_WIDE
/obj/item/clothing/head/hardhat/orange
icon_state = "hardhat0_orange"