ID:132700
 
Well,

Format:
GetMedal(medal, player, hub=world.hub)

Returns:
1 if the medal has been earned by the player
0 if the medal has not been earned
A list of medals in list2params() format if checking all medals
null if the hub cannot be contacted

Lets face it. It only does two things, when it can do many things. How about we have it return a few more things?

For example, Medals on the hub have icons and description, yet we can't grab that to use in a game? Why not? It should be simple enough. Just throw in an /image for the icon, and throw another list back with the list of medals containing the description.

How is not my business, but I'm sure people will agree this would be a very useful addition.


Just a suggestion. Support me plz.
I have to say, this would be pretty nice for people who want to display an in game list of medals, along with who's all obtained them.. in game.
In response to DivineTraveller
datums
use them
You can get a list of all medals and their images from the text format of hub entries.

http://www.byond.com/games/Acebloke/ Wargames?format=text&long=1 for example.
In response to Super Saiyan X
That's a way to do it yes, but it also means the database stored in your game can desynchronize with what's available through the HUB. Especially if you're working with a team of developers rather than a single person.