end of file Fix (#17308)

* end of file Fix

* fix those lints too
This commit is contained in:
Kashargul
2025-03-10 16:15:35 -04:00
committed by GitHub
parent ae85941c35
commit 1def015bad
537 changed files with 609 additions and 654 deletions
@@ -552,4 +552,4 @@
ammo_type = /obj/item/ammo_casing/a545/hunter
matter = list(MAT_STEEL = 18000)
max_ammo = 100
multiple_sprites = 1
multiple_sprites = 1
@@ -145,4 +145,4 @@
icon_state = "impact_ratmining"
light_range = 2
light_power = 0.5
light_color = "#77A6E1"
light_color = "#77A6E1"
@@ -9,7 +9,7 @@
description_info = "Created to fulfill the needs and wants of the Curabitur Scimed personell during rescue operations, the Healcannon is a marvel of reverse-engineering and utilization of unknown technologies. \
It makes use of the Vey-Med ML-3 'Medigun' microbattery technology, combining the effects of multiple 'microbatteries' into single 'macrobatteries' that are built around precursor void cores, \
allowing for the batteries to self-charge for prolonged field use. However, the weakened beams caused by the use of ununderstood technology created a need for a VERY strong focus, \
which lead to the Healcannon becoming a very bulky tool. Fortunately, it's not as heavy as it looks."
which lead to the Healcannon becoming a very bulky tool. Fortunately, it's not as heavy as it looks."
w_class = ITEMSIZE_LARGE
load_method = SINGLE_CASING
@@ -43,7 +43,7 @@
if(81 to INFINITY)//gotta cover any admemes/other ways to get above max charge here.
istate = "healcannon_100"
else
indicator_colour = null
indicator_colour = null
var/image/x = image(icon = icon, icon_state = istate)
x.color = indicator_colour
@@ -58,7 +58,7 @@
.=..()
update_icon()
chambered = null
/obj/item/gun/projectile/multi_cannon/get_ammo_count() // Custom handling for the Curabitur.
if(istype(chambered, /obj/item/ammo_casing/macrobattery))
var/obj/item/ammo_casing/macrobattery/battery = chambered
@@ -69,4 +69,4 @@
else if(chambered == null)
return 0
else
CRASH("/obj/item/gun/projectile/multi_cannon/get_ammo_count() was called from [src] but did not have a valid magazine loaded, somehow! Chambered is currently [chambered].")
CRASH("/obj/item/gun/projectile/multi_cannon/get_ammo_count() was called from [src] but did not have a valid magazine loaded, somehow! Chambered is currently [chambered].")
@@ -42,4 +42,4 @@
if(modifystate)
icon_state = "[modifystate]"
else
icon_state = "[initial(icon_state)]"
icon_state = "[initial(icon_state)]"
@@ -163,4 +163,4 @@
firemodes = list(
list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun, modifystate="nucgunstun", charge_cost = 240),
list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="nucgunkill", charge_cost = 480),
)
)
@@ -20,4 +20,4 @@
icon_state = "[initial(icon_state)]-empty"
/obj/item/gun/projectile/caseless/prototype/loaded
magazine_type = /obj/item/ammo_magazine/m5mmcaseless
magazine_type = /obj/item/ammo_magazine/m5mmcaseless
@@ -33,4 +33,4 @@
..()
if(blocked < 2)
if(istype(target, /obj/item/reagent_containers/food) || istype(target, /obj/item/slime_extract))
reagents.trans_to_obj(target, reagent_amount)
reagents.trans_to_obj(target, reagent_amount)
@@ -16,4 +16,3 @@
ammo_type = /obj/item/ammo_casing/a380
max_ammo = 8
multiple_sprites = 1
@@ -63,4 +63,3 @@
The semi-automatic revolving mechanism offers no real advantage, but some colonists swear by it. \
Uses .44 magnum revolver rounds."
icon_state = "vintagerevolvingrifle"
+1 -1
View File
@@ -152,4 +152,4 @@
if(ismob(target))
var/throwdir = get_dir(firer,target)
target.throw_at(get_edge_target_turf(target, throwdir), rand(1,6), 10)
return 1
return 1
@@ -103,4 +103,4 @@
damage = 17
armor_penetration = 10
range_step = 5 //controls damage falloff with distance. projectiles lose a "pellet" each time they travel this distance. Can be a non-integer.
pellets = 1
pellets = 1