Mudlet icon indicating copy to clipboard operation
Mudlet copied to clipboard

A way to populate the profile informational properties programatically

Open takilara opened this issue 4 years ago • 8 comments

Brief summary of issue / Description of requested feature:

A way to populate the profile informational properties programatically

Steps to reproduce the issue / Reasons for adding feature:

  1. My specific usecase is to keep track of all my characters. I currently do this on a wiki, that i can programatically update. I would like to do it on the profile page also.

Error output / Expected result of feature

  1. That i can use a function like "setProfileInformation("Level: 38\nClass: Fighter,\n\nTask: Go kill Smaug") from lua in mudlet

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

  1. Low priority, just a nice to have

image

takilara avatar Jul 26 '21 06:07 takilara

Good idea!

vadi2 avatar Jul 26 '21 09:07 vadi2

Depending on implementation, there could potentially be several "standard" fields like class and level, or a key-value option for "own" properties, however the Informational would be sufficient i think. At least until there is evidence that people use this feature.

If something like this gets implemented, i would proabably quickly ask for a "details" option to list all the profiles in a list with columns for Informational :)

takilara avatar Jul 27 '21 06:07 takilara

Details might be stretching it, but you can set custom icons for profiles - does that help in any way?

vadi2 avatar Jul 27 '21 14:07 vadi2

I think i may have wordet it incorrectly. As i mentioned i dont think more details are needed, but it may be good to have a "detail" layout of the icon/profiles. I've simulated what i mean with excel below. I believe that should probably be a separate request though: Normal view/list of profiles: image

Detail view/list of profiles: image

takilara avatar Jul 27 '21 14:07 takilara

that should probably be a separate request though

Indeed. That is a way to read profile information from Lua while this request asks for a way to set a specific piece of information from Lua.

I'd comment on the new request but wait until you moved it into a new issue of its own to avoid confusion.

Kebap avatar Jul 27 '21 18:07 Kebap

Indeed. That is a way to read profile information from Lua while this request asks for a way to set a specific piece of information from Lua.

Note that I will object to Lua API read access to the password detail (maybe write-only access could be allowable)...

Also #3952 does include a Lua API call to get the "Character name".

SlySven avatar Aug 09 '21 22:08 SlySven

I split out the "display" portion from above to its own ticket #5362 , Note that i consider that a lower priority than this one.

takilara avatar Aug 10 '21 06:08 takilara

I used this very feature in z/cMUD where I would capture blocks of text and save them to the "notes" field that displayed on the character selection screen. I like to use separate icons for characters and being able to see character stats, current equipment, storage, etc... without logging on and without having to manually copy/paste is something that is game changing if you run multiple characters on the same mud. I would use this feature and share any scripts I wrote so that people would have examples to learn from.

vrdawson avatar Mar 29 '22 02:03 vrdawson