Project icon Patchly
Patchly

The Perfect Pure Patching Plugin

71
last month
Game MechanicsTechnologyLibraryOptimizationUtility

3.6.1

Release
Patchly 3.6.13 months ago0

Compatibility

Hytale versions

0.6.x

Platform

Vanilla

Changes

v3.6.1

  • $Requires accepts feature flags. Any entry without a colon is an expression over your .vars variables and passes when it evaluates greater than zero, so "$Requires": ["$HeavyArmor", "-$Legacy", "Riprod:Hexcode,$Fallback"] mixes flags and packs under the existing AND/OR/NOT rules. A leading - is boolean NOT (-$Zero is true). An unknown variable evaluates false and the reason is recorded.

  • .vars values may be true or false, stored as 1 and 0. A global may be referenced qualified by its file, $Globals.Name, as well as bare $Name.

  • Variables are now resolved before gating, in three layers: Globals.vars may only be gated by packs, a named .vars by packs and globals, and .patch/.put/.batch by every scope. Nested array-element $Requires sees flags as well.

  • New Java API com.riprod.patchly.api.PatchlyVars: getFlag, getNumber, get, whenReady, onChange. Works from any copy of Patchly in the JVM, including one that lost the election, because the active copy publishes through shared JDK objects. Values are empty until the first rebuild after LoadAssetEvent

Creators

6followers
13projects
263downloads

Details

Licensed MIT
Created Jun 7
Updated Oct 18
ID: dELwXA