mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
cleans up the storage defines properly (#18373)
* cleans up the storage defines properly * fix that shit * .
This commit is contained in:
@@ -270,8 +270,9 @@ var/list/toxic_reagents = list(TOXIN_PATH)
|
||||
var/atom/bumped = args[2]
|
||||
var/warn = FALSE
|
||||
for(var/datum/artifact_effect/my_effect in my_effects)
|
||||
if(istype(bumped,/obj))
|
||||
if(bumped:throwforce >= 10)
|
||||
if(isitem(bumped))
|
||||
var/obj/item/bumped_item = bumped
|
||||
if(bumped_item.throwforce >= 10)
|
||||
if(my_effect.trigger == TRIGGER_FORCE)
|
||||
my_effect.ToggleActivate()
|
||||
|
||||
@@ -293,8 +294,9 @@ var/list/toxic_reagents = list(TOXIN_PATH)
|
||||
var/atom/movable/M = args[2]
|
||||
var/warn = FALSE
|
||||
for(var/datum/artifact_effect/my_effect in my_effects)
|
||||
if(istype(M,/obj))
|
||||
if(M:throwforce >= 10)
|
||||
if(isitem(M))
|
||||
var/obj/item/bumped_item = M
|
||||
if(bumped_item.throwforce >= 10)
|
||||
if(my_effect.trigger == TRIGGER_FORCE)
|
||||
my_effect.ToggleActivate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user