mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-27 02:23:10 +00:00
Merge pull request #5942 from Anewbe/headgibs
Headgibbing is a config thing
This commit is contained in:
@@ -130,6 +130,7 @@ var/list/gamemode_cache = list()
|
||||
var/organ_regeneration_multiplier = 1
|
||||
var/organs_decay
|
||||
var/default_brain_health = 400
|
||||
var/allow_headgibs = FALSE
|
||||
|
||||
//Paincrit knocks someone down once they hit 60 shock_stage, so by default make it so that close to 100 additional damage needs to be dealt,
|
||||
//so that it's similar to HALLOSS. Lowered it a bit since hitting paincrit takes much longer to wear off than a halloss stun.
|
||||
@@ -792,6 +793,8 @@ var/list/gamemode_cache = list()
|
||||
config.bones_can_break = value
|
||||
if("limbs_can_break")
|
||||
config.limbs_can_break = value
|
||||
if("allow_headgibs")
|
||||
config.allow_headgibs = TRUE
|
||||
|
||||
if("run_speed")
|
||||
config.run_speed = value
|
||||
|
||||
@@ -258,7 +258,7 @@
|
||||
joint = "jaw"
|
||||
amputation_point = "neck"
|
||||
gendered_icon = 1
|
||||
cannot_gib = 1
|
||||
cannot_gib = TRUE
|
||||
encased = "skull"
|
||||
base_miss_chance = 40
|
||||
var/can_intake_reagents = 1
|
||||
@@ -268,6 +268,11 @@
|
||||
|
||||
var/eye_icon_location = 'icons/mob/human_face.dmi'
|
||||
|
||||
/obj/item/organ/external/head/Initialize()
|
||||
if(config.allow_headgibs)
|
||||
cannot_gib = FALSE
|
||||
return ..()
|
||||
|
||||
/obj/item/organ/external/head/robotize(var/company, var/skip_prosthetics, var/keep_organs)
|
||||
return ..(company, skip_prosthetics, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user