Driving the Adminbus now requires +R_PERMISSIONS

This commit is contained in:
DeityLink
2014-11-29 05:12:51 +01:00
parent 8a1e789449
commit 36a62a5dc1
2 changed files with 9 additions and 0 deletions

View File

@@ -332,6 +332,9 @@
capture_mob(M,1)
return
else
if(!(user.check_rights(R_PERMISSIONS)))
user << "<span class='notice'>Oh you are a god alright, but you don't seem to have your Adminbus driver license!</span>"
return
user.visible_message(
"<span class='notice'>[user] climbs onto \the [src]!</span>",
"<span class='notice'>You climb onto \the [src]!</span>")

View File

@@ -654,7 +654,13 @@ var/global/floorIsLava = 0
dat += {"
<B>Fourth-Wall Demolition</B><BR>
<BR>
"}
if(check_rights(R_PERMISSIONS,0))
dat += {"
<A href='?src=\ref[src];secretsfun=spawnadminbus'>Spawn an Adminbus</A><BR>
"}
if(check_rights(R_FUN,0))
dat += {"
<A href='?src=\ref[src];secretsfun=spawnselfdummy'>Spawn yourself as a Test Dummy</A><BR>
<BR>
"}