[MIRROR] Bible refactor [MDB IGNORE] (#21190)

* Bible refactor

* Delete book.dm

* updatepaths

* you're meaning to tell me i have to edit CODE??

---------

Co-authored-by: ChungusGamer666 <82850673+ChungusGamer666@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Jolly-66 <70232195+Jolly-66@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-05-16 09:34:10 -04:00
committed by GitHub
co-authored by ChungusGamer666 Tom Jolly-66
parent 71e0d530d3
commit d3f2386664
52 changed files with 1274 additions and 1414 deletions
+4 -1
View File
@@ -14,8 +14,11 @@
/datum/smite/bad_luck/effect(client/user, mob/living/target)
. = ..()
//if permanent, replace any existing omen
if(permanent)
var/existing_component = target.GetComponent(/datum/component/omen)
qdel(existing_component)
target.AddComponent(/datum/component/omen/smite, permanent = permanent)
if(silent)
return
to_chat(target, span_warning("You get a bad feeling..."))