mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Smoke spells readability (#19387)
* read the smoke * oops * contra * contra * more tidying * last one * Update code/modules/projectiles/projectile/magic.dm Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -34,15 +34,10 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
location = null
|
||||
return ..()
|
||||
|
||||
/datum/effect_system/proc/set_up(n = 3, c = 0, loca)
|
||||
if(n > 10)
|
||||
n = 10
|
||||
number = n
|
||||
cardinals = c
|
||||
if(isturf(loca))
|
||||
location = loca
|
||||
else
|
||||
location = get_turf(loca)
|
||||
/datum/effect_system/proc/set_up(amount = 3, only_cardinals = FALSE, source)
|
||||
number = clamp(amount, amount, 10)
|
||||
cardinals = only_cardinals
|
||||
location = get_turf(source)
|
||||
|
||||
/datum/effect_system/proc/attach(atom/atom)
|
||||
holder = atom
|
||||
|
||||
Reference in New Issue
Block a user