Time Nick Message 00:00 kilbith_ nephele: formspec syntax like what? give me examples 00:00 Wuzzy how would formspec_escape magiacally now that a "<" is not starting a tag? 00:00 rubenwardy oh wait 00:00 rubenwardy I misunderstood 00:00 nephele kilbith_, of how formspecs look? 00:00 Wuzzy maybe kilbith_ is right, but this answer is irrelevant 00:00 Wuzzy escaping is not written down in lua_api.txt, therefore it does not exist. 00:00 kilbith_ nephele: yes 00:01 kilbith_ "\" is an universal way of escaping chars 00:01 kilbith_ you don't need the lua_api to teach you 00:01 Wuzzy ... 00:02 nephele \ is C's escape char :) 00:02 Wuzzy well, you guessed. and were lucky. could have been a different char. 00:02 nephele kilbith_, you mean like function[options]function[options]? 00:02 Wuzzy and in HTML, escaping "<" is done with that silly < 00:03 kilbith_ nephele: so you literally want to put formspec-like elements inside hypertext[]? 00:03 nephele I see no need to have a different hypertext context at all 00:04 nephele but if you want one, then yes, formspec like elements 00:04 Wuzzy yes. in other words, nephele want's to open Pandora's cube, releasing our greatest formspec nightmares 00:05 nephele I fail to see how you are trying to build a metaphore to pandoras box, if you don't like the syntax of formspecs maybe you should just change the syntax instead 00:05 Wuzzy ugh. i find syntax discussions to be so boring. 00:06 nephele okay..? 00:06 Wuzzy anyway, hypertext[] seems to work almost perfectly, according to my tests 00:06 Wuzzy I have found one bug 00:06 Wuzzy #9557 00:06 ShadowBot https://github.com/minetest/minetest/issues/9557 -- Hypertext: color/hovercolor does not affect links 00:07 Wuzzy what i dislike about hypertext[] is that images expect absolute pixel sizes, instead of relative sizes like literally all other formspec elements 00:07 kilbith_ no it's not possible 00:08 kilbith_ we have gave an example on the initial PR 00:09 Wuzzy hypertext even supports rotating item images. this is really interesting! 00:09 Wuzzy but they only rotate if enabled by client setting 00:09 kilbith_ Wuzzy: https://paste.ubuntu.com/p/Nf6XfXnSZX/ 00:10 kilbith_ that should give you that: https://user-images.githubusercontent.com/7883281/61224239-842e6000-a71e-11e9-90d6-bef58e92bae2.png 00:10 Wuzzy What is strange is that rotating images made it into hypertext, but item_image[] oddly does not support rotating images. 00:13 kilbith_ Wuzzy: actioncolor, not hovercolor 00:14 Wuzzy ugh 00:14 Wuzzy another documentation fail then 00:14 kilbith_ seems so 00:15 Wuzzy but weird. why call it actioncolor for when hovercolor works for