PlateUp!

PlateUp!

KitchenLib
Ergebnisse 61–70 von 82
< 1 ... 5  6  7  8  9 >
Update: 26. Jan. 2023 um 7:21

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

Release Notes - API Related

Base Classes

CutomItemGroup

- CustomItemGroup now supports custom ItemGroupView classes using, CustomItemGroup<T>

CustomMaterials
- Updated CustomMaterials to support a new JSON loading method.
- Existing CustomSimpleFlat Materials will need to have "Type": 1 appended to the JSON manually.
- Existing CustomSimpleTransparent Materials will need to have "Type": 2 appended to the JSON manually.
- Existing CustomFlatImage Materials will need to have "Type": 3 appended to the JSON manually.

Update: 24. Jan. 2023 um 1:37

KitchenLib Beta v0.4.2 part 2

Just forgot to remove some debug logs 😅

Update: 24. Jan. 2023 um 1:27

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

Release Notes - API Related

Menus

- Added Debug to Dev UI
+ Added References Generator
+ Added DataDump

MaterialUI

- Fixed a bug causing some values to be saved incorrectly - Thanks @ZekNikZ

Base Classes

CutomItemGroup

- Added a Check if Sets is null - Thanks @ZekNikZ
- Now supports ItemGroupView ( Which means you can allow ItemGroups to contain Sides )

Utilities

GDOUtils

- Added T GetCastedGDO<T>(string modName, string name) - Thanks @ZekNikZ
- Added List<CustomGameDataObject> GetCustomGameDataObjectsFromMod(string modName) - Thanks @ZekNikZ
- Added CustomGameDataObject GetCustomGameDataObject(string modName, string name) - Thanks @ZekNikZ

Update: 19. Jan. 2023 um 18:12

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

Release Notes - API Related

Base Classes

CustomItem

- Fixed string ColourBlindTag Not converting correctly.

CustomItemGroup

- Fixed string ColourBlindTag Not converting correctly.

Utilities

SpawnUtils

- Updated to support use_red value.

Update: 19. Jan. 2023 um 17:24

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

Release Notes - API Related

Base Classes

CustomItem

- Added string ColourBlindTag to allow mods to add a colour blind tag to an Item.

CustomItemGroup

- Added string ColourBlindTag to allow mods to add a colour blind tag to an ItemGroup.

CustomDish

- Added bool IsAvailableAsLobbyOption to allow mods to add dishes to the lobby menu.
- Added Dictionary<Locale, string> Recipe to allow mods to add a recipe description to a Dish.

Utilities

ColorblindUtils - Thanks @propstg ( @blarglebottoms )

- Added ColorblindUtils
- Added ColorblindUtils.AddSingleItemLabels(ItemLabel[] itemLabels)
- Added ColorblindUtils.SetupColorBlindFeatureForItem(ItemLabelGroup itemLabelGroup)

References

- Updated GDOReferences to 1.1.3 (Check Github for the full list)

Update: 16. Jan. 2023 um 19:32

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

Release Notes - API Related

Base Classes

GDOs

- Updated how values can be overrided - Thanks @Yariazen

Registration

- Fixed a bug causing GDO registration to fail if it has dependancies which haven't already been registered - Thanks @ZekNikZ
- empty is now only registered once for each GDO to prevent duplicate registration - Thanks @ZekNikZ

Utilities

GDOUtils

- Added T GetCastedGDO<T, C>(); // T is the type of the GDO, C is the type of the GDO's custom class - Thanks @ZekNikZ

Update: 8. Jan. 2023 um 4:41

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 um 14:52

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 um 9:56

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 um 8:02

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