mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 07:37:09 +01:00
linter fixes (#6486)
tl;dr spacemandmm updated and our codebase no longer lints due to our abuse of `//!`
This commit is contained in:
+13
-13
@@ -27,14 +27,14 @@
|
||||
/// Number of wounds we have - some wounds like bruises will collate into one datum representing all of them.
|
||||
var/wound_tally
|
||||
|
||||
//! ## STRINGS
|
||||
//* ## STRINGS
|
||||
/// Fracture description if any.
|
||||
var/broken_description
|
||||
/// Modifier used for generating the on-mob damage overlay for this limb.
|
||||
var/damage_state = "00"
|
||||
|
||||
|
||||
//! ## DAMAGE VARS
|
||||
//* ## DAMAGE VARS
|
||||
/// Multiplier for incoming brute damage.
|
||||
var/brute_mod = 1
|
||||
/// As above for burn.
|
||||
@@ -59,7 +59,7 @@
|
||||
var/base_miss_chance = 20
|
||||
|
||||
|
||||
//! ## APPEARANCE VARS
|
||||
//* ## APPEARANCE VARS
|
||||
/// Snowflake warning, reee. Used for slime limbs.
|
||||
var/nonsolid
|
||||
/// Also for slimes. Used for transparent limbs.
|
||||
@@ -92,7 +92,7 @@
|
||||
/// Markings (body_markings) to apply to the icon
|
||||
var/list/markings = list()
|
||||
|
||||
//! ## STRUCTURAL VARS
|
||||
//* ## STRUCTURAL VARS
|
||||
/// Master-limb.
|
||||
var/obj/item/organ/external/parent
|
||||
/// Sub-limbs.
|
||||
@@ -105,7 +105,7 @@
|
||||
var/organ_rel_size = 25
|
||||
var/atom/movable/splinted
|
||||
|
||||
//! ## JOINT/STATE VARS
|
||||
//* ## JOINT/STATE VARS
|
||||
/// It would be more appropriate if these two were named "affects_grasp" and "affects_stand" at this point
|
||||
var/can_grasp
|
||||
/// Modifies stance tally/ability to stand.
|
||||
@@ -128,7 +128,7 @@
|
||||
var/encased
|
||||
|
||||
|
||||
//! ## SURGERY VARS
|
||||
//* ## SURGERY VARS
|
||||
var/open = FALSE
|
||||
var/stage = FALSE
|
||||
var/cavity = FALSE
|
||||
@@ -382,7 +382,7 @@
|
||||
if(weapon_descriptor)
|
||||
add_autopsy_data(weapon_descriptor, brute + burn)
|
||||
|
||||
//! LEGACY BELOW
|
||||
//* LEGACY BELOW
|
||||
|
||||
var/can_cut = (sharp) && (robotic < ORGAN_ROBOT)
|
||||
|
||||
@@ -446,8 +446,8 @@
|
||||
// and the brute damage dealt exceeds the tearoff threshold, the organ is torn off.
|
||||
|
||||
//Check edge eligibility
|
||||
//! edge eligibility disabled; organs should optimally not reqiure the item reference and should instead
|
||||
//! get descriptors (damage, damage mode, etc) of the inbound attack.
|
||||
//* edge eligibility disabled; organs should optimally not reqiure the item reference and should instead
|
||||
//* get descriptors (damage, damage mode, etc) of the inbound attack.
|
||||
var/edge_eligible = edge
|
||||
// var/edge_eligible = 0
|
||||
// if(edge)
|
||||
@@ -470,7 +470,7 @@
|
||||
droplimb(0, DROPLIMB_BLUNT)
|
||||
else if(brute >= max_damage / DROPLIMB_THRESHOLD_TEAROFF && prob(brute*0.33))
|
||||
droplimb(0, DROPLIMB_EDGE)
|
||||
//! damage spreading disabled; the attacking weapon should handle this if necessary.
|
||||
//* damage spreading disabled; the attacking weapon should handle this if necessary.
|
||||
// else if(spread_dam && owner && parent && (brute_overflow || burn_overflow) && (brute_overflow >= 5 || burn_overflow >= 5) && !permutation) //No infinite damage loops.
|
||||
// var/brute_third = brute_overflow * 0.33
|
||||
// var/burn_third = burn_overflow * 0.33
|
||||
@@ -483,7 +483,7 @@
|
||||
// C.take_damage(brute_on_children, burn_on_children, 0, 0, null, forbidden_limbs, 1) //Splits the damage to each individual 'child', incase multiple exist.
|
||||
// parent.take_damage(brute_third, burn_third, 0, 0, null, forbidden_limbs, 1)
|
||||
|
||||
//! LEGACY ABOVE
|
||||
//* LEGACY ABOVE
|
||||
|
||||
if(!defer_host_updates)
|
||||
owner?.update_health()
|
||||
@@ -1166,7 +1166,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
return 0
|
||||
|
||||
/obj/item/organ/external/robotize(var/company, var/skip_prosthetics = 0, var/keep_organs = 0, force)
|
||||
//! SHITCODE ALERT: REFACTOR ORGANS ASAP; FORCE IS JUST SO PREFS WORK.
|
||||
//* SHITCODE ALERT: REFACTOR ORGANS ASAP; FORCE IS JUST SO PREFS WORK.
|
||||
if(robotic >= ORGAN_ROBOT && !force)
|
||||
return
|
||||
|
||||
@@ -1220,7 +1220,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
owner.refresh_modular_limb_verbs()
|
||||
return 1
|
||||
|
||||
//! ## VIRGO HOOK, TODO: Integrate this.
|
||||
//* ## VIRGO HOOK, TODO: Integrate this.
|
||||
//Sideways override for nanoform limbs (ugh)
|
||||
/obj/item/organ/external/robotize(var/company, var/skip_prosthetics = FALSE, var/keep_organs = FALSE, force)
|
||||
var/original_robotic = robotic
|
||||
|
||||
Reference in New Issue
Block a user