mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 11:02:41 +00:00
Further improved stuff for dealing with associative lists. You can now modify the contents of an associative list. Removed static background noise. Added CarbonCopy command from oldcode.
This commit is contained in:
@@ -141,6 +141,7 @@
|
||||
verbs += /client/proc/callprocgen
|
||||
verbs += /client/proc/callprocobj
|
||||
verbs += /client/proc/rnd_check_designs
|
||||
verbs += /client/proc/CarbonCopy
|
||||
|
||||
if (holder.level >= 5)//Game Admin********************************************************************
|
||||
verbs += /obj/admins/proc/view_txt_log
|
||||
@@ -181,6 +182,7 @@
|
||||
verbs += /client/proc/Force_Event_admin
|
||||
verbs += /client/proc/radioalert
|
||||
verbs += /client/proc/make_tajaran
|
||||
verbs += /client/proc/CarbonCopy
|
||||
|
||||
if (holder.level >= 4)//Badmin********************************************************************
|
||||
verbs += /obj/admins/proc/adrev //toggle admin revives
|
||||
@@ -428,6 +430,7 @@
|
||||
verbs -= /client/proc/radioalert
|
||||
verbs -= /client/proc/rnd_check_designs
|
||||
verbs -= /client/proc/make_tajaran
|
||||
verbs -= /client/proc/CarbonCopy
|
||||
|
||||
return
|
||||
|
||||
@@ -892,3 +895,11 @@
|
||||
var/obj/item/device/radio/intercom/a = new /obj/item/device/radio/intercom(null)
|
||||
a.autosay(message,from)
|
||||
del(a)
|
||||
|
||||
/client/proc/CarbonCopy(atom/movable/O as mob|obj in world)
|
||||
set category = "Admin"
|
||||
var/mob/NewObj = new O.type(usr.loc)
|
||||
for(var/V in O.vars)
|
||||
if (issaved(O.vars[V]))
|
||||
NewObj.vars[V] = O.vars[V]
|
||||
return NewObj
|
||||
|
||||
Reference in New Issue
Block a user