mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Adds action buttons for hard-hats and goggles
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
icon_state = "purple"
|
icon_state = "purple"
|
||||||
item_state = "glasses"
|
item_state = "glasses"
|
||||||
toggleable = 1
|
toggleable = 1
|
||||||
|
action_button_name = "Toggle Goggles"
|
||||||
|
|
||||||
/obj/item/clothing/glasses/science/New()
|
/obj/item/clothing/glasses/science/New()
|
||||||
..()
|
..()
|
||||||
@@ -67,6 +68,7 @@
|
|||||||
origin_tech = list(TECH_MAGNET = 2)
|
origin_tech = list(TECH_MAGNET = 2)
|
||||||
darkness_view = 7
|
darkness_view = 7
|
||||||
toggleable = 1
|
toggleable = 1
|
||||||
|
action_button_name = "Toggle Goggles"
|
||||||
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
||||||
off_state = "denight"
|
off_state = "denight"
|
||||||
|
|
||||||
@@ -95,6 +97,7 @@
|
|||||||
item_state = "glasses"
|
item_state = "glasses"
|
||||||
origin_tech = list(TECH_MAGNET = 3, TECH_ENGINEERING = 3)
|
origin_tech = list(TECH_MAGNET = 3, TECH_ENGINEERING = 3)
|
||||||
toggleable = 1
|
toggleable = 1
|
||||||
|
action_button_name = "Toggle Goggles"
|
||||||
vision_flags = SEE_OBJS
|
vision_flags = SEE_OBJS
|
||||||
|
|
||||||
/obj/item/clothing/glasses/regular
|
/obj/item/clothing/glasses/regular
|
||||||
@@ -104,7 +107,7 @@
|
|||||||
item_state = "glasses"
|
item_state = "glasses"
|
||||||
prescription = 1
|
prescription = 1
|
||||||
body_parts_covered = 0
|
body_parts_covered = 0
|
||||||
|
|
||||||
/obj/item/clothing/glasses/regular/scanners
|
/obj/item/clothing/glasses/regular/scanners
|
||||||
name = "Scanning Goggles"
|
name = "Scanning Goggles"
|
||||||
desc = "A very oddly shaped pair of goggles with bits of wire poking out the sides. A soft humming sound emanates from it."
|
desc = "A very oddly shaped pair of goggles with bits of wire poking out the sides. A soft humming sound emanates from it."
|
||||||
@@ -223,6 +226,7 @@
|
|||||||
item_state = "glasses"
|
item_state = "glasses"
|
||||||
origin_tech = list(TECH_MAGNET = 3)
|
origin_tech = list(TECH_MAGNET = 3)
|
||||||
toggleable = 1
|
toggleable = 1
|
||||||
|
action_button_name = "Toggle Goggles"
|
||||||
vision_flags = SEE_MOBS
|
vision_flags = SEE_MOBS
|
||||||
|
|
||||||
emp_act(severity)
|
emp_act(severity)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
armor = list(melee = 30, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20)
|
armor = list(melee = 30, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20)
|
||||||
flags_inv = 0
|
flags_inv = 0
|
||||||
siemens_coefficient = 0.9
|
siemens_coefficient = 0.9
|
||||||
|
action_button_name = "Toggle Head-light"
|
||||||
|
|
||||||
/obj/item/clothing/head/hardhat/orange
|
/obj/item/clothing/head/hardhat/orange
|
||||||
icon_state = "hardhat0_orange"
|
icon_state = "hardhat0_orange"
|
||||||
|
|||||||
Reference in New Issue
Block a user