diff --git a/code/game/objects/items/weaponry/melee/energy.dm b/code/game/objects/items/weaponry/melee/energy.dm index 93571d4d710..9bb55b1641a 100644 --- a/code/game/objects/items/weaponry/melee/energy.dm +++ b/code/game/objects/items/weaponry/melee/energy.dm @@ -125,7 +125,6 @@ else heat = initial(heat) STOP_PROCESSING(SSobj, src) - tool_behaviour = (active ? TOOL_SAW : NONE) //Lets energy weapons cut trees. Also lets them do bonecutting surgery, which is kinda metal! if(user) balloon_alert(user, "[name] [active ? "enabled":"disabled"]") @@ -410,6 +409,9 @@ alt_sharpness = NONE alt_force_mod = -12 alt_hitsound = SFX_SWING_HIT + worn_icon_state = "energysurplus" + slot_flags = ITEM_SLOT_BELT + light_color = LIGHT_COLOR_LIGHT_CYAN /// Battery used to determine how many hits we can make before our sword switches off and can't be turned back on without a do_after. var/charge = 20 /// Our battery maximum. @@ -548,6 +550,13 @@ COOLDOWN_START(src, jiggle_cooldown, 1 SECONDS) return TRUE +/obj/item/melee/energy/sword/surplus/on_transform(obj/item/source, mob/user, active) + . = ..() + if(active) + slot_flags &= ~ITEM_SLOT_BELT + else + slot_flags |= ITEM_SLOT_BELT + // Null rod variants /obj/item/melee/energy/sword/nullrod diff --git a/icons/mob/clothing/belt.dmi b/icons/mob/clothing/belt.dmi index b3113ed457a..ef94644898e 100644 Binary files a/icons/mob/clothing/belt.dmi and b/icons/mob/clothing/belt.dmi differ