([\W\.])Knockdown\(
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
var/mob/living/L = M
|
||||
if(iscarbon(L))
|
||||
var/mob/living/carbon/C = L
|
||||
C.Knockdown(40) //I play to make sprites go horizontal
|
||||
C.DefaultCombatKnockdown(40) //I play to make sprites go horizontal
|
||||
L.visible_message("<span class='warning'>[src] rams into [L] and sucks him up!</span>") //fuck off shezza this isn't ERP.
|
||||
mob_forced_enter(L)
|
||||
playsound(src, pick('sound/vehicles/clowncar_ram1.ogg', 'sound/vehicles/clowncar_ram2.ogg', 'sound/vehicles/clowncar_ram3.ogg'), 75)
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
var/atom/throw_target = get_edge_target_turf(H, pick(GLOB.cardinals))
|
||||
unbuckle_mob(H)
|
||||
H.throw_at(throw_target, 4, 3)
|
||||
H.Knockdown(100)
|
||||
H.DefaultCombatKnockdown(100)
|
||||
H.adjustStaminaLoss(40)
|
||||
var/head_slot = H.get_item_by_slot(SLOT_HEAD)
|
||||
if(!head_slot || !(istype(head_slot,/obj/item/clothing/head/helmet) || istype(head_slot,/obj/item/clothing/head/hardhat)))
|
||||
@@ -199,7 +199,7 @@
|
||||
var/atom/throw_target = get_edge_target_turf(H, pick(GLOB.cardinals))
|
||||
unbuckle_mob(H)
|
||||
H.throw_at(throw_target, 4, 3)
|
||||
H.Knockdown(30)
|
||||
H.DefaultCombatKnockdown(30)
|
||||
H.adjustStaminaLoss(10)
|
||||
var/head_slot = H.get_item_by_slot(SLOT_HEAD)
|
||||
if(!head_slot || !(istype(head_slot,/obj/item/clothing/head/helmet) || istype(head_slot,/obj/item/clothing/head/hardhat)))
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
mob_exit(i, null, randomstep)
|
||||
if(iscarbon(i))
|
||||
var/mob/living/carbon/Carbon = i
|
||||
Carbon.Knockdown(40)
|
||||
Carbon.DefaultCombatKnockdown(40)
|
||||
|
||||
/obj/vehicle/sealed/proc/DumpSpecificMobs(flag, randomstep = TRUE)
|
||||
for(var/i in occupants)
|
||||
@@ -101,7 +101,7 @@
|
||||
mob_exit(i, null, randomstep)
|
||||
if(iscarbon(i))
|
||||
var/mob/living/carbon/C = i
|
||||
C.Knockdown(40)
|
||||
C.DefaultCombatKnockdown(40)
|
||||
|
||||
|
||||
/obj/vehicle/sealed/AllowDrop()
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
playsound(src, 'sound/effects/bang.ogg', 50, 1)
|
||||
if(ishuman(A))
|
||||
var/mob/living/carbon/human/H = A
|
||||
H.Knockdown(100)
|
||||
H.DefaultCombatKnockdown(100)
|
||||
H.adjustStaminaLoss(30)
|
||||
H.apply_damage(rand(20,35), BRUTE)
|
||||
if(!crash_all)
|
||||
|
||||
Reference in New Issue
Block a user