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 14:26:27 +01:00
committed by GitHub
parent d440cfbdeb
commit 58e88eeec3
16 changed files with 13 additions and 45 deletions
+2
View File
@@ -462,6 +462,8 @@ won't update every console in existence) but it's more of a hassle to do. Also,
SSblackbox.record_feedback("nested tally", "RND Production List", amount, list("[being_built.category]", "[being_built.name]"))
for(var/i in 1 to amount)
var/obj/item/new_item = new being_built.build_path(src)
new_item.pixel_x = rand(-5, 5)
new_item.pixel_y = rand(-5, 5)
if(istype(new_item, /obj/item/storage/backpack/holding))
new_item.investigate_log("built by [key]","singulo")
if(!istype(new_item, /obj/item/stack/sheet)) // To avoid materials dupe glitches