mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
confetti work
made confetti last longer made some rewards on slot machine spawn confetti planning on making wheel of fortune have an option to enable confetti on roll
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
name = "confetti"
|
||||
icon = 'icons/effects/effects_ch.dmi'
|
||||
icon_state = "confetti"
|
||||
opacity = 1
|
||||
opacity = 0
|
||||
anchored = 0.0
|
||||
mouse_opacity = 0
|
||||
var/amount = 6.0
|
||||
var/time_to_live = 100
|
||||
var/time_to_live = 500
|
||||
|
||||
/obj/effect/effect/confetti/New()
|
||||
..()
|
||||
@@ -20,6 +20,7 @@
|
||||
spawn (time_to_live)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
//make confetti on ground cleanable decal to spawn
|
||||
|
||||
/datum/effect/effect/system/confetti_spread
|
||||
var/total_confetti = 0 // To stop it being spammed and lagging!
|
||||
|
||||
Reference in New Issue
Block a user