Stickers now only have a 10% chance of staying persistent, and only save for 2 days. (#22795)

Sticker spam makes the map really ugly and they're way too easy to come
by, so people can keep spamming offices and stuff constantly. This makes
them not be as much of an eyesore while still sticking around sometimes.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2026-07-11 13:45:23 +00:00
committed by GitHub
co-authored by Matt Atlas
parent fc166b58a6
commit 2122b216ab
2 changed files with 61 additions and 2 deletions
+3 -2
View File
@@ -6,7 +6,7 @@
item_flags = ITEM_FLAG_NO_BLUDGEON
w_class = WEIGHT_CLASS_TINY
vis_flags = VIS_INHERIT_LAYER | VIS_INHERIT_DIR
persistant_objects_expiration_time_days = 7
persistant_objects_expiration_time_days = 2
var/datum/weakref/attached
var/list/rand_icons
@@ -69,7 +69,8 @@
user.drop_from_inventory(src, A)
attached = WEAKREF(A)
A.add_vis_contents(src)
SSpersistence.objectsRegisterTrack(src, ckey(user.key))
if(prob(10))
SSpersistence.objectsRegisterTrack(src, ckey(user.key))
/obj/item/sticker/proc/remove_sticker(var/mob/user)
user.put_in_hands(src)