mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
.loc = to forceMove() (#4937)
As requested, this PR is changed to only include all .loc = to forceMove() changes.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
if(istype(swab) && swab.is_used())
|
||||
user.unEquip(W)
|
||||
src.bloodsamp = swab
|
||||
swab.loc = src
|
||||
swab.forceMove(src)
|
||||
user << "<span class='notice'>You insert \the [W] into \the [src].</span>"
|
||||
else
|
||||
user << "<span class='warning'>\The [src] only accepts used swabs.</span>"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
if(has_swab || has_sample)
|
||||
user << "<span class='notice'>You remove \the sample from \the [src].</span>"
|
||||
if(has_swab)
|
||||
has_swab.loc = get_turf(src)
|
||||
has_swab.forceMove(get_turf(src))
|
||||
has_swab = null
|
||||
if(has_sample)
|
||||
has_sample.forceMove(get_turf(src))
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
add_overlay(list(MA, "evidence"))
|
||||
|
||||
desc = "An evidence bag containing [I]."
|
||||
I.loc = src
|
||||
I.forceMove(src)
|
||||
stored_item = I
|
||||
w_class = I.w_class
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user