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
-4
View File
@@ -36,8 +36,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
/obj/item/stack/cable_coil/Initialize(mapload)
. = ..()
pixel_x = rand(-2,2)
pixel_y = rand(-2,2)
update_icon()
recipes = GLOB.cable_coil_recipes
update_wclass()
@@ -381,8 +379,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
/obj/item/stack/cable_coil/cut/Initialize(mapload)
. = ..()
src.amount = rand(1,2)
pixel_x = rand(-2,2)
pixel_y = rand(-2,2)
update_appearance(UPDATE_NAME|UPDATE_ICON_STATE)
update_wclass()