mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-21 15:42:53 +00:00
88 lines
2.4 KiB
Plaintext
88 lines
2.4 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
|
|
damage_absorption = list("brute"=0.5,"fire"=1.1,"bullet"=0.65,"laser"=0.85,"energy"=0.9,"bomb"=0.8)
|
|
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='?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 += "<b>Defence mode: [defence?"on":"off"]</b>"
|
|
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)) |