mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user