Cyborg Budget Cuts

-Cyborg RCD cost increased from unit*30 to unit*160
With a standard 15k power cell, you can still build:
93 floors
31 walls
18 deconstructions
9 airlock operations
-Reduced cyborg health from 300 to 200
-Cyborgs with less than 100 health can not use any modules, but can still move, speak, and wirelessly interact with machines
-Engineering cyborgs can now use metal rods
-Updated changelog
This commit is contained in:
Ikarrus
2013-05-14 22:12:15 -06:00
parent cb0fd4f0a2
commit faa3fd6c10
6 changed files with 41 additions and 13 deletions
+2 -2
View File
@@ -236,12 +236,12 @@ RCD
/obj/item/weapon/rcd/borg/useResource(var/amount, var/mob/user)
if(!isrobot(user))
return 0
return user:cell:use(amount * 30)
return user:cell:use(amount * 160)
/obj/item/weapon/rcd/borg/checkResource(var/amount, var/mob/user)
if(!isrobot(user))
return 0
return user:cell:charge >= (amount * 30)
return user:cell:charge >= (amount * 160)
/obj/item/weapon/rcd/borg/New()
..()
@@ -9,15 +9,17 @@
var/msg = "<span class='info'>*---------*\nThis is \icon[src] \a <EM>[src]</EM>!\n"
msg += "<span class='warning'>"
if (src.getBruteLoss())
if (src.getBruteLoss() < 75)
if (src.getBruteLoss() < 30)
msg += "It looks slightly dented.\n"
else
msg += "<B>It looks severely dented!</B>\n"
if (src.getFireLoss())
if (src.getFireLoss() < 75)
if (src.getFireLoss() < 30)
msg += "It looks slightly charred.\n"
else
msg += "<B>It looks severely burnt and heat-warped!</B>\n"
if (src.health < config.health_threshold_crit)
msg += "It looks barely operational.\n"
msg += "</span>"
if(opened)
+11 -6
View File
@@ -67,7 +67,7 @@
else
src.camera.status = 1
health = 200 - (getOxyLoss() + getFireLoss() + getBruteLoss())
health = maxHealth - (getOxyLoss() + getFireLoss() + getBruteLoss())
if(getOxyLoss() > 50) Paralyse(3)
@@ -81,6 +81,11 @@
if(health < config.health_threshold_dead && src.stat != 2) //die only once
death()
if(health < config.health_threshold_crit) //Borg enters 'critically damaged' state
if(src.module_state_1 || src.module_state_2 || src.module_state_3)
uneq_all()
src << "<span class='warning'>SYSTEM ERROR: Critical damage sustained - Modules are unresponsive.</span>"
if (src.stat != 2) //Alive.
if (src.paralysis || src.stunned || src.weakened) //Stunned etc.
src.stat = 1
@@ -167,15 +172,15 @@
if (src.healths)
if (src.stat != 2)
switch(health)
if(200 to INFINITY)
if(100 to INFINITY)
src.healths.icon_state = "health0"
if(150 to 200)
if(75 to 100)
src.healths.icon_state = "health1"
if(100 to 150)
if(50 to 75)
src.healths.icon_state = "health2"
if(50 to 100)
if(25 to 50)
src.healths.icon_state = "health3"
if(0 to 50)
if(0 to 25)
src.healths.icon_state = "health4"
if(config.health_threshold_dead to 0)
src.healths.icon_state = "health5"
@@ -3,8 +3,8 @@
real_name = "Cyborg"
icon = 'icons/mob/robots.dmi'//
icon_state = "robot"
maxHealth = 300
health = 300
maxHealth = 100
health = 100
var/sight_mode = 0
var/custom_name = ""
@@ -406,6 +406,12 @@
if (istype(W, /obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/WT = W
if (src.health >= src.maxHealth)
user << "<span class='warning'>[src] is already in good condition.</span>"
return
if (src == user)
user << "<span class='warning'>You lack the reach to be able to repair yourself.</span>"
return
if (WT.remove_fuel(0))
adjustBruteLoss(-30)
updatehealth()
@@ -100,6 +100,10 @@
G.amount = 50
modules += G
var/obj/item/stack/rods/R = new /obj/item/stack/rods(src)
R.amount = 50
modules += R
var/obj/item/weapon/cable_coil/W = new /obj/item/weapon/cable_coil(src)
W.amount = 50
modules += W
@@ -109,6 +113,7 @@
var/list/what = list (
/obj/item/stack/sheet/metal,
/obj/item/stack/sheet/rglass,
/obj/item/stack/rods,
/obj/item/weapon/cable_coil,
)
for(var/T in what)
+11 -1
View File
@@ -49,7 +49,17 @@ should be listed in the changelog upon commit tho. Thanks. -->
<!-- You can simply add changelogs using AddToChangelog.exe -->
<!-- DO NOT REMOVE OR MOVE THIS COMMENT! THIS MUST BE THE LAST NON-EMPTY LINE BEFORE THE LOGS #ADDTOCHANGELOGMARKER# -->␍␍
<!-- DO NOT REMOVE OR MOVE THIS COMMENT! THIS MUST BE THE LAST NON-EMPTY LINE BEFORE THE LOGS #ADDTOCHANGELOGMARKER# -->␍␍<div class='commit sansserif'>
<h2 class='date'>14 May 2013</h2>
<h3 class='author'>Ikarrus updated:</h3>
<ul class='changes bgimages16'>
<li class='tweak'>Nanotrasen seeks to further cut operating costs on experimental cyborg units.
<br>-Cyborg chassis will now be made from a cheaper but less durable design.
<br>-RCDs found on engineering models have been replaced with a smaller model to make room for a metal rods module.
<br>-Cyborg arms will no longer be long enough to allow for self-repairs.
<br>NOTE: A cyborg's individual modules have been found to become non-operational should the unit sustain too much structural damage.</li>
</ul>
</div>
<div class='commit sansserif'>
<h2 class='date'>5 May 2013</h2>