Persistent Trash/Dirt/Graffiti/Notices (#7337)

* Port Trash/Writing Persistence from World

* stuff beyond straight portin

* Fixed admin menu

* Config, cigbutts, blood exceptions, offices....

* mapped butts
This commit is contained in:
Cerebulon
2020-07-24 10:23:34 +01:00
committed by GitHub
parent a461d1f357
commit 03b7a0ea0d
58 changed files with 1158 additions and 192 deletions

View File

@@ -466,7 +466,7 @@
for(var/obj/W in T)
//Different classes of items give different commodities.
if(istype(W,/obj/item/weapon/cigbutt))
if(istype(W,/obj/item/trash/cigbutt))
if(plastic)
plastic.add_charge(500)
else if(istype(W,/obj/effect/spider/spiderling))

View File

@@ -296,7 +296,7 @@
// Copied over from paper's rename verb
// see code\modules\paperwork\paper.dm line 62
/obj/item/weapon/pen/robopen/proc/RenamePaper(mob/user as mob,obj/paper as obj)
/obj/item/weapon/pen/robopen/proc/RenamePaper(mob/user, obj/item/weapon/paper/paper)
if ( !user || !paper )
return
var/n_name = sanitizeSafe(input(user, "What would you like to label the paper?", "Paper Labelling", null) as text, 32)
@@ -306,6 +306,7 @@
//n_name = copytext(n_name, 1, 32)
if(( get_dist(user,paper) <= 1 && user.stat == 0))
paper.name = "paper[(n_name ? text("- '[n_name]'") : null)]"
paper.last_modified_ckey = user.ckey
add_fingerprint(user)
return