Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emote Stuff (Courtesy of NithaIsTired) #3562

Merged
merged 31 commits into from
Oct 18, 2024

Conversation

generalthrax
Copy link
Contributor

@generalthrax generalthrax commented Oct 14, 2024

About The Pull Request

A really old emote pr made by @NithaIsTired that @rye-rice asked me to pr and finish. Adds stuff like:

visible trembling emote
visible shivering
audible snapping
booping lizard snouts
other stuff i dont remember
its a lot

Why It's Good For The Game

It's cute and cool.

Changelog

🆑 NithaIsTired
add: Adds a ton of audible emotes and visible emotes like snapping your fingers or twitching
add: You can boop people on the nose by clicking on their mouth with help intent
add: Sound variation with a few emotes like snapping and clapping
add: Laying down now plays a sound if you aren't on walk intent
/:cl:

@github-actions github-actions bot added Sound USSR Anthem 2.66 MB file. Code change Watch something violently break. labels Oct 14, 2024
@generalthrax generalthrax marked this pull request as ready for review October 14, 2024 23:26
@generalthrax generalthrax changed the title Emote Stuff Emote Stuff (Courtesy NithaIsTired) Oct 14, 2024
@generalthrax generalthrax changed the title Emote Stuff (Courtesy NithaIsTired) Emote Stuff (Courtesy of NithaIsTired) Oct 14, 2024
@rye-rice rye-rice added this pull request to the merge queue Oct 16, 2024
thgvr
thgvr previously requested changes Oct 16, 2024
Copy link
Member

@thgvr thgvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some things

/datum/mood_event/warmhug
description = "<span class='nicegreen'>Warm cozy hugs are the best!</span>\n"
mood_change = 1
timeout = 2 MINUTES

/datum/mood_event/tailpulled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this one is necessary

timeout = 2 MINUTES

/datum/mood_event/rippedtail
description = "<span class='warning'>I ripped their tail right off, what have I done!</span>\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does span_warning() work in strings...? i don't know

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if something expects its assignment to be static (i.e. defined as part of the object) macros don't work

Copy link
Contributor

@Anticept Anticept Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

span_warning() will work here.

Macros are part of the preprocessing step of the compiler and all they do is a simple "find and replace". What matters is what is in the macro.

#define span_warning(str) ("<span class='warning'>" + str + "</span>") is the macro definition. str in this case is a macro substitution and doesn't change at runtime, so the compiler will finalize the concatenation and the result will be a normal unassuming string.

If it were defined as #define span_warning(str) ("<span class='warning'>[str]</span>"), then it would fail where static assignments are required because [str] is an interpolated (non-static) runtime operator and that's illegal here.

@@ -527,7 +527,8 @@
#define COMSIG_CARBON_HUGGED "carbon_hugged"
///When a carbon mob is headpatted, this is called on the carbon that is headpatted. (mob/living/headpatter)
#define COMSIG_CARBON_HEADPAT "carbon_headpatted"

///When a carbon mob has their tail pulled, this is called on the carbon that is the target. (mob/living/tailpuller)
#define COMSIG_CARBON_TAILPULL "carbon_tailpulled"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't necessary either

@@ -232,6 +232,16 @@
message = "jumps!"
hands_use_check = TRUE

/datum/emote/living/jump/run_emote(mob/living/user, params, type_override, intentional)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one's... I dunno. it's not actually jumping, and animated emotes like this rub me the wrong way a bit. Is the same one from tg?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe so? it's also fine as its just some extra flavor to an emote

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahem.
spinflipclapspinflipclap

Animated emotes are kinda. Meh. Especially since we have pixelshifting.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we kill people for spin flip clapping, again this is just extra flavor to the default emotes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The emote spam isn't really an issue for us. I'm just skeptical of emotes that move you like that in general.

// Tail pulls!
else if((M.zone_selected == BODY_ZONE_PRECISE_GROIN) && !isnull(src.getorgan(/obj/item/organ/tail)))
M.visible_message(span_notice("[M] pulls on [src]'s tail!"), \
null, span_hear("You hear a soft patter."), DEFAULT_MESSAGE_RANGE, list(M, src))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm scared to know what this means


if(M.zone_selected == BODY_ZONE_PRECISE_MOUTH) // Nose boops!
nosound = TRUE
playsound(src, 'sound/effects/Nose_boop.ogg', 50, 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sound is jarring and pretty out of place. I'd just cut it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine, trust me

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really do not agree

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ill find another sound effect

@rye-rice rye-rice removed this pull request from the merge queue due to a manual request Oct 16, 2024
@thgvr
Copy link
Member

thgvr commented Oct 16, 2024

I should clarify the only parts I want changed are the boop sound, and the strange taill pull moodlet

@generalthrax
Copy link
Contributor Author

I'll do it at my earliest convenience. I was already kinda of on the fence about the mood stuff and I've already got a new sound selected.

@FalloutFalcon
Copy link
Member

image

@Anticept
Copy link
Contributor

Anticept commented Oct 17, 2024

I could see the tail pull being used in an aggressive hostile way to piss someone off. Word it angrily in chat, throw a bad touch debuff, and a scream... Tail yank?

@generalthrax
Copy link
Contributor Author

Should be up to standard. Unless there are further concerns.

@rye-rice rye-rice enabled auto-merge October 18, 2024 05:08
@rye-rice rye-rice dismissed thgvr’s stale review October 18, 2024 05:11

tail pulling was REMOVED and the nose boop sound efefct was CHANGED we are so fucking back

@rye-rice rye-rice added this pull request to the merge queue Oct 18, 2024
Merged via the queue into shiptest-ss13:master with commit 50566a1 Oct 18, 2024
14 checks passed
@lectronyx
Copy link

WE LOVE SNAPPING
HELLLL YEAH

zimon9 pushed a commit to zimon9/Shiptest-PR-testing that referenced this pull request Oct 29, 2024
## About The Pull Request

A really old emote pr made by @NithaIsTired that @rye-rice asked me to
pr and finish. Adds stuff like:

> visible trembling emote
> visible shivering
> audible snapping
> booping lizard snouts
> other stuff i dont remember
> its a lot

## Why It's Good For The Game

It's cute and cool. 

## Changelog

:cl: NithaIsTired
add: Adds a ton of audible emotes and visible emotes like snapping your
fingers or twitching
add: You can boop people on the nose by clicking on their mouth with
help intent
add: Sound variation with a few emotes like snapping and clapping
add: Laying down now plays a sound if you aren't on walk intent
/:cl:

---------

Signed-off-by: rye-rice <[email protected]>
Co-authored-by: Nitha <[email protected]>
Co-authored-by: Nitha <[email protected]>
Co-authored-by: rye-rice <[email protected]>
zimon9 pushed a commit to zimon9/Shiptest-PR-testing that referenced this pull request Oct 29, 2024
MrCat15352 pushed a commit to MrCat15352/MrCat that referenced this pull request Dec 27, 2024
A really old emote pr made by @NithaIsTired that @rye-rice asked me to
pr and finish. Adds stuff like:

> visible trembling emote
> visible shivering
> audible snapping
> booping lizard snouts
> other stuff i dont remember
> its a lot

It's cute and cool.

:cl: NithaIsTired
add: Adds a ton of audible emotes and visible emotes like snapping your
fingers or twitching
add: You can boop people on the nose by clicking on their mouth with
help intent
add: Sound variation with a few emotes like snapping and clapping
add: Laying down now plays a sound if you aren't on walk intent
/:cl:

---------

Signed-off-by: rye-rice <[email protected]>
Co-authored-by: Nitha <[email protected]>
Co-authored-by: Nitha <[email protected]>
Co-authored-by: rye-rice <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break. Sound USSR Anthem 2.66 MB file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants