mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Makes ashtrays visible in SDMM (#9428)
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3c1c20abf4
commit
3f79b7c336
@@ -3,7 +3,7 @@ var/global/list/ashtray_cache = list()
|
|||||||
/obj/item/material/ashtray
|
/obj/item/material/ashtray
|
||||||
name = "ashtray"
|
name = "ashtray"
|
||||||
icon = 'icons/obj/objects.dmi'
|
icon = 'icons/obj/objects.dmi'
|
||||||
icon_state = "blank"
|
icon_state = "ashtray"
|
||||||
randpixel = 5
|
randpixel = 5
|
||||||
force_divisor = 0.1
|
force_divisor = 0.1
|
||||||
thrown_force_divisor = 0.1
|
thrown_force_divisor = 0.1
|
||||||
@@ -16,6 +16,7 @@ var/global/list/ashtray_cache = list()
|
|||||||
if(!material)
|
if(!material)
|
||||||
qdel(src)
|
qdel(src)
|
||||||
return
|
return
|
||||||
|
icon_state = "blank"
|
||||||
max_butts = round(material.hardness/5) //This is arbitrary but whatever.
|
max_butts = round(material.hardness/5) //This is arbitrary but whatever.
|
||||||
randpixel_xy()
|
randpixel_xy()
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|||||||
Reference in New Issue
Block a user