mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-09 17:13:36 +00:00
This reverts commit f54b6904b9.
This commit is contained in:
committed by
GitHub
parent
8cb3571a9c
commit
f029dd1dfc
@@ -629,9 +629,6 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
return
|
||||
|
||||
if(thrown_thing)
|
||||
if(istype(thrown_thing, /obj/item/storage))
|
||||
var/obj/item/storage/S = thrown_thing
|
||||
S.hide_from_all()
|
||||
visible_message("<span class='danger'>[src] has thrown [thrown_thing].</span>")
|
||||
newtonian_move(get_dir(target, src))
|
||||
thrown_thing.throw_at(target, thrown_thing.throw_range, thrown_thing.throw_speed, src, null, null, null, move_force)
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
to_chat(user, "You can't place that item inside the disposal unit.")
|
||||
return
|
||||
|
||||
var/obj/item/storage/S = I
|
||||
if(istype(S))
|
||||
if(istype(I, /obj/item/storage))
|
||||
var/obj/item/storage/S = I
|
||||
if((S.allow_quick_empty || S.allow_quick_gather) && S.contents.len)
|
||||
S.hide_from(user)
|
||||
user.visible_message("[user] empties \the [S] into \the [src].", "You empty \the [S] into \the [src].")
|
||||
@@ -134,8 +134,6 @@
|
||||
if(!user.drop_item())
|
||||
return
|
||||
if(I)
|
||||
if(istype(S))
|
||||
S.hide_from_all()
|
||||
I.forceMove(src)
|
||||
|
||||
to_chat(user, "You place \the [I] into the [src].")
|
||||
|
||||
@@ -81,9 +81,6 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
busy = 1
|
||||
loaded_item = O
|
||||
O.loc = src
|
||||
if(istype(O, /obj/item/storage))
|
||||
var/obj/item/storage/S = O
|
||||
S.hide_from_all()
|
||||
to_chat(user, "<span class='notice'>You add the [O.name] to the [src.name]!</span>")
|
||||
flick("d_analyzer_la", src)
|
||||
spawn(10)
|
||||
|
||||
Reference in New Issue
Block a user