mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Merge pull request #14214 from RedWolfie/glass
[Bugfix] Fixes shotglasses
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
materials = list(MAT_GLASS=100)
|
||||
var/light_intensity = 2
|
||||
light_color = LIGHT_COLOR_LIGHTBLUE
|
||||
resistance_flags = FLAMMABLE
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/drinkingglass/shotglass/on_reagent_change()
|
||||
if(!isShotFlammable() && (resistance_flags & ON_FIRE))
|
||||
@@ -30,6 +31,7 @@
|
||||
overlays += filling
|
||||
name = "shot glass of " + reagents.get_master_reagent_name() //No matter what, the glass will tell you the reagent's name. Might be too abusable in the future.
|
||||
if(resistance_flags & ON_FIRE)
|
||||
cut_overlay(GLOB.fire_overlay, TRUE)
|
||||
overlays += "shotglass_fire"
|
||||
name = "flaming [name]"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user