mirror of
https://github.com/evilew/GS13-Citadel.git
synced 2026-08-22 20:57:32 +01:00
Belly rub action
This commit is contained in:
@@ -294,6 +294,25 @@
|
||||
target_message = "<span class='notice'>[M] boops your nose.</span>")
|
||||
playsound(src, 'sound/items/Nose_boop.ogg', 50, 0)
|
||||
|
||||
//GS13 EDIT Belly rubs start
|
||||
else if(M.zone_selected == BODY_ZONE_PRECISE_GROIN)
|
||||
if(ishuman(src))
|
||||
var/mob/living/carbon/human/H = src
|
||||
M.visible_message("<span class='notice'>[M] rubs [H]'s belly to make [p_them()] feel better!</span>", \
|
||||
"<span class='notice'>You rub [H]'s belly to make [p_them()] feel less stuffed!</span>")
|
||||
H.reduce_fullness(rand(4,16), FALSE)
|
||||
if(!HAS_TRAIT(H, TRAIT_ROBOTIC_ORGANISM))
|
||||
H.adjust_nutrition(rand(-5,-1))
|
||||
SEND_SIGNAL(H, COMSIG_ADD_MOOD_EVENT, "bellyrub_good", /datum/mood_event/bellyrub_good)
|
||||
if(prob(5))
|
||||
M.visible_message("<span class='notice'> Belly rubbing causes [H] to belch!</span>", \
|
||||
"<span class='notice'>Your belly massage made [p_them()] to burp!</span>")
|
||||
H.emote(pick("belch","burp"))
|
||||
if(prob(10))
|
||||
H.emote("gurgle")
|
||||
M.DelayNextAction(100)
|
||||
//GS13 EDIT Belly rubs end
|
||||
|
||||
else if(check_zone(M.zone_selected) == BODY_ZONE_HEAD)
|
||||
var/datum/species/S
|
||||
S = dna.species
|
||||
|
||||
@@ -1730,6 +1730,26 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
return
|
||||
|
||||
/datum/species/proc/help(mob/living/carbon/human/user, mob/living/carbon/human/target, datum/martial_art/attacker_style)
|
||||
//GS13 edit start belly rub
|
||||
if(user.zone_selected == BODY_ZONE_PRECISE_GROIN && user.health >= 0 && target == user)
|
||||
user.visible_message("<span class='notice'>[user] rubs their belly!</span>", \
|
||||
"<span class='notice'>You rub your belly!</span>")
|
||||
user.reduce_fullness(rand(4,16), FALSE)
|
||||
if(!HAS_TRAIT(user, TRAIT_ROBOTIC_ORGANISM))
|
||||
user.adjust_nutrition(rand(-5,-1))
|
||||
SEND_SIGNAL(user, COMSIG_ADD_MOOD_EVENT, "bellyrub_good", /datum/mood_event/bellyrub_good)
|
||||
if(prob(5))
|
||||
user.visible_message("<span class='notice'>While [user] rubs their belly, the spontanious belch comes out!</span>", \
|
||||
"<span class='notice'>Your belly massage made you to burp!</span>")
|
||||
user.emote(pick("belch","burp"))
|
||||
if(prob(10))
|
||||
user.emote("gurgle")
|
||||
user.DelayNextAction(100)
|
||||
playsound(user, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
return FALSE
|
||||
|
||||
//GS13 edit end belly rub
|
||||
|
||||
if(target.health >= 0 && !HAS_TRAIT(target, TRAIT_FAKEDEATH))
|
||||
target.help_shake_act(user)
|
||||
if(target != user)
|
||||
|
||||
Reference in New Issue
Block a user