TG: AIs can now edit NTSL code.

Revision: r3320
Author: 	 vageyenaman
This commit is contained in:
Ren Erthilo
2012-04-29 20:09:21 +01:00
parent 9e8e5b242a
commit 8bc5dbbf47
2 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@
if(href_list["network"]) if(href_list["network"])
var/newnet = input(usr, "Which network do you want to view?", "Comm Monitor", network) as null|text var/newnet = input(usr, "Which network do you want to view?", "Comm Monitor", network) as null|text
if(newnet && usr in range(1, src)) if(newnet && ((usr in range(1, src) || issilicon(usr))))
if(length(newnet) > 15) if(length(newnet) > 15)
temp = "<font color = #D70B00>- FAILED: NETWORK TAG STRING TOO LENGHTLY -</font color>" temp = "<font color = #D70B00>- FAILED: NETWORK TAG STRING TOO LENGHTLY -</font color>"

View File

@@ -35,7 +35,7 @@
winset(editingcode, "tcscode", "is-disabled=false") winset(editingcode, "tcscode", "is-disabled=false")
// If the player's not manning the keyboard anymore, adjust everything // If the player's not manning the keyboard anymore, adjust everything
if(!(editingcode in range(1, src)) || editingcode.machine != src) if( (!(editingcode in range(1, src)) && !issilicon(editingcode)) || (editingcode.machine != src && !issilicon(editingcode)))
if(editingcode) if(editingcode)
winshow(editingcode, "Telecomms IDE", 0) // hide the window! winshow(editingcode, "Telecomms IDE", 0) // hide the window!
editingcode = null editingcode = null
@@ -189,7 +189,7 @@
var/newnet = input(usr, "Which network do you want to view?", "Comm Monitor", network) as null|text var/newnet = input(usr, "Which network do you want to view?", "Comm Monitor", network) as null|text
if(newnet && usr in range(1, src)) if(newnet && ((usr in range(1, src) || issilicon(usr))))
if(length(newnet) > 15) if(length(newnet) > 15)
temp = "<font color = #D70B00>- FAILED: NETWORK TAG STRING TOO LENGHTLY -</font color>" temp = "<font color = #D70B00>- FAILED: NETWORK TAG STRING TOO LENGHTLY -</font color>"