mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Dental Implant fix (#23985)
* Dental runtime fix Fixes dental runtime * endlineOops
This commit is contained in:
@@ -36,9 +36,7 @@
|
||||
user.drop_item()
|
||||
tool.forceMove(target)
|
||||
|
||||
var/datum/action/item_action/hands_free/activate_pill/P = new
|
||||
P.button_icon_state = tool.icon_state
|
||||
P.target = tool
|
||||
var/datum/action/item_action/hands_free/activate_pill/P = new(tool, tool.icon, tool.icon_state)
|
||||
P.name = "Activate Pill ([tool.name])"
|
||||
P.Grant(target)
|
||||
|
||||
@@ -48,8 +46,8 @@
|
||||
/datum/action/item_action/hands_free/activate_pill
|
||||
name = "Activate Pill"
|
||||
|
||||
/datum/action/item_action/hands_free/activate_pill/Trigger(left_click)
|
||||
if(!..())
|
||||
/datum/action/item_action/hands_free/activate_pill/Trigger(left_click = TRUE)
|
||||
if(!..(left_click, FALSE))
|
||||
return
|
||||
to_chat(owner, "<span class='caution'>You grit your teeth and burst the implanted [target]!</span>")
|
||||
add_attack_logs(owner, owner, "Swallowed implanted [target]")
|
||||
@@ -59,3 +57,4 @@
|
||||
Remove(owner)
|
||||
qdel(target)
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user