Merge pull request #8708 from Cerebulon/miscsprites2022

A milieu of misc sprites
This commit is contained in:
Spookerton
2022-10-07 21:14:35 +01:00
committed by GitHub
23 changed files with 31 additions and 19 deletions

View File

@@ -1,7 +1,6 @@
/obj/item/grenade/chem_grenade
name = "grenade casing"
icon_state = "chemg"
item_state = "grenade"
desc = "A hand made chemical grenade."
w_class = ITEMSIZE_SMALL
force = 2.0
@@ -193,6 +192,7 @@
name = "large chem grenade"
desc = "An oversized grenade that affects a larger area."
icon_state = "large_grenade"
item_state = "largechemg"
allowed_containers = list(/obj/item/reagent_containers/glass)
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3)
affected_area = 4
@@ -305,4 +305,4 @@
beakers += B1
beakers += B2
icon_state = initial(icon_state) +"_locked"
icon_state = initial(icon_state) +"_locked"

View File

@@ -1,6 +1,5 @@
/obj/item/grenade/empgrenade
name = "emp grenade"
icon = 'icons/obj/device.dmi'
pickup_sound = 'sound/items/pickup/device.ogg'
drop_sound = 'sound/items/drop/device.ogg'
icon_state = "emp"
@@ -21,8 +20,9 @@
name = "low yield emp grenade"
desc = "A weaker variant of the EMP grenade"
icon_state = "lyemp"
item_state = "lyemp"
origin_tech = list(TECH_MATERIAL = 2, TECH_MAGNET = 3)
emp_heavy = 1
emp_med = 2
emp_light = 3
emp_long = 4
emp_long = 4

View File

@@ -2,7 +2,7 @@
name = "extinguisher cabinet"
desc = "A small wall mounted cabinet designed to hold a fire extinguisher."
icon = 'icons/obj/closet.dmi'
icon_state = "extinguisher_closed"
icon_state = "fire_cabinet"
layer = ABOVE_WINDOW_LAYER
anchored = 1
density = 0
@@ -14,9 +14,9 @@
if(building)
pixel_x = (dir & 3)? 0 : (dir == 4 ? -27 : 27)
pixel_y = (dir & 3)? (dir ==1 ? -27 : 27) : 0
update_icon()
else
has_extinguisher = new/obj/item/extinguisher(src)
update_icon()
/obj/structure/extinguisher_cabinet/attackby(obj/item/O, mob/user)
if(isrobot(user))
@@ -74,13 +74,13 @@
update_icon()
/obj/structure/extinguisher_cabinet/update_icon()
if(!opened)
icon_state = "extinguisher_closed"
return
cut_overlays()
if(has_extinguisher)
if(istype(has_extinguisher, /obj/item/extinguisher/mini))
icon_state = "extinguisher_mini"
add_overlay("extinguisher_mini")
else
icon_state = "extinguisher_full"
add_overlay("extinguisher_full")
if(opened)
add_overlay("fire_cabinet_door_open")
else
icon_state = "extinguisher_empty"
add_overlay("fire_cabinet_door_closed")

View File

@@ -1,10 +1,9 @@
//I still dont think this should be a closet but whatever
/obj/structure/fireaxecabinet
name = "fire axe cabinet"
desc = "There is small label that reads \"For Emergency use only\" along with details for safe use of the axe. As if."
var/obj/item/material/twohanded/fireaxe/fireaxe
icon = 'icons/obj/closet.dmi' //Not bothering to move icons out for now. But its dumb still.
icon_state = "fireaxe1000"
icon = 'icons/obj/axecabinet.dmi'
icon_state = "fireaxe"
layer = ABOVE_WINDOW_LAYER
anchored = 1
density = 0
@@ -16,6 +15,7 @@
/obj/structure/fireaxecabinet/Initialize()
. = ..()
fireaxe = new /obj/item/material/twohanded/fireaxe()
update_icon()
/obj/structure/fireaxecabinet/attackby(var/obj/item/O as obj, var/mob/user as mob) //Marker -Agouri
//..() //That's very useful, Erro
@@ -179,8 +179,19 @@
to_chat(user, "<span class='notice'>Cabinet unlocked.</span>")
return
/obj/structure/fireaxecabinet/update_icon() //Template: fireaxe[has fireaxe][is opened][hits taken][is smashed]. If you want the opening or closing animations, add "opening" or "closing" right after the numbers
var/hasaxe = 0
/obj/structure/fireaxecabinet/update_icon()
cut_overlays()
if(fireaxe)
hasaxe = 1
icon_state = text("fireaxe[][][][]",hasaxe,open,hitstaken,smashed)
add_overlay("axe")
if(smashed)
add_overlay("glass_broken")
if(locked)
add_overlay("locked")
else
add_overlay("unlocked")
if(open)
add_overlay("glass_raised")
else
add_overlay("glass")
if(hitstaken)
add_overlay("crack[hitstaken]")

View File

@@ -244,6 +244,7 @@
/obj/item/crossbowframe
name = "crossbow frame"
desc = "A half-finished crossbow."
icon = 'icons/obj/weapons.dmi'
icon_state = "crossbowframe0"
item_state = "crossbow-solid"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
icons/obj/axecabinet.dmi Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 48 KiB