mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 13:12:23 +00:00
* Adds the check components * Adds in trailing newlines * Converts all CRLF to LF * Post merge EOF * Post merge line endings * Final commit
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
/obj/mecha/combat/phazon
|
|
desc = "An exosuit which can only be described as 'WTF?'."
|
|
name = "Phazon"
|
|
icon_state = "phazon"
|
|
initial_icon = "phazon"
|
|
step_in = 2
|
|
dir_in = 2 //Facing south.
|
|
step_energy_drain = 3
|
|
normal_step_energy_drain = 3
|
|
max_integrity = 200
|
|
deflect_chance = 30
|
|
armor = list("melee" = 30, "bullet" = 30, "laser" = 30, "energy" = 30, "bomb" = 30, "bio" = 0, "rad" = 50, "fire" = 100, "acid" = 100)
|
|
max_temperature = 25000
|
|
infra_luminosity = 3
|
|
wreckage = /obj/structure/mecha_wreckage/phazon
|
|
add_req_access = 1
|
|
//operation_req_access = list()
|
|
internal_damage_threshold = 25
|
|
force = 15
|
|
phase_state = "phazon-phase"
|
|
max_equip = 3
|
|
|
|
/obj/mecha/combat/phazon/GrantActions(mob/living/user, human_occupant = 0)
|
|
..()
|
|
phasing_action.Grant(user, src)
|
|
switch_damtype_action.Grant(user, src)
|
|
|
|
/obj/mecha/combat/phazon/RemoveActions(mob/living/user, human_occupant = 0)
|
|
..()
|
|
phasing_action.Remove(user)
|
|
switch_damtype_action.Remove(user)
|
|
|
|
/obj/mecha/combat/phazon/New()
|
|
..()
|
|
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/rcd
|
|
ME.attach(src)
|
|
ME = new /obj/item/mecha_parts/mecha_equipment/gravcatapult
|
|
ME.attach(src)
|
|
|
|
/obj/mecha/combat/phazon/get_commands()
|
|
var/output = {"<div class='wr'>
|
|
<div class='header'>Special</div>
|
|
<div class='links'>
|
|
<a href='?src=[UID()];switch_damtype=1'>Change melee damage type</a><br>
|
|
</div>
|
|
</div>
|
|
"}
|
|
output += ..()
|
|
return output
|