Shiptest icon indicating copy to clipboard operation
Shiptest copied to clipboard

Supercharged Flavourtext + Subtle Emote Refactor (again)

Open MarkSuckerberg opened this issue 1 year ago • 28 comments

About The Pull Request

Moves flavourtext to TGUI, adding the ability to use markdown formatting and a character image (ONLY from imgur at the moment). Also refactors subtle emote to just be a version of normal emoting instead of weird separate somewhat-duplicate code.

TODO: Currently has two different versions, basically a better version of the old system, and the new TGUI system that uses a component. The first is accessed like normal, while the new system is accessed by examine-more-ing a human.

I can't actually test this because neither images nor the markdown parser works on wine lmao

Why It's Good For The Game

I always thought flavourtext and subtle emotes were rather neglected. This improves them a little bit at least.

Changelog

:cl: add: TGUI flavourtext and character images, which can be viewed by double-examining someone. /:cl:

MarkSuckerberg avatar Dec 04 '24 02:12 MarkSuckerberg

:emotion42:

flopppi avatar Dec 24 '24 07:12 flopppi

soon......:tm: I think it actually works-ish now I just need to test it on my windows machine lol

MarkSuckerberg avatar Dec 25 '24 02:12 MarkSuckerberg

:cluedin:

Geoengi avatar Mar 01 '25 05:03 Geoengi

gwa gwe

thgvr avatar Mar 18 '25 00:03 thgvr

🥺

flopppi avatar Mar 18 '25 14:03 flopppi

graahhhhhh also testing never happened on my end because my one remaining windows machine is now also a linux machine

MarkSuckerberg avatar Mar 18 '25 15:03 MarkSuckerberg

let me know if/when you need help testing it then

thgvr avatar Mar 18 '25 19:03 thgvr

Good pr, I love flavor text. However, there's an issue where attempting to add an image caption to any portrait will immediately set that as the caption for all image portraits.

https://github.com/user-attachments/assets/5c503511-53c4-44bb-b56f-eb757dc797cc

bighoppa1 avatar Apr 06 '25 05:04 bighoppa1

Huh! Interesting, I'll look into that. Very strange...

MarkSuckerberg avatar Apr 06 '25 06:04 MarkSuckerberg

I think I may have fixed both the issues with it saving and it setting for all characters in one go, but I'm not certain.

MarkSuckerberg avatar Apr 06 '25 16:04 MarkSuckerberg

Tested it using VScode and the caption setting bug is now fixed 👍

bighoppa1 avatar Apr 06 '25 20:04 bighoppa1

awesome awesome! out of curiosity, did the new input window for the flavortext work?

MarkSuckerberg avatar Apr 06 '25 20:04 MarkSuckerberg

It produced an NTOS error whenever I tried to input anything or left it open for a few seconds. I chalked it up to VScode running the game weirdly since some other errors appeared that don't usually when I just run the DM executable. The images themselves also didn't appear in the FT, but again, I blamed it on VScode.

bighoppa1 avatar Apr 06 '25 20:04 bighoppa1

Images only work with forum right now

thgvr avatar Apr 06 '25 22:04 thgvr

That would explain it, I was using imgur links. TY

bighoppa1 avatar Apr 06 '25 22:04 bighoppa1

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 08 '25 00:04 github-actions[bot]

i'll get you a taco bell beefy 5 layer burrito when this gets merged

flopppi avatar Apr 08 '25 01:04 flopppi

i spllied my jice

thgvr avatar Apr 24 '25 09:04 thgvr

Let me know if you're coming back to this

thgvr avatar May 16 '25 10:05 thgvr

so yeah by that I mean it's ready for testmerge again. and I actually tested it fully this time

MarkSuckerberg avatar Sep 09 '25 03:09 MarkSuckerberg

double examining is ALSO used to thoroughly inspect injuries on people like bleeding and wounds (not ideal to have another window pop up in the middle of a tense scenario)

moffball19 avatar Sep 12 '25 22:09 moffball19

okay yeah that's fair in my defense when I first made this we didn't have wounds so it WAS free. I'll move it back to only being the link in examine

MarkSuckerberg avatar Sep 14 '25 00:09 MarkSuckerberg

alright, moved it back to being a link in examine (though I did integrate it better into the component itself) as well as resized the window which was too small to fit the entirety of the image by mistake.

MarkSuckerberg avatar Sep 14 '25 01:09 MarkSuckerberg

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Sep 19 '25 21:09 github-actions[bot]

agh ogh. will fix conflicts and make it update less laggily in a bit

MarkSuckerberg avatar Sep 24 '25 20:09 MarkSuckerberg

it's been a little bit more than a bit, note to self to finish this

MarkSuckerberg avatar Oct 20 '25 21:10 MarkSuckerberg

hee heeeee

thgvr avatar Oct 22 '25 04:10 thgvr