mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Augmentation uses replace_limb instead of manually doing the same (#39595)
This commit is contained in:
@@ -57,8 +57,7 @@
|
||||
tool.cut_overlays()
|
||||
tool = tool.contents[1]
|
||||
if(istype(tool) && user.temporarilyRemoveItemFromInventory(tool))
|
||||
L.drop_limb(TRUE) //The limb is augmented, not directly replaced, so keep the internal organs
|
||||
tool.attach_limb(target)
|
||||
tool.replace_limb(target)
|
||||
user.visible_message("[user] successfully augments [target]'s [parse_zone(target_zone)]!", "<span class='notice'>You successfully augment [target]'s [parse_zone(target_zone)].</span>")
|
||||
add_logs(user, target, "augmented", addition="by giving him new [parse_zone(target_zone)] INTENT: [uppertext(user.a_intent)]")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user