mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Merge branch 'master' of https://github.com/ParadiseSS13/Paradise into lavaland_megafauna
# Conflicts: # code/modules/mob/mob_helpers.dm # icons/obj/ammo.dmi # icons/obj/guns/projectile.dmi # icons/obj/storage.dmi
This commit is contained in:
@@ -24,14 +24,13 @@
|
||||
return 0
|
||||
|
||||
var/dental_implants = 0
|
||||
for(var/obj/item/weapon/reagent_containers/food/pill in target.internal_organs) // Can't give them more than 4 dental implants.
|
||||
for(var/obj/item/weapon/reagent_containers/food/pill in target.contents) // Can't give them more than 4 dental implants.
|
||||
dental_implants++
|
||||
if(dental_implants >= 4)
|
||||
user.visible_message("[user] pulls \the [tool] back out of [target]'s [parse_zone(target_zone)]!", "<span class='notice'>You pull \the [tool] back out of [target]'s [parse_zone(target_zone)], there wans't enough room...</span>")
|
||||
return 0
|
||||
|
||||
user.drop_item()
|
||||
target.internal_organs += tool
|
||||
tool.forceMove(target)
|
||||
|
||||
var/datum/action/item_action/hands_free/activate_pill/P = new
|
||||
|
||||
Reference in New Issue
Block a user