[MIRROR] Removes Clone Damage [MDB IGNORE] (#25429)

* 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>
This commit is contained in:
SkyratBot
2023-12-05 05:01:54 +01:00
committed by GitHub
parent ef31e08fd2
commit 9c60ff1de1
138 changed files with 182 additions and 547 deletions

View File

@@ -8,13 +8,13 @@
projectile_type = /obj/projectile/ion/weak
e_cost = LASER_SHOTS(4, STANDARD_CELL_CHARGE * 1.2)
/obj/item/ammo_casing/energy/declone
projectile_type = /obj/projectile/energy/declone
/obj/item/ammo_casing/energy/radiation
projectile_type = /obj/projectile/energy/radiation
select_name = "declone"
fire_sound = 'sound/weapons/pulse3.ogg'
/obj/item/ammo_casing/energy/declone/weak
projectile_type = /obj/projectile/energy/declone/weak
/obj/item/ammo_casing/energy/radiation/weak
projectile_type = /obj/projectile/energy/radiation/weak
/obj/item/ammo_casing/energy/flora
fire_sound = 'sound/effects/stealthoff.ogg'

View File

@@ -14,7 +14,7 @@
// Only actual lasguns can be converted
if(type != /obj/item/gun/energy/laser)
return
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/xraylaser, /datum/crafting_recipe/hellgun, /datum/crafting_recipe/ioncarbine, /datum/crafting_recipe/decloner)
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/xraylaser, /datum/crafting_recipe/hellgun, /datum/crafting_recipe/ioncarbine)
AddComponent(
/datum/component/slapcrafting,\

View File

@@ -33,23 +33,6 @@
// We use the same overlay as the parent, so we can just let the component inherit the correct offsets here
AddComponent(/datum/component/seclite_attachable, overlay_x = 18, overlay_y = 11)
/obj/item/gun/energy/decloner
name = "biological demolecularisor"
desc = "A gun that discharges high amounts of controlled radiation to slowly break a target into component elements."
icon_state = "decloner"
ammo_type = list(/obj/item/ammo_casing/energy/declone)
ammo_x_offset = 1
/obj/item/gun/energy/decloner/update_overlays()
. = ..()
var/obj/item/ammo_casing/energy/shot = ammo_type[select]
if(!QDELETED(cell) && (cell.charge > shot.e_cost))
. += "decloner_spin"
/obj/item/gun/energy/decloner/unrestricted
pin = /obj/item/firing_pin
ammo_type = list(/obj/item/ammo_casing/energy/declone/weak)
/obj/item/gun/energy/floragun
name = "floral somatoray"
desc = "A tool that discharges controlled radiation which induces mutation in plant cells."

View File

@@ -199,7 +199,6 @@
/obj/projectile/bullet/honker,
/obj/projectile/bullet/mime,
/obj/projectile/curse_hand,
/obj/projectile/energy/declone,
/obj/projectile/energy/electrode,
/obj/projectile/energy/net,
/obj/projectile/energy/nuclear_particle,

View File

@@ -145,7 +145,7 @@
var/homing_offset_y = 0
var/damage = 10
var/damage_type = BRUTE //BRUTE, BURN, TOX, OXY, CLONE are the only things that should be in here
var/damage_type = BRUTE //BRUTE, BURN, TOX, OXY are the only things that should be in here
///Defines what armor to use when it hits things. Must be set to bullet, laser, energy, or bomb
var/armor_flag = BULLET

View File

@@ -1,19 +1,19 @@
/obj/projectile/energy/declone
/obj/projectile/energy/radiation
name = "radiation beam"
icon_state = "declone"
damage = 20
damage_type = CLONE
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/declone/on_hit(atom/target, blocked, pierce_hit)
/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/declone/weak
/obj/projectile/energy/radiation/weak
damage = 9
radiation_chance = 10