mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-02 21:44:17 +00:00
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
88 lines
2.2 KiB
Plaintext
88 lines
2.2 KiB
Plaintext
/obj/mecha/combat/durand
|
|
desc = "An aging combat exosuit utilized by many corporations. Originally developed to combat hostile alien lifeforms."
|
|
name = "Durand"
|
|
icon_state = "durand"
|
|
initial_icon = "durand"
|
|
step_in = 4
|
|
dir_in = 1 //Facing North.
|
|
health = 300
|
|
maxhealth = 300 //Don't forget to update the /old variant if you change this number.
|
|
deflect_chance = 20
|
|
max_temperature = 30000
|
|
infra_luminosity = 8
|
|
force = 40
|
|
wreckage = /obj/effect/decal/mecha_wreckage/durand
|
|
|
|
damage_minimum = 15 //Big stompy
|
|
minimum_penetration = 25
|
|
|
|
max_hull_equip = 2
|
|
max_weapon_equip = 1
|
|
max_utility_equip = 2
|
|
max_universal_equip = 1
|
|
max_special_equip = 1
|
|
|
|
starting_components = list(
|
|
/obj/item/mecha_parts/component/hull/durable,
|
|
/obj/item/mecha_parts/component/actuator,
|
|
/obj/item/mecha_parts/component/armor/military,
|
|
/obj/item/mecha_parts/component/gas,
|
|
/obj/item/mecha_parts/component/electrical
|
|
)
|
|
|
|
defence_mode_possible = 1
|
|
|
|
icon_scale_x = 1.5
|
|
icon_scale_y = 1.5
|
|
|
|
/*
|
|
/obj/mecha/combat/durand/New()
|
|
..()
|
|
weapons += new /datum/mecha_weapon/ballistic/lmg(src)
|
|
weapons += new /datum/mecha_weapon/ballistic/scattershot(src)
|
|
selected_weapon = weapons[1]
|
|
return
|
|
*/
|
|
|
|
|
|
|
|
//This is for the Mech stats / Menu system. To be moved later on.
|
|
/obj/mecha/combat/durand/get_commands()
|
|
var/output = {"<div class='wr'>
|
|
<div class='header'>Special</div>
|
|
<div class='links'>
|
|
<a href='byond://?src=\ref[src];toggle_defence_mode=1'>Toggle defence mode</a>
|
|
</div>
|
|
</div>
|
|
"}
|
|
output += ..()
|
|
return output
|
|
|
|
|
|
//Not needed anymore but left for reference.
|
|
/*
|
|
/obj/mecha/combat/durand/get_stats_part()
|
|
var/output = ..()
|
|
output += span_bold("Defence mode: [defence?"on":"off"]")
|
|
return output
|
|
*/
|
|
|
|
/*
|
|
|
|
/obj/mecha/combat/durand/Topic(href, href_list)
|
|
..()
|
|
if (href_list["toggle_defence_mode"])
|
|
src.defence_mode()
|
|
return
|
|
*/
|
|
|
|
//Meant for random spawns.
|
|
/obj/mecha/combat/durand/old
|
|
desc = "An aging combat exosuit utilized by many corporations. Originally developed to combat hostile alien lifeforms. This one is particularly worn looking and likely isn't as sturdy."
|
|
|
|
/obj/mecha/combat/durand/old/New()
|
|
..()
|
|
health = 25
|
|
maxhealth = 250 //Just slightly worse.
|
|
cell.charge = rand(0, (cell.charge/2))
|