Project Zomboid

Project Zomboid

Starlit Library
11개 중 1~10개 표시 중
< 1  2 >
업데이트: 2025년 3월 24일 @ 오후 7시 35분

42-1.4.3
  • Reimplemented container tooltips.
  • LuaEvent now removes callbacks from a file when that file reloads.
  • InventoryUI: added functions to move tooltip elements.
  • Reflection: getClassName can now return the name of unexposed classes.
  • Reflection: fixed getField not working on classes that have a toString override.
  • Reflection: Optimised getField.
  • TimedActionUtils: transferAndEquip now accepts nil to unequip any equipped item.

업데이트: 2025년 2월 20일 @ 오전 10시 33분

42-1.4.2
  • Reverted to older tooltip code for containers only, as they have special handling that the new code didn't account for.
    • This means the improvements in the previous update won't apply to them anymore. This will be fixed in a future patch.

업데이트: 2025년 2월 19일 @ 오후 12시 41분

42-1.4.1
  • Added InventoryUI.removeTooltipElement for removing existing tooltip elements.
  • Fixed the modded section of a tooltip using a separate key/value width from the vanilla section.
  • Fixed an occasional error when using the Transfer Fluid menu.
  • General performance improvements to the InventoryUI module.

업데이트: 2025년 1월 30일 @ 오후 12시 47분

1.4.0
  • (NEW) PZEvents: provides a list of callbacks added to a vanilla event, and some utility functions for identifying and removing event callbacks added by other files using the filename.
  • Reflection: Added API for inspecting locals from lower callframes.
  • InventoryUI: Added utility functions for adding tooltip elements.
  • Colour: now uses RGBA instead of RGB. Existing code should be unaffected.
  • Reflection: Renamed getUnexposedObjectField to getField. The old name redirects to the new function, but should be considered deprecated.
  • InventoryUI: fixed a regression in the B42 port that caused custom tooltip elements being slightly offset to the left.
  • Added @nodiscard annotations to many pure functions that were missing them.

업데이트: 2025년 1월 27일 @ 오전 10시 02분

42-1.3.1
  • BaseSquareCursor now by default caches the result of isValid every frame by calling an isValidInternal function and caching its result. Existing code that overrides isValid will not benefit from this: isValidInternal should be overridden instead.
  • BaseSquareCursor now has full gamepad support. It should work out of the box for most existing code however inheriting classes may want to override the button prompt text or have custom handling for button presses.
  • Events module renamed to LuaEvent. Existing requires will be redirected to the new module, until the next major version (42-2.0.0).

업데이트: 2025년 1월 10일 @ 오후 11시 33분

42-1.3.0
  • Added TaskManager module for scheduling delayed or repeating functions. Currently only works in ticks, real timing may come in the future.
  • Added Version module for checking the version of the library.
  • IsoObjectUtils now extends chunks by even amounts to greatly reduce the frequency of flickering from chunks being extended downwards.
  • BaseSquareCursor#select should double-fire less often (but it still happens :( )

업데이트: 2024년 12월 29일 @ 오후 6시 27분

42-1.2.0
  • Added more IsoObjectUtils
  • Fixed BaseSquareCursor.select() being called multiple times for one input
  • BaseSquareCursor.select() now has an additional boolean argument to decide whether it should be removed from the player's cursor.

업데이트: 2024년 12월 25일 @ 오후 5시 34분

42-1.1.0
  • Moved all timedActions modules to shared, as that is where timed actions live in Build 42. Requiring the old paths will still work but may be removed in a future update.
  • Added TimedActionUtils.transferSomeValid for transfering an amount of items.
  • Added IsoObjectUtils module. Provides some utilities for working with squares and tile objects.
  • Added BaseSquareCursor. Base class for square selection cursors to inherit from, without the hassle of working around ISBuildingObject.

업데이트: 2024년 12월 17일 @ 오후 4시 29분

42-1.0.0
  • Updated to Build 42.
  • Replaced StarlitLog with an internal Starlit.Logger.
  • The new item serialisation module is not available in Build 42 yet.
41-1.1.0
  • Added item serialisation module. Currently undocumented.
  • Replaced StarlitLog with an internal Starlit.Logger.

업데이트: 2024년 12월 9일 @ 오전 10시 42분

1.0.1
  • Partially fixed an incompatibility with mods that accidentally overwrite the global Trait. If the workaround cannot succeed, the module that depends on it will be disabled, instead of bugging out your sandbox options. Information about this will be logged.
  • Fixed log level "error" not actually producing an error.