速速上菜!

速速上菜!

KitchenLib
目前顯示第 61-70 項,共 86 項
< 1 ... 5  6  7  8  9 >
更新:2023 年 2 月 8 日 @ 上午 4:01

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

Release Notes - API Related

GDO Registration

- Fixed a bug causing GDOs to not register sometimes.

更新:2023 年 2 月 7 日 @ 下午 11:59

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

Release Notes - API Related

CustomDish

- PrerequisiteDishesEditor is now Obsolete

CustomLayoutProfile

- Fixed localization

CustomProcess

- Fixed localization

更新:2023 年 2 月 5 日 @ 上午 8:13

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

Release Notes - API Related

Base Classes

CustomLocalisedGameDataObject<T>

- Added List<(Locale, T)> InfoList to make adding localisation easier.
- LocalisedObject<T> Info is now Obsolete, although will still be used if InfoList is not.
- Old fields for localisation in CustomAppliance, and CustomEffectRepresentation have been will only be used as an English fallback.

CustomAppliance

- int PurchaseCost is now Obsolete
- bool IsAnUpgrade is now Obsolete
- string Name is now Obsolete
- string Description is now Obsolete
- List<Appliance.Section> Sections is now Obsolete
- List<string> is now Obsolete
- bool ForceIsRotationPossible() is now Obsolete
- bool IsRotationPossible(InteractionData data) is now Obsolete
- bool PreRotate(InteractionData data, bool isSecondary = false) is now Obsolete
- void PostRotate(InteractionData data) is now Obsolete
- bool ForceIsInteractionPossible() is now Obsolete
- bool IsInteractionPossible(InteractionData data) is now Obsolete
- bool PreInteract(InteractionData data, bool isSecondary = false) is now Obsolete
- void PostInteract(InteractionData data) is now Obsolete

CustomEffectRepresentation

- string Name is now Obsolete
- string Description is now Obsolete
- string Icon is now Obsolete

CustomItem

- int Reward is now Obsolete

CustomItemGroup

- int Reward is now Obsolete

CustomLayoutProfile

- string Name is now Obsolete
- string Description is now Obsolete

CustomProcess

- string Icon is now Obsolete

更新:2023 年 1 月 29 日 @ 上午 6:40

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

Release Notes - API Related

Materials

Fixed a bug where Custom Materials from AssetBundles where not automatically loaded correctly. - Thanks @ZekNikZ

更新:2023 年 1 月 26 日 @ 上午 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.

更新:2023 年 1 月 24 日 @ 上午 1:37

KitchenLib Beta v0.4.2 part 2

Just forgot to remove some debug logs 😅

更新:2023 年 1 月 24 日 @ 上午 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

更新:2023 年 1 月 19 日 @ 下午 6: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.

更新:2023 年 1 月 19 日 @ 下午 5: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)

更新:2023 年 1 月 16 日 @ 下午 7: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