mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +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:
@@ -363,6 +363,8 @@
|
||||
desc = "Used to communicate, it appears."
|
||||
icon = 'icons/obj/radio.dmi'
|
||||
icon_state = "radio"
|
||||
item_state = "radio"
|
||||
contained_sprite = TRUE
|
||||
var/temp = null
|
||||
var/uses = 4.0
|
||||
var/selfdestruct = 0.0
|
||||
@@ -370,7 +372,6 @@
|
||||
var/obj/item/device/radio/origradio = null
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
item_state = "radio"
|
||||
throwforce = 5
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
throw_speed = 4
|
||||
@@ -460,10 +461,10 @@
|
||||
|
||||
/obj/item/device/camera_bug
|
||||
name = "camera bug"
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon = 'icons/obj/item/device/flash.dmi'
|
||||
icon_state = "flash"
|
||||
item_state = "flash"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
item_state = "electronic"
|
||||
throw_speed = 4
|
||||
throw_range = 20
|
||||
|
||||
@@ -521,6 +522,7 @@
|
||||
icon_state = "RPED"
|
||||
item_state = "RPED"
|
||||
icon = 'icons/obj/storage/misc.dmi'
|
||||
contained_sprite = TRUE
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
can_hold = list(/obj/item/stock_parts,/obj/item/reagent_containers/glass/beaker)
|
||||
storage_slots = 50
|
||||
|
||||
Reference in New Issue
Block a user