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.
ID:132700
![]() Dec 20 2009, 7:31 am
|
|
![]() Dec 20 2009, 7:32 am
|
|
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.
|
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. |