Merge pull request #2053 from CHOMPStationBot/upstream-merge-10370

[MIRROR] [MIRROR] SSpersistence tweaks
This commit is contained in:
Nadyr
2021-05-27 18:48:17 -04:00
committed by GitHub
2 changed files with 282 additions and 280 deletions

View File

@@ -6,12 +6,14 @@
/datum/persistent/paper/sticky/CreateEntryInstance(var/turf/creating, var/list/token)
var/atom/paper = ..()
if(paper)
//VOREStation add - sometimes they fall off
if(prob(90))
paper.pixel_x = token["offset_x"]
paper.pixel_y = token["offset_y"]
else
paper.pixel_x = rand(-5,5)
paper.pixel_y = rand(-5,5)
//VOREStation add end
paper.color = token["color"]
return paper