mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Added Spacevines to the random events. Added a spawn space-vines option to the secrets panel.
Fixes issue 250 (borg door bug) Fixed silicon interactions with engineering equipment. Fixed access lists for radiation collectors, so locking them actually serves a purpose. Fixed using crowbars on them. Borgs can name themselves upon module selection (unless a roboticist has named them previously by using a pen) To avoid Borgs griefing and then changing their name by selecting a module, borgs are now unable to move independently until they choose a module. New sprites for spacevines are on the way. So you'll have to tolerate my crappy stand-ins for a bit until he is finished with them. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3128 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
use_power()
|
||||
process_killswitch()
|
||||
process_locks()
|
||||
update_canmove()
|
||||
if(modtype != "robot") //only update canmove if we've selected a module
|
||||
update_canmove()
|
||||
|
||||
update_mind()
|
||||
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
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,9 +9,6 @@
|
||||
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()
|
||||
@@ -67,6 +64,7 @@
|
||||
return
|
||||
switch(mod)
|
||||
if("Standard")
|
||||
updatename("Cy")
|
||||
module = new /obj/item/weapon/robot_module/standard(src)
|
||||
hands.icon_state = "standard"
|
||||
icon_state = "robot"
|
||||
@@ -74,6 +72,7 @@
|
||||
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")
|
||||
@@ -91,6 +90,7 @@
|
||||
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,6 +98,7 @@
|
||||
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"
|
||||
@@ -106,6 +107,7 @@
|
||||
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"
|
||||
@@ -113,6 +115,7 @@
|
||||
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"
|
||||
@@ -120,6 +123,7 @@
|
||||
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"
|
||||
@@ -129,6 +133,18 @@
|
||||
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