Kissing while you have the ink infusion ability off cooldown gives you an ink kiss (#88556)

## About The Pull Request

Kissing while you have the ink infusion ability off cooldown gives you
an ink kiss.

This ink kiss behaves identically to a normal kiss but also creates a
ink spit projectile and calls on_hit(target) on its own on_hit (not
on_harmless_hit)

## Why It's Good For The Game

I think it's funny to kiss people and splat them with ink.

I did not test this because apparently worktrees dont work with pressing
f5

## Changelog

🆑
add: Kissing while you have the ink infusion ability off cooldown gives
you an ink kiss
/🆑

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
carlarctg
2024-12-23 20:36:51 +01:00
committed by GitHub
co-authored by Ghom
parent ca98802053
commit 76d80bb8a9
2 changed files with 30 additions and 0 deletions
+22
View File
@@ -539,6 +539,12 @@
color = COLOR_SYNDIE_RED
kiss_type = /obj/projectile/kiss/syndie
/obj/item/hand_item/kisser/ink
name = "ink kiss"
desc = "Is that a blot of ink in your pocket or are you just happy to see me?"
color = COLOR_ALMOST_BLACK
kiss_type = /obj/projectile/kiss/ink
/obj/projectile/kiss
name = "kiss"
icon = 'icons/mob/simple/animal.dmi'
@@ -639,6 +645,22 @@
var/obj/item/organ/heart/dont_go_breakin_my_heart = heartbreakee.get_organ_slot(ORGAN_SLOT_HEART)
dont_go_breakin_my_heart.apply_organ_damage(999)
/obj/projectile/kiss/ink
name = "ink kiss"
color = COLOR_ALMOST_BLACK
damage = /obj/projectile/ink_spit::damage
damage_type = /obj/projectile/ink_spit::damage_type
armor_flag = /obj/projectile/ink_spit::armor_flag
armour_penetration = /obj/projectile/ink_spit::armour_penetration
impact_effect_type = /obj/projectile/ink_spit::impact_effect_type
hitsound = /obj/projectile/ink_spit::hitsound
hitsound_wall = /obj/projectile/ink_spit::hitsound_wall
/obj/projectile/kiss/ink/on_hit(atom/target, blocked, pierce_hit)
. = ..()
var/obj/projectile/ink_spit/ink_spit = new (target)
ink_spit.on_hit(target)
// Based on energy gun characteristics
/obj/projectile/kiss/syndie
name = "syndie kiss"