mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Adds the Ha'rron MK.IV light tank (#5567)
This pr adds a tank, reserved for a future event and adminbus. Sprites were made by kyres1. Adds some sounds to certain mecha actions, like loading crates or using a drill. Ports padded caps from baystation.
This commit is contained in:
@@ -312,6 +312,7 @@
|
||||
// called when something steps onto a human
|
||||
// this handles mulebots and vehicles
|
||||
/mob/living/carbon/human/Crossed(var/atom/movable/AM)
|
||||
..()
|
||||
if(istype(AM, /obj/machinery/bot/mulebot))
|
||||
var/obj/machinery/bot/mulebot/MB = AM
|
||||
MB.RunOver(src)
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
src.visible_message("<b>[src]</b> points to [A]")
|
||||
return 1
|
||||
|
||||
/mob/living/Crossed(var/atom/movable/AM)
|
||||
if(istype(AM, /obj/mecha))
|
||||
var/obj/mecha/MB = AM
|
||||
MB.trample(src)
|
||||
|
||||
/*one proc, four uses
|
||||
swapping: if it's 1, the mobs are trying to switch, if 0, non-passive is pushing passive
|
||||
default behaviour is:
|
||||
@@ -307,7 +312,7 @@ default behaviour is:
|
||||
return halloss
|
||||
|
||||
/mob/living/proc/adjustHalLoss(var/amount)
|
||||
if(status_flags & GODMODE)
|
||||
if(status_flags & GODMODE)
|
||||
return 0
|
||||
|
||||
if(amount > 0)
|
||||
|
||||
Reference in New Issue
Block a user