mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Remove safety bit, unneeded, remove lying check, also unneeded.
Relocate macro/micro bump to _vr
This commit is contained in:
@@ -218,12 +218,6 @@
|
||||
/mob/living/bot/mulebot/confirmTarget()
|
||||
return 1
|
||||
|
||||
/mob/living/bot/mulebot/handle_micro_bump_helping() // VOREStation EDIT: Can't drive over micros or macros regardless of intent.
|
||||
return 0
|
||||
|
||||
/mob/living/bot/mulebot/handle_micro_bump_other() // VOREStation EDIT: Can't drive over micros or macros regardless of intent.
|
||||
return 0
|
||||
|
||||
/mob/living/bot/mulebot/calcTargetPath()
|
||||
..()
|
||||
if(!target_path.len && target != home) // I presume that target is not null
|
||||
@@ -248,7 +242,7 @@
|
||||
..()
|
||||
|
||||
/mob/living/bot/mulebot/proc/runOver(var/mob/living/M)
|
||||
if(istype(M) && M.lying) // Screw the original implementation, of "runs over everything, no checks". We're going to check if you're lying down.
|
||||
if(istype(M)) // At this point, MULEBot has somehow crossed over onto your tile with you still on it. CRRRNCH.
|
||||
visible_message("<span class='warning'>[src] drives over [M]!</span>")
|
||||
playsound(src, 'sound/effects/splat.ogg', 50, 1)
|
||||
|
||||
@@ -260,20 +254,6 @@
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_L_ARM)
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_R_ARM)
|
||||
|
||||
blood_splatter(src, M, 1)
|
||||
|
||||
else if(istype(M) && !safety) // Are safeties disabled? Gonna FUCK you up.
|
||||
visible_message("<span class='warning'>[src] drives over [M]!</span>")
|
||||
playsound(src, 'sound/effects/splat.ogg', 50, 1)
|
||||
|
||||
var/damage = rand(10, 25) // Really fuck you up, this thing is big as fucc.
|
||||
M.apply_damage(2 * damage, BRUTE, BP_HEAD)
|
||||
M.apply_damage(2 * damage, BRUTE, BP_TORSO)
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_L_LEG)
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_R_LEG)
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_L_ARM)
|
||||
M.apply_damage(0.5 * damage, BRUTE, BP_R_ARM)
|
||||
|
||||
blood_splatter(src, M, 1)
|
||||
..()
|
||||
|
||||
|
||||
5
code/modules/mob/living/bot/mulebot_vr.dm
Normal file
5
code/modules/mob/living/bot/mulebot_vr.dm
Normal file
@@ -0,0 +1,5 @@
|
||||
/mob/living/bot/mulebot/handle_micro_bump_helping() // Can't drive over micros or macros regardless of intent.
|
||||
return 0
|
||||
|
||||
/mob/living/bot/mulebot/handle_micro_bump_other() // Can't drive over micros or macros regardless of intent.
|
||||
return 0
|
||||
@@ -2428,6 +2428,7 @@
|
||||
#include "code\modules\mob\living\bot\floorbot.dm"
|
||||
#include "code\modules\mob\living\bot\medbot.dm"
|
||||
#include "code\modules\mob\living\bot\mulebot.dm"
|
||||
#include "code\modules\mob\living\bot\mulebot_vr.dm"
|
||||
#include "code\modules\mob\living\bot\secbot.dm"
|
||||
#include "code\modules\mob\living\bot\SLed209bot.dm"
|
||||
#include "code\modules\mob\living\carbon\breathe.dm"
|
||||
|
||||
Reference in New Issue
Block a user