Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Oct 16, 2023
1 parent 00ecf91 commit c618e15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/obj/artifacts/artifact_machines/madness.dm
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@
for (var/mob/living/L in range(range,O))
if (!L.client) //no point hallucinating if there's nobody to see it
continue
if(!ON_COOLDOWN(L, "halluc_cooldown_\ref[src]", 60 SECONDS)) //dont spam logs - we only want to log when a new effect applies - not a refresh
logTheThing(LOG_COMBAT, L, "was affected by a [src.effect_type] hallucination from [src.associated_object] at [log_loc(src.associated_object)]")
else
EXTEND_COOLDOWN(L, "halluc_cooldown_\ref[src]", 60 SECONDS)

for(var/list/comp_args_tuple in src.madness_effects[src.effect_type])
//yes, we really do mean _AddComponent here, because it's already a list we're passing
Expand Down

0 comments on commit c618e15

Please sign in to comment.