xiv-emote-parser

Crates.ioxiv-emote-parser
lib.rsxiv-emote-parser
version0.1.8
sourcesrc
created_at2022-10-17 07:55:39.082183
updated_at2022-11-02 08:11:20.212535
descriptionParses log messages for emotes from FFXIV into a sequence of message parts
homepage
repositoryhttps://github.com/PsychicNoodles/xiv-emote-parser
max_upload_size
id689883
size1,831,015
Mattori (PsychicNoodles)

documentation

README

xiv-emote-parser

A parser library that converts emote log messages from FFXIV into a sequence of either static or dynamic text. Any dynamic components are dependent on global variables in the log message context, such as player names and gender.

For example, the following log message text:

<Clickable(<If(Equal(ObjectParameter(1),ObjectParameter(2)))>you<Else/><If(PlayerParameter(7))><SheetEn(ObjStr,2,PlayerParameter(7),1,1)/><Else/>ObjectParameter(2)</If></If>)/> <If(Equal(ObjectParameter(1),ObjectParameter(2)))>console<Else/>consoles</If> <If(Equal(ObjectParameter(1),ObjectParameter(3)))><If(PlayerParameter(8))><SheetEn(ObjStr,2,PlayerParameter(8),1,1)/><Else/>you</If><Else/><If(PlayerParameter(8))><SheetEn(ObjStr,2,PlayerParameter(8),1,1)/><Else/>ObjectParameter(3)</If></If>.

can be converted into your eyes brim over with tears., given that the origin of the message is the player character.

To-do

  • support de and fr
    • handle additional function and tag types
  • make a cli?
Commit count: 67

cargo fmt