mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Driving the Adminbus now requires +R_PERMISSIONS
This commit is contained in:
@@ -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>")
|
||||
|
||||
@@ -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>
|
||||
"}
|
||||
|
||||
Reference in New Issue
Block a user