Tweaks Headbutts and Grabbing by Species (#5951)

This commit is contained in:
LordFowl
2019-03-04 17:45:49 -05:00
committed by Werner
parent db15755ad4
commit a18fd30476
9 changed files with 70 additions and 2 deletions
@@ -71,7 +71,9 @@
var/radiation_mod = 1 // Radiation modifier
var/flash_mod = 1 // Stun from blindness modifier.
var/fall_mod = 1 // Fall damage modifier, further modified by brute damage modifier
var/grab_mod = 1 // How easy it is to grab the species. Higher is harder to grab.
var/metabolism_mod = 1 // Reagent metabolism modifier
var/vision_flags = DEFAULT_SIGHT // Same flags as glasses.
var/inherent_eye_protection // If set, this species has this level of inherent eye protection.
var/eyes_are_impermeable = FALSE // If TRUE, this species' eyes are not damaged by phoron.
@@ -27,6 +27,7 @@
brute_mod = 2
burn_mod = 4
virus_immune = 1
grab_mod = 2
warning_low_pressure = 50 //golems can into space now
hazard_low_pressure = 0
@@ -33,6 +33,7 @@
brute_mod = 1.5
burn_mod = 1.5
fall_mod = 0.5
grab_mod = 2
natural_climbing = 1
spawn_flags = IS_RESTRICTED
@@ -55,6 +55,7 @@
gluttonous = 1
slowdown = 0.5
brute_mod = 0.8
grab_mod = 0.75
fall_mod = 1.2
ethanol_resistance = 0.4
taste_sensitivity = TASTE_SENSITIVE
@@ -223,6 +224,8 @@
name_language = LANGUAGE_SKRELLIAN
rarity_value = 3
grab_mod = 1.25
spawn_flags = CAN_JOIN | IS_WHITELISTED
appearance_flags = HAS_HAIR_COLOR | HAS_LIPS | HAS_UNDERWEAR | HAS_SKIN_COLOR | HAS_SOCKS
flags = NO_SLIP
@@ -291,6 +294,8 @@
even the simplest concepts of other minds. Their alien physiology allows them survive happily off a diet of nothing but light, \
water and other radiation."
grab_mod = 1.1
has_organ = list(
"nutrient channel" = /obj/item/organ/diona/nutrients,
"neural strata" = /obj/item/organ/diona/strata,
@@ -11,6 +11,7 @@
burn_mod = 1.2
oxy_mod = 1
radiation_mod = 0.5
grab_mod = 1.25
mob_size = 10 //fairly lighter than the worker type.
taste_sensitivity = TASTE_DULL
blurb = "Type BA, a sub-type of the generic Type B Warriors, are the second most prominent type of Vaurca society, taking the form of hive security and military grunts. \
@@ -51,6 +52,7 @@
eyes_icons = 'icons/mob/human_face/eyes48x48.dmi'
brute_mod = 0.1 //note to self: remove is_synthetic checks for brmod and burnmod
burn_mod = 0.8 //2x was a bit too much. we'll see how this goes.
grab_mod = 4
toxins_mod = 1 //they're not used to all our weird human bacteria.
breakcuffs = list(MALE,FEMALE,NEUTER)
mob_size = 30
@@ -104,6 +106,7 @@
burn_mod = 0.1
fall_mod = 0
toxins_mod = 1
grab_mod = 10
total_health = 200
breakcuffs = list(MALE,FEMALE,NEUTER)
mob_size = 30
@@ -16,6 +16,7 @@
allowed_eat_types = TYPE_ORGANIC | TYPE_SYNTHETIC | TYPE_HUMANOID
mob_size = 14
fall_mod = 0
grab_mod = 4
has_limbs = list(
"chest" = list("path" = /obj/item/organ/external/chest/unbreakable),
+9 -2
View File
@@ -235,12 +235,19 @@
return
if(!assailant.canClick())
return
if(world.time < (last_action + UPGRADE_COOLDOWN))
return
if(!assailant.canmove || assailant.lying)
qdel(src)
return
var/grab_coeff = 1
if(ishuman(affecting))
var/mob/living/carbon/human/H = affecting
if(H.species)
grab_coeff = H.species.grab_mod
if(world.time < (last_action + (UPGRADE_COOLDOWN * grab_coeff)))
return
last_action = world.time
if(state < GRAB_AGGRESSIVE)
+6
View File
@@ -90,6 +90,12 @@
attacker.visible_message("<span class='danger'>[attacker] thrusts \his head into [target]'s skull!</span>")
var/damage = 20
if(attacker.mob_size >= 10)
damage += min(attacker.mob_size, 20)
if(isunathi(attacker))
damage += 5
var/obj/item/clothing/hat = attacker.head
if(istype(hat))
damage += hat.force * 3