Adds confetti shot (#21462)

* CONFETTI CANNON

* proc and contra review

* sprite names

* nukie uplink and lewcc suggestions

* chemical fixed

* fixes party drums cost and chem explosion sound

* Henri review

* renames a datum because I copypasted shit

* changes a name because I copy pasted

* removes an extra space

* things I forgot + bundles + recipe change

* Oopsie + tones down the volume of confetti
This commit is contained in:
DGamerL
2023-07-07 13:44:55 +01:00
committed by GitHub
parent e0ebc106d1
commit 887a5111df
11 changed files with 118 additions and 9 deletions
@@ -465,3 +465,14 @@
M.adjust_fire_stacks(volume / 5)
return
..()
/datum/reagent/confetti
name = "Confetti"
id = "confetti"
description = "Pure, liquid confetti. Explodes into a colorful bomb when exposed to heat."
color = "#500064" // rgb: 80, 0, 100
taste_description = "the tears of janitors"
/datum/reagent/confetti/reaction_turf(turf/T, volume)
var/confetti = /obj/effect/decal/cleanable/confetti
new confetti(T)
@@ -389,3 +389,26 @@
result = "thermite"
required_reagents = list("aluminum" = 1, "iron" = 1, "oxygen" = 1)
result_amount = 3
/datum/chemical_reaction/confetti
name = "Confetti"
id = "confetti"
result = "confetti"
required_reagents = list("cyanide" = 1, "colorful_reagent" = 1)
result_amount = 5
mix_message = "The mixture congeals into a dry powder."
/datum/chemical_reaction/confetti/confettibomb
name = "confettibomb"
id = "confettibomb"
required_reagents = list("confetti" = 1)
min_temp = T0C + 300
result = null
mix_sound = 'sound/effects/confetti_partywhistle.ogg'
mix_message = "The powder starts vibrating quickly!"
/datum/chemical_reaction/confetti/confettibomb/on_reaction(datum/reagents/holder, created_volume)
var/turf/T = get_turf(holder.my_atom)
var/confetti_size = CEILING(created_volume / 10, 1)
var/confetti_range = CEILING(confetti_size / 2, 1)
confettisize(T, confetti_size, confetti_range)