Funwayguy / BetterQuesting

MIT License
57 stars 104 forks source link

Ability to link images in a quest description #632

Open ghost opened 5 years ago

ghost commented 5 years ago

Essentially, with this feature you'd be able to link in images into a quest description so they are displayed, I don't completely know what the most effective way to go about this would be or how intuitive it would be, but I've been theorizing some methods:

Using 'Resource Loader' under the file path: 'gamedirectory' / resources / betterquesting / images In the images folder you can put in an image with a specific name like 'packfeature04' and then in the quest description editor area you can link in the image with a code such as: [/img/]packfeature04[/img/]

Or there can be a button for importing images, upon clicking it lets you select the image from inputting its name (still keeping the Resource Loader directory theme), then you can freely drag it around the description space, etc.

Overall, images in quest descriptions seem like they could be pretty useful for conveying something more effectively, or adding some flair to the quest or to mod packs etc.

Funwayguy commented 5 years ago

This is something I want to do but need to write an entire custom text parser and possibly a new renderer for it. Then I have a huge task of making new multi-line text editors around it again. Keep in mind that I'll need to support more than just images (think Patchouli).

It's no small task and its priority is lower than other things I need to get done right now. So unfortunately I won't be adding support for it just yet but maybe sometime in the future

ghost commented 5 years ago

Thank you for the update! I understand your situation for supporting images (and more) and that's understandable, I'm just happy that this was an idea that's been under your radar for a while, I can't wait to see how the future development of Better Questing goes! Thank you!