mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
SSthrowing (#19421)
Ported SSThrowing from TG, to handle throwings. Updated movement system to the latest iteration, made it a datum as per latest iteration. Updated pass/hit handling of atoms, introduced pass_flag_self to determine what atoms allow to pass. Moved procs and defines around to make them more organized.
This commit is contained in:
@@ -984,8 +984,9 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/item/flame/lighter/throw_impact(mob/living/carbon/M as mob)
|
||||
/obj/item/flame/lighter/throw_impact(atom/hit_atom)
|
||||
. = ..()
|
||||
var/mob/living/carbon/M = hit_atom
|
||||
if(istype(M) && lit && M.IgniteMob())
|
||||
M.visible_message(SPAN_DANGER("\The [M] is ignited by \the [src]!"))
|
||||
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
update_icon()
|
||||
src.shatter()
|
||||
|
||||
/obj/item/material/twohanded/spear/throw_impact(atom/target)
|
||||
/obj/item/material/twohanded/spear/throw_impact(atom/hit_atom)
|
||||
. = ..()
|
||||
if(!.) //not caught
|
||||
if(explosive)
|
||||
|
||||
@@ -6,6 +6,7 @@ var/list/tape_roll_applications = list()
|
||||
icon = 'icons/obj/policetape.dmi'
|
||||
icon_state = "tape"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
pass_flags_self = PASSTABLE
|
||||
var/static/list/hazard_overlays
|
||||
var/turf/start
|
||||
var/turf/end
|
||||
|
||||
Reference in New Issue
Block a user