mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 12:44:04 +01:00
Commit 4
Bugfixing for ChompStation errors will now happen
This commit is contained in:
@@ -262,6 +262,21 @@ steam.start() -- spawns the effect
|
||||
projectiles -= proj
|
||||
*/
|
||||
|
||||
// Burnt Food Smoke (Specialty for Cooking Failures)
|
||||
/obj/effect/effect/smoke/bad/burntfood
|
||||
color = "#000000"
|
||||
time_to_live = 600
|
||||
|
||||
/obj/effect/effect/smoke/bad/burntfood/process()
|
||||
for(var/mob/living/L in get_turf(src))
|
||||
affect(L)
|
||||
|
||||
/obj/effect/effect/smoke/bad/burntfood/affect(var/mob/living/L) // This stuff is extra-vile.
|
||||
if (!..())
|
||||
return 0
|
||||
if(L.needs_to_breathe())
|
||||
L.emote("cough")
|
||||
|
||||
/////////////////////////////////////////////
|
||||
// 'Elemental' smoke
|
||||
/////////////////////////////////////////////
|
||||
@@ -376,6 +391,9 @@ steam.start() -- spawns the effect
|
||||
|
||||
/datum/effect/effect/system/smoke_spread/bad
|
||||
smoke_type = /obj/effect/effect/smoke/bad
|
||||
|
||||
/datum/effect/effect/system/smoke_spread/bad/burntfood
|
||||
smoke_type = /obj/effect/effect/smoke/bad/burntfood
|
||||
|
||||
/datum/effect/effect/system/smoke_spread/noxious
|
||||
smoke_type = /obj/effect/effect/smoke/bad/noxious
|
||||
|
||||
Reference in New Issue
Block a user