Some Silicon Code (#8394)

Tweaked a hell of a lot of silicon code to make synthetics better.

Synths with scrambled codes that prevent them from being on robotics computers will now appear on Merc camera networks.

Both variants of the engineering borg can now deploy the malf borging machine.

Medical borgs no longer get polyacid sprays, instead getting Wulumunusha CMO Hyposprays, which cause muteness.

You must now be on help intent to use items like crowbars and screwdrivers on borgs. Otherwise you hit them with it.
This commit is contained in:
Geeves
2020-03-13 13:29:35 +01:00
committed by GitHub
parent 5a8f0451a4
commit 1a7cc1a1c7
64 changed files with 1865 additions and 2028 deletions
+5 -5
View File
@@ -7,7 +7,7 @@
health = 45
pass_flags = PASSTABLE
req_access = list(access_mining, access_robotics)
idcard_type = /obj/item/card/id/minedrone
id_card_type = /obj/item/card/id/minedrone
speed = -1
var/health_upgrade
var/ranged_upgrade
@@ -48,7 +48,7 @@
name = real_name
/mob/living/silicon/robot/drone/mining/init()
aiCamera = new /obj/item/device/camera/siliconcam/drone_camera(src)
ai_camera = new /obj/item/device/camera/siliconcam/drone_camera(src)
if(!laws)
laws = new law_type
if(!module)
@@ -89,7 +89,7 @@
/mob/living/silicon/robot/drone/mining/process_level_restrictions()
//Abort if they should not get blown
if(lockcharge || scrambledcodes || emagged)
if(lock_charge || scrambled_codes || emagged)
return
//Check if they are not on a station level -> abort
var/turf/T = get_turf(src)
@@ -116,7 +116,7 @@
if(M.melee_upgrade)
to_chat(user, span("warning", "[src] already has a drill upgrade installed!"))
return
M.modtype = initial(M.modtype)
M.mod_type = initial(M.mod_type)
M.uneq_all()
qdel(M.module)
M.module = null
@@ -154,7 +154,7 @@
if(M.ranged_upgrade)
to_chat(user, "[src] already has a KA upgrade installed!")
return
M.modtype = initial(M.modtype)
M.mod_type = initial(M.mod_type)
M.uneq_all()
qdel(M.module)
M.module = null