mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user