-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Conversation
This reverts commit d85dd11.
…into NithaIsTired-hugsandboops
Signed-off-by: rye-rice <[email protected]>
There was a problem hiding this 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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
I should clarify the only parts I want changed are the boop sound, and the strange taill pull moodlet |
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. |
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? |
Should be up to standard. Unless there are further concerns. |
tail pulling was REMOVED and the nose boop sound efefct was CHANGED we are so fucking back
WE LOVE SNAPPING |
## 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]>
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]>
About The Pull Request
A really old emote pr made by @NithaIsTired that @rye-rice asked me to pr and finish. Adds stuff like:
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: