mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Weapon Analysis Printing (#10343)
This commit is contained in:
@@ -846,3 +846,13 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
|
||||
|
||||
/obj/item/proc/extinguish_fire()
|
||||
return
|
||||
|
||||
/obj/item/proc/get_print_info(var/no_clear = TRUE)
|
||||
if(no_clear)
|
||||
. = ""
|
||||
. += "Damage: [force]<br>"
|
||||
. += "Damage Type: [damtype]<br>"
|
||||
. += "Sharp: [sharp ? "yes" : "no"]<br>"
|
||||
. += "Dismemberment: [edge ? "likely to dismember" : "unlikely to dismember"]<br>"
|
||||
. += "Penetration: [armor_penetration]<br>"
|
||||
. += "Throw Force: [throwforce]<br>"
|
||||
|
||||
@@ -122,6 +122,15 @@
|
||||
user.visible_message("<span class='danger'>\The [user] blocks [attack_text] with \the [src]!</span>")
|
||||
return 1
|
||||
|
||||
/obj/item/melee/energy/get_print_info()
|
||||
. = ..()
|
||||
. += "Active Damage: [active_force]<br>"
|
||||
. += "Active Throw Force: [active_throwforce]<br>"
|
||||
. += "Blocks Bullets: [can_block_bullets ? "true" : "false"]<br>"
|
||||
. += "Block Chance: [base_block_chance]<br>"
|
||||
. += "Projectile Reflection Chance: [base_reflectchance]<br>"
|
||||
. += "Shield Rating: [shield_power]<br>"
|
||||
|
||||
/obj/item/melee/energy/glaive
|
||||
name = "energy glaive"
|
||||
desc = "An energized glaive."
|
||||
|
||||
Reference in New Issue
Block a user