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
GrantStartingItemsOnlyForPeopleWithNoMML
: If this is true, then any players that already have items in their collection wonโt be given these starting items. If this is false, the starting items will be given to all players.NumStarting[ItemType]s
: The number of starting items of the givenItemType
(Object
orDevice
). This has to match the number of corresponding entries of the formatStarting[ItemType][X]
, withX
going from 1 to the value ofNumStarting[ItemType]s
.โ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.
Starting[ItemType][Number]
: Takes a string of the format[Name]: [Url]
, 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