Replaces "Bread" smite with "Objectify" (#78445)

Instead of turning people into bread, the bread smite can now turn people into any object (including bread).
This commit is contained in:
Jacquerel
2023-09-21 08:24:37 +02:00
committed by GitHub
parent 85f20e1f44
commit 7025e5da5e
7 changed files with 68 additions and 25 deletions
+3 -3
View File
@@ -219,9 +219,9 @@
return
smite.effect(src, target)
///"Turns" people into bread. Really, we just add them to the contents of the bread food item.
/proc/breadify(atom/movable/target)
var/obj/item/food/bread/plain/smite/tomb = new(get_turf(target))
/// "Turns" people into objects. Really, we just add them to the contents of the item.
/proc/objectify(atom/movable/target, path)
var/atom/tomb = new path(get_turf(target))
target.forceMove(tomb)
target.AddComponent(/datum/component/itembound, tomb)