Feedback wanted #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tour/chat_formspec#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
how suited are the formspecs made by this mod?
Which texts should be improved? Are texts too rude?
I've never been a bailiff. I guess the biggest problem with non-responders are non-replanters? Are there more usecases which would need their own predefined formspec?
Are more of these how-to formspecs needed?
Maybe some experienced bailiffs can comment here?
I think besides just getting attention via alternative means, this could be useful as a way for the player to communicate in a way other than inputting text.
What I mean is, this probably should have formspecs that allow player to just press buttons like "YES" and "NO", for example...
[we don't know if person speaks english, knows how to write in it, etc...]
Basically having a thing that bailiff can send to an extraterrestrial in their native language and get a reply bailiff can understand...
If a person is non-communicative, this thing could be something like a troubleshooting guide: "Do you see chat?" - "Yes"/"No" - "what do you use" "PC"/"mobile" - "explains how to enable chat in each case" etc etc.
This should be doable quite easy: adding a (predefined) formspec with
button_exit
elements which have all the same nameanswer
, but different labels will send the label of the pressed button to the one who invoked the formspec.I would aim for translation support here (#4). A simple yes/no button might not help if someone does not understand english.
If this is about a formspec chain: That would require another formspec backend than I implemented here (through such an backend would be quite easy)
If it's about a bailiff sending a new two-button formspec over and over again (where the bailiff always sets another text) it would be quite easy. Just have to add one formspec.
(Or maybe two: first one asks whether the player agrees that their language setting is submitted to the bailiff, so bailiff can use a translator)
If you want to release the mod to a wider audience, make the text and answers configurable. Like
mymod.preset1 = hey you evil nonreplanter! can you read this?#yes#no
mymod.preset2 = are you a cheater??#yes#no#maybe
It's nice when you tailor stuff to the needs of YL, but the approach should be to make at least an effort that the mod could be used on other servers, too :) YL may be the best thing since the invention of ham and eggs, but we encourage our modmakers to help all of minetest
It's already quit easy to configure the presets (modfy predefined.lua), I just haven't found time to document it.
I know, that's not the best style. I was mainly focused to implement a working demo... Making it easy to implement better confic options. But I'm not 100% sure how something like that would look like.
From what I can see the settingtypes.txt can only hold strings, in case someone wants to set a larger number of presets it will be a mess.
this looks like another server-specific mod setting the presets. Or did I overlook something in the mt-api?
Would be the option I consider as the easiest too. Is there a yl-specific mod which does so too or should I make a server-specific mod for it? In case there is a yl_ mod: will it load before or after this mod (e.g. do I need to create the selection formspec in a
on_mods_loaded
callback?)Isn't valid formspec :D Shall I include "easy syntax"?
If I know what's the prefered style I should be able to implement that stuff quite easy.
What I made for YL was the idea to include a "how to replant" formspec. While I think the "how to chat" fs fits this mod quite well, I think I have to drop the "how to replant" formspec.
It's not possible to explain this on a single formspec page (would need multiple pages or scrollbars, it would be a pain to implement stuff like that for a minor feature...)
I would rather include a "I don't know how to replant" button in the "please replant" spec. Then ppl can help with the crop in question.