Don't Starve Together

Don't Starve Together

[API] Gem Core
Showing 61-70 of 127 entries
< 1 ... 5  6  7  8  9 ... 13 >
Update: 17 Apr, 2020 @ 9:25am

-v5.0.0
Added a new major feature GemDictionary
-GemDictionary allows recipe ingredients to accept multiple item types in a powerful way.
-Check this https://gitlab.com/DSTAPIS/GemCore/-/wikis/Gem-Dictionary for more information on how to use this feature.
Added a stable sorting fn, which preserves the order of equal items, stable_sort works exactly like sort, except its stable.
Added runtime components which allows you to add a component, this component persists accross game restarts without needing to get re-added.
Added support for tech ingredients, CustomTechTree.AddNewTechType(techtype, is_tech_ingredient)
-Runtime components only work on the server, and cannot have replicas, append AtRuntime to your usual Add/Remove Component calls to use this.
Added a special prefab spawner allowing you to encode data into a prefab name, so that you can modify prefabs when you only have access to the prefab name.
-To create a special prefab call local specialprefabname = gemrun("getspecialprefab", prefabname, fn_to_run_when_spawned)
-To delete the specialprefab after your done with it call gemrun("getspecialprefab", specialprefabname)
Added minitraceback() to allow you to get a small traceback that doesn't crash the game when called.
Added two new root modfiles to get loaded.
-modmainpostinit.lua runs after all mods have loaded, except during worldgen.
-modworldgenmainpostinit.lua only runs after all mods have loaded, but only worldgen.
Added a patch to global pause fixing autopausing for controllers working improperly.
Global pause patches now only get added when global pause is enabled.

Fixed a bug sometimes causing other mods static layouts to not load.
Fixed a bug causing maptags to be unreplaceable, causing a crash with Tropical Experience.
Fixed recipehints working improperly on non Rot Sea Shells beta.
Probably some other bug fixes I forgot about.

Update: 3 Dec, 2019 @ 10:39am

-4.1.1
fixed crash when when passing a stacklevel that didn't exist to certain functions.

Update: 25 Nov, 2019 @ 7:51am

-v4.1.0
improved memory usage slightly on the frontend when it gets reloaded.
added a CONSTANT for world seed debugging.
fixed a crash that occurred if you had zero client mods, when you enabled this mod.
added 4 new metamethods:
__next, __pairs and __ipairs all allow you to override or modify the behavior of next, pairs, and ipairs respectively.
you can access the original functions that ignore the metamethod by prefixing raw before the function name(IE rawnext).
__iterator got added which is a general purpose custom iterator for when pairs or ipairs didn't make sense. Using iterator(table, ...) function, this function can take extra arguments and will pass them onto the controlling __iterator function, nothing will happen if you pass a table without a __iterator metamethod.
added multipairs and multiipairs that allow you to concurrently iterate through multiple tables in a single loop(used like this: for k, v in multipairs(table1, table2, table3) do --do_the_thing end).
added a new major compatibility feature, fnhider which allows me to make my function replacements invisible, and preserve the expect game stack by other mods.
added AddInventoryItemAtlas(atlas) to allow you to add inventory item atlases to the GetInventoryItemAtlas function to test for.

Update: 27 Sep, 2019 @ 2:36pm

-v4.0.3
fixed crash caused by me being stupid with patching SanityCheckWorldGenOverride

Update: 27 Sep, 2019 @ 2:31pm

-v4.0.2
changed custom widget types in to use a custom variable instead of the options variable.

Update: 27 Sep, 2019 @ 11:40am

-v4.0.1
fixed bizzare crash caused by a server without caves enabled loading caves data.

Update: 26 Sep, 2019 @ 2:42pm

-v4.0.0
added a new clientRPC system that allows servers to send RPC's to clients.
clients can now tell when they are on the master shard by calling: TheWorld.net.components.server_info:IsMasterShard()
fixed a bug causing gem core to(wrongfully) show up in crash reports regarding adding components.
added an option to have textentry widgets on the world gen options scree.
these textentry widgets can be double length(two spinner options side by side), or normal length(same size as a spinner option)
fixed a bug with modfrontendmain, where OnUnloadMod and OnUnloadModAny callbacks were not stored(you can still set them every load though).
made worldsettings properly sync(both ways) from the world gen options screen to the level.
added a way to block overrides(worldsettings) from being set every single load from modoverrides/leveldataoverrides.
fixed DebugPrint not behaving how print does(minus the debug data).
fixed per mod configs having their settings deleted upon reloading the game.
added an option to choose your world seed(you can choose seperate seeds for Forest and Caves) before generating your world.
-to set a world seed/view an existing world seed, go to the Forest/Caves tab and set/view the world seed text box.
-due to a(now patched) bug for worldgen, all worlds generated before game version 369546 will never be reproducible.
-worlds generated before those game versions will have there seed hidden since the seed will not result in the same world upon generation
-an option to regenerate the same world will now appear in the server commands tab menu.
-this option will appear even in older worlds, this button will not result in an identical world under these two conditions:
--the world was generated before game version 369546
--worldgen has changed(either a mod or a game update) since you generated your world.
-to restate, any time worldgen gets changed, all existing seeds will no longer produce the same world.
-worldseeds should be compatible with all worldgen mods.
-if a mod results in random worldgen despite inputting the same seed, let me know what mod causes this and I can help the mod creator fix it.

Update: 20 Aug, 2019 @ 12:52pm

-v3.0.4
I really need to stop cutting corners for bugfixes, please dont kill me.

Update: 20 Aug, 2019 @ 12:45pm

-v3.0.3 HOTFIX
fixed me doing stupid things.

Update: 20 Aug, 2019 @ 12:42pm

-v3.0.2 HOTFIX
fixed crash with invalid mod names crashing the new modconfigmanager.
added gemrun function extendenvironment to inject commonly used functions into an env.