mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 18:13:35 +00:00
Generalized all ninja power and gear code to work with new rig system. Added shurikens, weapon mount, more work on deployable items. Readded energy nets and energy blades. Grenade launcher/charge stuff, interface stuff. Renamed previously existing rigs to voidsuits, restructured rig and voidsuit files. Refactored the energy net and teleportation proc. Totally rewrote AI core/intellicard transfer procs. Added rig sprites by Mordeth221, added step by steap suit sealing/inability to interfere with suit sealing process. Updated map paths to use voidsuits. Added chemical dispenser functionality, added power sink, added atom/drain_power() proc for later use. Added rigsuit verbs, added voice changer. Renamed MASKINTERNALS to AIRTIGHT, added internals checks for airtight helmets. Added drain_power() procs to vulnerable machinery. Reimplemented data theft. Added suit maluses for losing your cell while wearing one. Transitioned the rig suits to a back-mounted item that also controls a chestpiece. Converted rig module to a storage item, convert ERT voidsuits to hardsuits.
22 lines
799 B
Plaintext
22 lines
799 B
Plaintext
/obj/item/voice_changer
|
|
name = "voice changer"
|
|
desc = "A voice scrambling module. If you can see this, report it as a bug on the tracker."
|
|
var/voice //If set and item is present in mask/suit, this name will be used for the wearer's speech.
|
|
var/active
|
|
|
|
/obj/item/clothing/mask/gas/voice
|
|
name = "gas mask"
|
|
desc = "A face-covering mask that can be connected to an air supply. It seems to house some odd electronics."
|
|
var/obj/item/voice_changer/changer
|
|
origin_tech = "syndicate=4"
|
|
|
|
/obj/item/clothing/mask/gas/voice/New()
|
|
..()
|
|
changer = new(src)
|
|
|
|
/obj/item/clothing/mask/gas/voice/space_ninja
|
|
name = "ninja mask"
|
|
desc = "A close-fitting mask that acts both as an air filter and a post-modern fashion statement."
|
|
icon_state = "s-ninja"
|
|
item_state = "s-ninja_mask"
|
|
siemens_coefficient = 0.2 |