mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Die of fate tweaks and fixes (#42073)
* Die of fate tweaks and fixes 🆑 coiax fix: Rolling a 6 with a die of fate now reduces your speed as intended. fix: Rolling an 8 with a die of fate will cause the explosion to be around the roller, not the die. tweak: Die of fate effects now make loud visible messages so it's obvious what has happened. admin: Dice can now be "totally rigged" with admin edits to unconditionally always roll a certain value, rather than just some of the time. A new "cursed die of fate" has been added to demonstrate this effect. /🆑 - new proc `do_smoke` that does basic smoke effects, to avoid the same pattern for making smoke effects. - Dice rigging has been split into two vars, "rigged" for the severity of the rigging (not rigged, basically rigged, totally rigged), and rigged_value for the value it's trying to rig to. * Stealth die of fates * Code review II?
This commit is contained in:
@@ -327,3 +327,9 @@
|
||||
|
||||
/obj/effect/particle_effect/smoke/transparent
|
||||
opaque = FALSE
|
||||
|
||||
/proc/do_smoke(range=0, location=null, smoke_type=/obj/effect/particle_effect/smoke)
|
||||
var/datum/effect_system/smoke_spread/smoke = new
|
||||
smoke.effect_type = smoke_type
|
||||
smoke.set_up(range, location)
|
||||
smoke.start()
|
||||
|
||||
Reference in New Issue
Block a user