Tweak: Removes position randomization for some things (#22820)

* Tweak: Removes position randomization for some things

* Randomize when create in machines

* Review changes
This commit is contained in:
Aylong
2023-10-13 16:26:27 +03:00
committed by GitHub
parent d440cfbdeb
commit 58e88eeec3
16 changed files with 13 additions and 45 deletions
-5
View File
@@ -5,11 +5,6 @@
var/icon_full = ""
var/material = /obj/item/stack/sheet/metal
/obj/item/ashtray/Initialize(mapload)
. = ..()
pixel_y = rand(-5, 5)
pixel_x = rand(-6, 6)
/obj/item/ashtray/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/cigbutt) || istype(I, /obj/item/clothing/mask/cigarette) || istype(I, /obj/item/match))
if(contents.len >= max_butts)
@@ -79,11 +79,6 @@
toolspeed = 1
usesound = 'sound/items/deconstruct.ogg'
/obj/item/stock_parts/New()
..()
src.pixel_x = rand(-5.0, 5)
src.pixel_y = rand(-5.0, 5)
//Rank 1
/obj/item/stock_parts/capacitor