Changes to combat borg availability (#1104)

Locks combat borg behind an extra keycard swipe thing, and a research upgrade, but, they can still be enacted via code delta or admin bus.
This commit is contained in:
Alberyk
2016-11-03 00:26:57 +02:00
committed by skull132
parent e683fbe325
commit 406c44c0e3
5 changed files with 45 additions and 2 deletions
@@ -149,4 +149,20 @@
return 0
R.emagged = 1
return 1
return 1
/obj/item/borg/upgrade/combat
name = "combat cyborg module"
desc = "Unlocks the combat cyborg module"
construction_cost = list(DEFAULT_WALL_MATERIAL=10000,"glass"=15000,"gold"= 5000,"diamond" = 1000)
icon_state = "cyborg_upgrade3"
require_module = 0
/obj/item/borg/upgrade/combat/action(var/mob/living/silicon/robot/R)
if(..()) return 0
if(R.crisis_override == 1)
return 0
R.crisis_override = 1
return 1