Infiltrator Suit Rework: MODsuit edition (#70303)

* Reconfigures the Infiltrator armor set into the Infiltrator modsuit. Comes with a brain agony demoralizer device, and makes it literally impossible to examine you.
This commit is contained in:
necromanceranne
2022-10-09 09:05:07 +11:00
committed by GitHub
parent 80c09c7cc5
commit a97c68a6df
20 changed files with 184 additions and 123 deletions
+46
View File
@@ -451,3 +451,49 @@
if(!holding_storage || holding_storage.max_specific_storage >= mod.w_class)
return
mod.forceMove(drop_location())
/obj/item/mod/module/demoralizer
name = "MOD psi-echo demoralizer module"
desc = "One incredibly morbid member of the RND team at Roseus Galactic posed a question to her colleagues. \
'I desire the power to scar my enemies mentally as I murder them. Who will stop me implementing this in our next project?' \
And thus the Psi-Echo Demoralizer Device was reluctantly invented. The future of psychological warfare, today!"
icon_state = "brain_hurties"
complexity = 0
idle_power_cost = DEFAULT_CHARGE_DRAIN * 0.1
removable = FALSE
var/datum/proximity_monitor/advanced/demoraliser/demoralizer
/obj/item/mod/module/demoralizer/on_suit_activation()
var/datum/demoralise_moods/module/mood_category = new()
demoralizer = new(mod.wearer, 7, TRUE, mood_category)
/obj/item/mod/module/demoralizer/on_suit_deactivation(deleting = FALSE)
QDEL_NULL(demoralizer)
/obj/item/mod/module/infiltrator
name = "MOD infiltration core programs module"
desc = "The primary stealth systems operating within the suit. Utilizing electromagnetic signals, \
the wearer simply cannot be observed closely, or heard clearly by those around them."
icon_state = "infiltrator"
complexity = 0
removable = FALSE
idle_power_cost = DEFAULT_CHARGE_DRAIN * 0
incompatible_modules = list(/obj/item/mod/module/infiltrator, /obj/item/mod/module/armor_booster, /obj/item/mod/module/welding)
/obj/item/mod/module/infiltrator/on_install()
mod.item_flags |= EXAMINE_SKIP
/obj/item/mod/module/infiltrator/on_uninstall(deleting = FALSE)
mod.item_flags &= ~EXAMINE_SKIP
/obj/item/mod/module/infiltrator/on_suit_activation()
ADD_TRAIT(mod.wearer, TRAIT_SILENT_FOOTSTEPS, MOD_TRAIT)
ADD_TRAIT(mod.wearer, TRAIT_UNKNOWN, MOD_TRAIT)
mod.helmet.flash_protect = FLASH_PROTECTION_WELDER
/obj/item/mod/module/infiltrator/on_suit_deactivation(deleting = FALSE)
REMOVE_TRAIT(mod.wearer, TRAIT_SILENT_FOOTSTEPS, MOD_TRAIT)
REMOVE_TRAIT(mod.wearer, TRAIT_UNKNOWN, MOD_TRAIT)
if(deleting)
return
mod.helmet.flash_protect = initial(mod.helmet.flash_protect)
@@ -60,6 +60,18 @@
max_combined_w_class = 30
max_items = 21
/obj/item/mod/module/storage/belt
name = "MOD case storage module"
desc = "Some concessions had to be made when creating a compressed modular suit core. \
As a result, Roseus Galactic equipped their suit with a slimline storage case. \
If you find this equipped to a standard modular suit, then someone has almost certainly shortchanged you on a proper storage module."
icon_state = "storage_case"
complexity = 0
max_w_class = WEIGHT_CLASS_SMALL
removable = FALSE
max_combined_w_class = 21
max_items = 7
/obj/item/mod/module/storage/bluespace
name = "MOD bluespace storage module"
desc = "A storage system developed by Nanotrasen, these compartments employ \