mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
The Great Device Resprite and Contained Sprite-ening (#20344)
Don't let the large file size scare you, it's just mostly splitting stuff into contained sprites and putting them in the correct place. Anyway, resprites most non-resprited devices in devices.dmi, and puts them in contained sprites. Also puts any related /obj/item/device into contained sprites too. That's basically the long and short of it.
This commit is contained in:
@@ -288,13 +288,9 @@
|
||||
AddOverlays(overlay_image(icon, "[icon_state]_acc", accent_color, accent_flags))
|
||||
|
||||
/obj/item/device
|
||||
icon = 'icons/obj/device.dmi'
|
||||
item_icons = list(
|
||||
slot_l_hand_str = 'icons/mob/items/device/lefthand_device.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/device/righthand_device.dmi',
|
||||
)
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
contained_sprite = TRUE
|
||||
|
||||
/atom/proc/get_cell()
|
||||
return DEVICE_NO_CELL
|
||||
|
||||
Reference in New Issue
Block a user