mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Station-built AIs now default to having Asimov laws, as opposed to no laws.
AIs can no longer take the same name as an existing AI. Removing the glass panel from a partially-constructed AI core now gives the proper iconstate if there was a brain inserted. Removed obsolete statement in malf's post-setup. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@169 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -37,18 +37,7 @@
|
||||
src.job = "AI"
|
||||
|
||||
spawn(0)
|
||||
var/randomname = pick(ai_names)
|
||||
var/newname = input(src,"You are the AI. Would you like to change your name to something else?", "Name change",randomname)
|
||||
|
||||
if (length(newname) == 0)
|
||||
newname = randomname
|
||||
|
||||
if (newname)
|
||||
if (length(newname) >= 26)
|
||||
newname = copytext(newname, 1, 26)
|
||||
newname = dd_replacetext(newname, ">", "'")
|
||||
src.real_name = newname
|
||||
src.name = newname
|
||||
ainame(src)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -117,7 +117,8 @@
|
||||
O.job = "AI"
|
||||
|
||||
spawn(0)
|
||||
var/randomname = pick(ai_names)
|
||||
ainame(O)
|
||||
/* var/randomname = pick(ai_names)
|
||||
var/newname = input(O,"You are the AI. Would you like to change your name to something else?", "Name change",randomname)
|
||||
|
||||
if (length(newname) == 0)
|
||||
@@ -129,7 +130,7 @@
|
||||
newname = dd_replacetext(newname, ">", "'")
|
||||
O.real_name = newname
|
||||
O.name = newname
|
||||
|
||||
*/
|
||||
world << text("<b>[O.real_name] is the AI!</b>")
|
||||
|
||||
spawn(50)
|
||||
|
||||
Reference in New Issue
Block a user