Adds a "dupe marked datum" option to Game Panel

Useful when something bugs out in-game and you want to test it without
fucking the original up, or maybe if you want to spam some varedited
item quickly.
This commit is contained in:
Tkdrg
2015-12-28 01:45:33 -03:00
parent 1dec16cbb9
commit a87ea29c84
2 changed files with 8 additions and 1 deletions

View File

@@ -398,7 +398,10 @@ var/global/floorIsLava = 0
<A href='?src=\ref[src];create_mob=1'>Create Mob</A><br>
"}
usr << browse(dat, "window=admin2;size=210x180")
if(marked_datum && istype(marked_datum, /atom))
dat += "<A href='?src=\ref[src];dupe_marked_datum=1'>Duplicate Marked Datum</A><br>"
usr << browse(dat, "window=admin2;size=210x200")
return
/////////////////////////////////////////////////////////////////////////////////////////////////admins2.dm merge