mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
Minor Update:
- Thermite'd walls and mined minerals no longer fuck over the lighting code. - Power cells now have a different examine-text entry when they fail due to low reliability. - Some R&D console tweaks. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1100 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1416,6 +1416,7 @@ proc/move_mining_shuttle()
|
||||
*/
|
||||
W.opacity = 1
|
||||
W.sd_SetOpacity(0)
|
||||
W.sd_LumReset()
|
||||
W.levelupdate()
|
||||
return W
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
var/list/temp_tech = linked_destroy.ConvertReqString2List(linked_destroy.loaded_item.origin_tech)
|
||||
for(var/T in temp_tech)
|
||||
files.UpdateTech(T, temp_tech[T])
|
||||
if(linked_destroy.loaded_item.reliability < 100)
|
||||
if(linked_destroy.loaded_item.reliability < 100 && linked_destroy.loaded_item.crit_fail)
|
||||
files.UpdateDesign(linked_destroy.loaded_item.type)
|
||||
if(linked_lathe) //Also sends salvaged materials to a linked autolathe, if any.
|
||||
linked_lathe.m_amount = min((linked_lathe.max_material_storage - linked_lathe.TotalMaterials()), (linked_destroy.loaded_item.m_amt*linked_destroy.decon_mod))
|
||||
|
||||
@@ -343,6 +343,7 @@
|
||||
F.burn_tile()
|
||||
user << "\red The thermite melts the wall."
|
||||
spawn(100) del(O)
|
||||
F.sd_LumReset()
|
||||
return
|
||||
|
||||
if (W:remove_fuel(5,user))
|
||||
@@ -391,6 +392,7 @@
|
||||
F.burn_tile()
|
||||
user << "\red The thermite melts the wall."
|
||||
spawn(100) del(O)
|
||||
F.sd_LumReset()
|
||||
return
|
||||
|
||||
if (src.d_state == 2)
|
||||
|
||||
@@ -59,6 +59,8 @@
|
||||
usr << "[desc]\nThe manufacturer's label states this cell has a power rating of [maxcharge], and that you should not swallow it.\nThe charge meter reads [round(src.percent() )]%."
|
||||
else
|
||||
usr << "This power cell has an exciting chrome finish, as it is an uber-capacity cell type! It has a power rating of [maxcharge]!!!\nThe charge meter reads [round(src.percent() )]%."
|
||||
if(crit_fail)
|
||||
usr << "\red This power cell seems to be faulty"
|
||||
|
||||
//Just because someone gets you occasionally with stun gloves doesn't mean you can put in code to kill everyone who tries to make some.
|
||||
/obj/item/weapon/cell/attackby(obj/item/W, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user