MML Starting Items
Overview
Some live config has been added to allow players to be given some MML objects, even if they donโt have any in their collection, so they can play around with them.
NOTE: Public documentation for live config, inventory, collections and MML are still TO-DO
Integration
In your projectโs live config, add a section along the lines of the following to your game.json
GrantOnlyToPeopleWithNoMML
: If this is true, then any players that already have MML objects in their collection wonโt be given these starting items. If this is false, the starting items will be given to all players.NumObjects
: The number of starting MML objects to be given. This has to match the number of corresponding entries of the formatMMLObjects[X]
, withX
going from 1 to the value ofNumObjects
. You can only have up to three starting MML objects.NumDevices
: The number of starting MML devices to be given. This has to match the number of corresponding entries of the formatMMLDevice[X]
, withX
going from 1 to the value ofNumDevices
. You can only have up to three starting MML devices.โObjectsโ are MML items that you can place into the world.
โDevicesโ are MML items that you equip to your person, and interact with through your device menu.
MMLObject/MMLDevice[X]
: Takes a an objet with child keys:Name
andUrl
whereName
is the display name you want for your MML item, andUrl
is the URL of the MML document (This can be found in the MML Editorโs metadata tab).
Any questions on this, please reach out to Benjamin Naccarato!
Last updated