mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +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
|
||||
name = "ashtray"
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "blank"
|
||||
icon_state = "ashtray"
|
||||
randpixel = 5
|
||||
force_divisor = 0.1
|
||||
thrown_force_divisor = 0.1
|
||||
@@ -16,6 +16,7 @@ var/global/list/ashtray_cache = list()
|
||||
if(!material)
|
||||
qdel(src)
|
||||
return
|
||||
icon_state = "blank"
|
||||
max_butts = round(material.hardness/5) //This is arbitrary but whatever.
|
||||
randpixel_xy()
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user