Merge remote-tracking branch 'citadel/master' into mobility_flags
This commit is contained in:
@@ -151,11 +151,7 @@
|
||||
var/static/list/charge_machines = typecacheof(list(/obj/machinery/cell_charger, /obj/machinery/recharger, /obj/machinery/recharge_station, /obj/machinery/mech_bay_recharge_port))
|
||||
var/static/list/charge_items = typecacheof(list(/obj/item/stock_parts/cell, /obj/item/gun/energy))
|
||||
|
||||
/obj/item/borg/charger/Initialize()
|
||||
. = ..()
|
||||
|
||||
/obj/item/borg/charger/update_icon()
|
||||
..()
|
||||
/obj/item/borg/charger/update_icon_state()
|
||||
icon_state = "charger_[mode]"
|
||||
|
||||
/obj/item/borg/charger/attack_self(mob/user)
|
||||
@@ -593,7 +589,7 @@
|
||||
update_icon()
|
||||
to_chat(user, "<span class='boldnotice'>You [active? "activate":"deactivate"] [src].</span>")
|
||||
|
||||
/obj/item/borg/projectile_dampen/update_icon()
|
||||
/obj/item/borg/projectile_dampen/update_icon_state()
|
||||
icon_state = "[initial(icon_state)][active]"
|
||||
|
||||
/obj/item/borg/projectile_dampen/proc/activate_field()
|
||||
|
||||
@@ -39,20 +39,20 @@
|
||||
chest.cell = new /obj/item/stock_parts/cell/high/plus(chest)
|
||||
..()
|
||||
|
||||
/obj/item/robot_suit/update_icon()
|
||||
cut_overlays()
|
||||
/obj/item/robot_suit/update_overlays()
|
||||
. = ..()
|
||||
if(l_arm)
|
||||
add_overlay("[l_arm.icon_state]+o")
|
||||
. += "[l_arm.icon_state]+o"
|
||||
if(r_arm)
|
||||
add_overlay("[r_arm.icon_state]+o")
|
||||
. += "[r_arm.icon_state]+o"
|
||||
if(chest)
|
||||
add_overlay("[chest.icon_state]+o")
|
||||
. += "[chest.icon_state]+o"
|
||||
if(l_leg)
|
||||
add_overlay("[l_leg.icon_state]+o")
|
||||
. += "[l_leg.icon_state]+o"
|
||||
if(r_leg)
|
||||
add_overlay("[r_leg.icon_state]+o")
|
||||
. += "[r_leg.icon_state]+o"
|
||||
if(head)
|
||||
add_overlay("[head.icon_state]+o")
|
||||
. += "[head.icon_state]+o"
|
||||
|
||||
/obj/item/robot_suit/proc/check_completion()
|
||||
if(src.l_arm && src.r_arm)
|
||||
|
||||
@@ -364,12 +364,9 @@
|
||||
to_chat(toggle_action.owner, "<span class='notice'>You activate the self-repair module.</span>")
|
||||
activate_sr()
|
||||
|
||||
/obj/item/borg/upgrade/selfrepair/update_icon()
|
||||
/obj/item/borg/upgrade/selfrepair/update_icon_state()
|
||||
if(toggle_action)
|
||||
icon_state = "selfrepair_[on ? "on" : "off"]"
|
||||
for(var/X in actions)
|
||||
var/datum/action/A = X
|
||||
A.UpdateButtonIcon()
|
||||
else
|
||||
icon_state = "cyborg_upgrade5"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user