Tweaked card ejection slightly.

This commit is contained in:
Fayrik
2016-01-29 07:31:33 +00:00
parent 299136b91c
commit b9162fbb3e
3 changed files with 57 additions and 20 deletions
+9 -1
View File
@@ -704,7 +704,7 @@ Code:
if("summon") //Args are in the correct order, they are stated here just as an easy reminder.
active_bot.bot_control(command= "summon", user_turf= get_turf(usr), user_access= pda.GetAccess())
else //Forward all other bot commands to the bot itself!
active_bot.bot_control(command= href_list["op"])
active_bot.bot_control(command= href_list["op"], user= usr)
if(href_list["mule"]) //MULEbots are special snowflakes, and need different args due to how they work.
@@ -728,6 +728,14 @@ Code:
menu += "Model: [active_bot.model]<BR>"
menu += "Location: [get_area(active_bot)]<BR>"
menu += "Mode: [active_bot.get_mode()]"
if(active_bot.allow_pai)
menu += "<BR>PAI: "
if(active_bot.paicard && active_bot.paicard.pai)
menu += "[active_bot.paicard.pai.name]"
if(active_bot.bot_core.allowed(usr))
menu += " (<A href='byond://?src=\ref[src];op=ejectpai'><i>eject</i></A>)"
else
menu += "<i>none</i>"
//MULEs!
if(active_bot.bot_type == MULE_BOT)