mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-02 13:32:32 +00:00
Ports table item autoalign from Bay (#6946)
Made it so items get their pixel x/y reset on pickup.
Thrown items now also get their pixel placement slightly randomized.
Tweaked the center of mass on a boatload of items to be more accurate to their sprite art.
Replaced a bunch of randomized pixel placement code into a unifying proc; randpixel_xy() that uses an item's randpixel var.
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
return
|
||||
|
||||
/obj/item/phylactery/pickup(mob/living/user as mob)
|
||||
..()
|
||||
if(!user.is_wizard() && src.lich)
|
||||
to_chat(user, "<span class='warning'>As you pick up \the [src], you feel a wave of dread wash over you.</span>")
|
||||
for(var/obj/machinery/light/P in view(7, user))
|
||||
|
||||
Reference in New Issue
Block a user