PlateUp!

PlateUp!

KitchenLib
Showing 71-80 of 86 entries
< 1 ... 6  7  8  9 >
Update: 8 Jan, 2023 @ 4:41am

KitchenLib Beta v0.3.8
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.8

Release Notes - API Related

Base Classes

CustomUnlock

- Fixed a bug preventing HardcodedRequirements from being set correctly
- Fixed a bug preventing HardcodedBlockers from being set correctly

Release Notes - Other

Menus

ModsMenu

- ModsMenu is now split into 3 different pages

Material Builder Menu

- Fixed a bug preventing materials without overlays from being saved.

Update: 6 Jan, 2023 @ 2:52pm

KitchenLib Beta v0.3.7
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.7

Release Notes - API Related

Events

- PreferenceMenu_MainMenu_SetupEvent is now obsolete
- PreferenceMenu_PauseMenu_SetupEvent is now obsolete

Menus

ModPreferencesMenu

- Added ModPreferencesMenu<T>.RegisterMenu()
- Mod Preferences is now a page-based menu, preventing the menu from becoming too large

Preferences

- Preferences are now logged when registered
- PreferenceUtils.Load() is now called automatically OnPostActivate(Mod mod) - Mods should not be calling this method unless they are doing something special
- Fixed a bug causing preferences to not register if they have already been loaded by another mod

Update: 5 Jan, 2023 @ 9:56am

KitchenLib Beta v0.3.6
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.6

Release Notes - API Related

- Fixed a bug causing OnInitialise to not get called at all.

Update: 5 Jan, 2023 @ 8:02am

KitchenLib Beta v0.3.5
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.5

Release Notes - API Related

Base Classes

BaseMod

- OnInitialise() now only gets called once for workshop mods.

CustomLocalisedGameDataObject

- Added LocalisationObject<T> Info
- CustomAppliance now inherits from CustomLocalisedGameDataObject<ApplianceInfo>
- CustomEffectRepresentation now inherits from CustomLocalisedGameDataObject<EffectInfo>
- CustomPlayerCosmetic now inherits from CustomLocalisedGameDataObject<CosmeticInfo>
- CustomResearch now inherits from CustomLocalisedGameDataObject<ResearchLocalisation>
- CustomUnlock now inherits from CustomLocalisedGameDataObject<UnlockInfo>

CustomItemGroup

- Fixed Processes not being set correctly.

Utilities

LocalisationUtils

- Added LocalisationUtils
- Added ApplianceInfo CreateApplianceInfo()
- Added CosmeticInfo CreateCosmeticInfo()
- Added EffectInfo CreateEffectInfo()
- Added ProcessInfo CreateProcessInfo()
- Added ResearchLocalisation CreateResearchLocalisation()
- Added UnlockInfo CreateUnlockInfo()
- Added BasicInfo CreateBasicInfo()
- Added ContractInfo CreateContractInfo()
- Added DecorationBonusInfo CreateDecorationBonusInfo()
- Added DictionaryInfo CreateDictionaryInfo()
- Added EnumInfo<T> CreateEnumInfo<T>()
- Added EnumBasicInfo<T> CreateEnumBasicInfo<T>()
- Added PopupText CreatePopupText()
- Added RecipeInfo CreateRecipeInfo()
- Added TutorialText CreateTutorialText()

Release Notes - Other

- BaseMod.Log() and BaseMod.Error() now include the calling mod's name.

Pull Requests

- Added LocalisationUtils by @ZekNikZ

Update: 28 Dec, 2022 @ 8:20am

KitchenLib Beta v0.3.4
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.4

Release Notes - API Related

Preferences

- Fixed a bug causing Preferences to be loaded incorrectly.

Update: 26 Dec, 2022 @ 7:08am

KitchenLib Beta v0.3.3
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.3

Release Notes - API Related

Base Classes

BaseMod

- Added AddCustomMaterial<CustomBaseMaterial>()
- Added AddMaterial<Material>()
- Added AddMaterial(Material material)
- Added RegisterMenu<BaseUI>()

BaseUI

- Added BaseUI

References

- Fixed References name being incorrect.

Materials

CustomMaterials

- Added Material CustomMaterials.GetCustomMaterial(string materialName)
- Added Material CustomMaterials.LoadMaterialFromJson(string json)

Utilities

MaterialUtils

- Added Material GetCustomMaterial(string materialName)

ResourceUtils

- Added Texture2D LoadTextureFromBase64(string base64)

Update: 25 Dec, 2022 @ 12:51am

KitchenLib Beta v0.3.2
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.2

Release Notes - API Related

Base Classes

CustomGardenProfile

- Removed List<Item> Spawns
- Added List<GardenProfile.SpawnProbibility> Spawns

CustomItem

- Added Item ExtendedDirtItem

References

- Updated references to contain new fields.

Update: 18 Dec, 2022 @ 4:32pm

KitchenLib Beta v0.3.1
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.1

Release Notes - API Related

Base Classes

BaseMod

- Fixed OnInitialise() being called too early

Utilities

VariousUtils

- Added GetID(string name) to generate a random unique ID.

Update: 14 Dec, 2022 @ 9:40pm

KitchenLib Beta v0.3.0
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.3.0

Release Notes - API Related

Base Classes

BaseMod

- Added ModPostActivate(Mod mod) for Workshop build.
- Added ModPostInject() for Workshop build.
- Added ModPreInject() for Workshop build.

Utilities

ResourceUtils

- GetWorkshopFolder() now only returns if using the workshop build.

Bugs

- Fixed a bug from 0.2.9 causing progress to not load correctly on MelonLoader or BepInEx.

Release Notes - Other

UI

- Fixed Mods menu not displaying mods when using the Workshop loader.

Update: 12 Dec, 2022 @ 10:53am

KitchenLib Beta v0.2.9
https://github.com/KitchenMods/KitchenLib/releases/tag/v0.2.9

Release Notes - API Related

Utilities

ResourceUtils

- FindModPath(Assembly assembly, AssetBundleLocation location) is now obsolete.
- Added GetModsFolder()
- Added GetWorkshopFolder()

Bugs

- Fixed a bug causing OnFrameUpdate() to not get called after joining a multiplayer session.

Release Notes - Other

UI

- Non-KitchenLib mods will now show up in the mod list when using the Workshop loader.