mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
Several of the greps were missing the `-P` switch which caused them to fail to match things. The EOL grep also wasn't working right so I replaced it with the one I added to TGMC.
19 lines
817 B
Plaintext
19 lines
817 B
Plaintext
/obj/mecha/combat
|
|
force = 30
|
|
internals_req_access = list(ACCESS_MECH_SCIENCE, ACCESS_MECH_SECURITY)
|
|
internal_damage_threshold = 50
|
|
armor = list("melee" = 30, "bullet" = 30, "laser" = 15, "energy" = 20, "bomb" = 20, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
|
|
mouse_pointer = 'icons/mecha/mecha_mouse.dmi'
|
|
destruction_sleep_duration = 40
|
|
exit_delay = 40
|
|
|
|
/obj/mecha/combat/restore_equipment()
|
|
mouse_pointer = 'icons/mecha/mecha_mouse.dmi'
|
|
. = ..()
|
|
|
|
/obj/mecha/combat/proc/max_ammo() //Max the ammo stored for Nuke Ops mechs, or anyone else that calls this
|
|
for(var/obj/item/I in equipment)
|
|
if(istype(I, /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/))
|
|
var/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/gun = I
|
|
gun.projectiles_cache = gun.projectiles_cache_max
|