mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
My first commit, yay!
Removing: -Erro code of r4861. Xsi gave me permission p-please don't kill me. Proc added: -Added a proc that checks the rank of the admin and compares it to a var given. If the check fails, returns a 0 and a "You need more acces" message. If not, returns an 1. admin_rank_check(var/rank, var/requested) Admin option changes: -You need to be at least a trialmin to change a var in VV. -You need to be at least a trialmin to change the vars on the tator panel -You need to be at least a trialmin to allow votes or start a custom one. (All admins can cancel votes) -All mob transformations (of playerpanel and VV) and special options (like godmode), now requires trialmin status or higher. -All admins can use aghost now. -All admins can right click - VV if they are a ghosting. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4889 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -269,6 +269,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
if(!src.holder)
|
||||
src << "Only administrators may use this command."
|
||||
return
|
||||
if(!admin_rank_check(src.holder.level, 3)) return
|
||||
|
||||
for(var/p in forbidden_varedit_object_types)
|
||||
if( istype(O,p) )
|
||||
|
||||
Reference in New Issue
Block a user