mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Reverted borg name stuff...because giving people RP choices is a horrible idea, obviously.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3129 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
use_power()
|
||||
process_killswitch()
|
||||
process_locks()
|
||||
if(modtype != "robot") //only update canmove if we've selected a module
|
||||
update_canmove()
|
||||
update_canmove()
|
||||
|
||||
update_mind()
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
src.client.perspective = EYE_PERSPECTIVE
|
||||
if (src.stat == 2)
|
||||
src.verbs += /mob/proc/ghost
|
||||
if(src.real_name == "Cyborg")
|
||||
src.real_name += " "
|
||||
src.real_name += "-[rand(1, 999)]"
|
||||
src.name = src.real_name
|
||||
if(!src.connected_ai)
|
||||
for(var/mob/living/silicon/ai/A in world)
|
||||
src.connected_ai = A
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
modtype = "robot"
|
||||
updateicon()
|
||||
// syndicate = syndie
|
||||
if(real_name == "Cyborg")
|
||||
real_name += " [pick(rand(1, 999))]"
|
||||
name = real_name
|
||||
spawn (4)
|
||||
if (client)
|
||||
connected_ai = activeais()
|
||||
@@ -64,7 +67,6 @@
|
||||
return
|
||||
switch(mod)
|
||||
if("Standard")
|
||||
updatename("Cy")
|
||||
module = new /obj/item/weapon/robot_module/standard(src)
|
||||
hands.icon_state = "standard"
|
||||
icon_state = "robot"
|
||||
@@ -72,7 +74,6 @@
|
||||
feedback_inc("cyborg_standard",1)
|
||||
|
||||
if("Service")
|
||||
updatename("Servi")
|
||||
module = new /obj/item/weapon/robot_module/butler(src)
|
||||
hands.icon_state = "service"
|
||||
var/icontype = input("Select an icon!", "Robot", null, null) in list("Waitress", "Bro", "Butler", "Kent", "Rich")
|
||||
@@ -90,7 +91,6 @@
|
||||
feedback_inc("cyborg_service",1)
|
||||
|
||||
if("Miner")
|
||||
updatename("Digger")
|
||||
module = new /obj/item/weapon/robot_module/miner(src)
|
||||
hands.icon_state = "miner"
|
||||
icon_state = "Miner"
|
||||
@@ -98,7 +98,6 @@
|
||||
feedback_inc("cyborg_miner",1)
|
||||
|
||||
if("Medical")
|
||||
updatename("Medi")
|
||||
module = new /obj/item/weapon/robot_module/medical(src)
|
||||
hands.icon_state = "medical"
|
||||
icon_state = "surgeon"
|
||||
@@ -107,7 +106,6 @@
|
||||
feedback_inc("cyborg_medical",1)
|
||||
|
||||
if("Security")
|
||||
updatename("Securi")
|
||||
module = new /obj/item/weapon/robot_module/security(src)
|
||||
hands.icon_state = "security"
|
||||
icon_state = "bloodhound"
|
||||
@@ -115,7 +113,6 @@
|
||||
feedback_inc("cyborg_security",1)
|
||||
|
||||
if("Engineering")
|
||||
updatename("Engi")
|
||||
module = new /obj/item/weapon/robot_module/engineering(src)
|
||||
hands.icon_state = "engineer"
|
||||
icon_state = "landmate"
|
||||
@@ -123,7 +120,6 @@
|
||||
feedback_inc("cyborg_engineering",1)
|
||||
|
||||
if("Janitor")
|
||||
updatename("Jani")
|
||||
module = new /obj/item/weapon/robot_module/janitor(src)
|
||||
hands.icon_state = "janitor"
|
||||
icon_state = "mopgearrex"
|
||||
@@ -133,18 +129,6 @@
|
||||
overlays -= "eyes" //Takes off the eyes that it started with
|
||||
updateicon()
|
||||
|
||||
/mob/living/silicon/robot/verb/updatename(var/prefix as text)
|
||||
if(real_name == "Cyborg")
|
||||
var/defaultname = "[prefix]borg -[rand(1,999)]"
|
||||
var/newname = input("Please input a name", "Name selection", defaultname, null)
|
||||
newname = copytext(sanitize(newname), 1, MAX_MESSAGE_LEN) //Sanitize the name
|
||||
|
||||
if(!newname)
|
||||
newname = "[defaultname]"
|
||||
|
||||
real_name = newname
|
||||
name = real_name
|
||||
|
||||
/mob/living/silicon/robot/verb/cmd_robot_alerts()
|
||||
set category = "Robot Commands"
|
||||
set name = "Show Alerts"
|
||||
|
||||
Reference in New Issue
Block a user