All combat mechs that are special get their internals_access increased so the pilots of the deathsquad / nuke team can fix up their mechs without having to steal a robotics ID. Also removes engineering from being able to access mech internals, seems weird to have if only robotics is allowed to handle mechs, probably remnant of engineering robotics?
95 lines
3.5 KiB
Plaintext
95 lines
3.5 KiB
Plaintext
/obj/mecha/combat/marauder
|
|
desc = "Heavy-duty, combat exosuit, developed after the Durand model. Rarely found among civilian populations."
|
|
name = "\improper Marauder"
|
|
icon_state = "marauder"
|
|
step_in = 5
|
|
max_integrity = 500
|
|
deflect_chance = 25
|
|
armor = list("melee" = 50, "bullet" = 55, "laser" = 40, "energy" = 30, "bomb" = 30, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
|
|
max_temperature = 60000
|
|
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|
|
infra_luminosity = 3
|
|
operation_req_access = list(ACCESS_CENT_SPECOPS)
|
|
internals_req_access = list(ACCESS_CENT_SPECOPS, ACCESS_ROBOTICS)
|
|
wreckage = /obj/structure/mecha_wreckage/marauder
|
|
add_req_access = 0
|
|
internal_damage_threshold = 25
|
|
force = 45
|
|
max_equip = 4
|
|
bumpsmash = 1
|
|
spawn_tracked = FALSE
|
|
|
|
/obj/mecha/combat/marauder/GrantActions(mob/living/user, human_occupant = 0)
|
|
..()
|
|
smoke_action.Grant(user, src)
|
|
thrusters_action.Grant(user, src)
|
|
zoom_action.Grant(user, src)
|
|
|
|
/obj/mecha/combat/marauder/RemoveActions(mob/living/user, human_occupant = 0)
|
|
..()
|
|
smoke_action.Remove(user)
|
|
thrusters_action.Remove(user)
|
|
zoom_action.Remove(user)
|
|
|
|
/obj/mecha/combat/marauder/loaded/Initialize()
|
|
. = ..()
|
|
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/pulse(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/antiproj_armor_booster(src)
|
|
ME.attach(src)
|
|
|
|
/obj/mecha/combat/marauder/seraph
|
|
desc = "Heavy-duty, command-type exosuit. This is a custom model, utilized only by high-ranking military personnel."
|
|
name = "\improper Seraph"
|
|
icon_state = "seraph"
|
|
operation_req_access = list(ACCESS_CENT_SPECOPS)
|
|
internals_req_access = list(ACCESS_CENT_SPECOPS, ACCESS_ROBOTICS)
|
|
step_in = 3
|
|
max_integrity = 550
|
|
wreckage = /obj/structure/mecha_wreckage/seraph
|
|
internal_damage_threshold = 20
|
|
force = 55
|
|
max_equip = 5
|
|
|
|
/obj/mecha/combat/marauder/seraph/Initialize()
|
|
. = ..()
|
|
var/obj/item/mecha_parts/mecha_equipment/ME
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/scattershot(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/teleporter(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/antiproj_armor_booster(src)
|
|
ME.attach(src)
|
|
|
|
/obj/mecha/combat/marauder/mauler
|
|
desc = "Heavy-duty, combat exosuit, developed off of the existing Marauder model."
|
|
name = "\improper Mauler"
|
|
icon_state = "mauler"
|
|
operation_req_access = list(ACCESS_SYNDICATE)
|
|
internals_req_access = list(ACCESS_SYNDICATE)
|
|
wreckage = /obj/structure/mecha_wreckage/mauler
|
|
max_equip = 5
|
|
|
|
/obj/mecha/combat/marauder/mauler/loaded/Initialize()
|
|
. = ..()
|
|
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/lmg(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/scattershot(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay(src)
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/antiproj_armor_booster(src)
|
|
ME.attach(src)
|
|
|
|
|