![]() Place the part and press the interact button. ![]() It is recommended to create a symbolic link from. There's a test mod included in this repo. returns the description.json of a mod as a table. If your mod contains such an integer, you have to convert it back yourself. The initial version of the game, released on January 20, 2016, was a creative mode with unlimited access. Note: Due to sm.json.open crashing when it tries to load a 64 bit integer, all integers that require more than 32 bits are stored as strings. Scrap Mechanic is a sandbox video game developed for Windows by Swedish 1 game studio and publisher, Axolot Games, in which players can build machines, vehicles, and buildings, and share their creations online. Loading a database stores all entries into a dictionary with the localId of a mod as key. name )Įnd - Make sure to unload the databases after you're done using them, they take up quite a bit of memory Welcome to another episode of Scrap Mechanic Today I decided to search for my name in the Scrap Mechanic Steam Workshop to see what kinds of crazy. getAllInstalledMods() - Returns an array of localIds (UUIDs, strings) - Do something with the localIds for _, localId in ipairs(loadedMods) do - Get the name of the mod found it's description.json print( ModDatabase. getAllLoadedMods() - Returns an array of localIds (UUIDs, strings) -] - Getting all installed mods local installedMods = ModDatabase. ![]() Getting all loaded mods local loadedMods = ModDatabase. Everything works both server-side and client-side function ModDatabaseTest.doDatabaseStuff( self )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |