mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 05:51:54 +00:00
* Removes Clone Damage * Update blackbox.dm * Modular * Update schema * Update database_changelog.md * More modular deprecated clone things --------- Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
20 lines
532 B
Plaintext
20 lines
532 B
Plaintext
/obj/projectile/energy/radiation
|
|
name = "radiation beam"
|
|
icon_state = "declone"
|
|
damage = 20
|
|
damage_type = TOX
|
|
impact_effect_type = /obj/effect/temp_visual/impact_effect/green_laser
|
|
|
|
/// The chance to be irradiated on hit
|
|
var/radiation_chance = 30
|
|
|
|
/obj/projectile/energy/radiation/on_hit(atom/target, blocked, pierce_hit)
|
|
if (ishuman(target) && prob(radiation_chance))
|
|
radiation_pulse(target, max_range = 0, threshold = RAD_FULL_INSULATION)
|
|
|
|
..()
|
|
|
|
/obj/projectile/energy/radiation/weak
|
|
damage = 9
|
|
radiation_chance = 10
|