Project icon Patchly
Patchly

The Perfect Pure Patching Plugin

71
last month
Game MechanicsTechnologyLibraryOptimizationUtility

3.4.2

Release
Patchly 3.4.24 months ago1

Compatibility

Hytale versions

0.5.x

Platform

Vanilla

Changes

v3.4.2

Added Variables

Deriving values with .vars and #

When many assets share numbers, define them once in a .vars file and compute per-asset values with a # key instead of hardcoding. A .vars holds plain numbers and its filename is the scope:

Armor.vars

{ "Spread_Head": 0.15, "Mult_Mana": 1.0 }

Adamantite.vars

{ "Mana": 80 }

Suffix a numeric key with # to make its value an expression, and reference a variable as $Scope.Name:

{ "Armor": { "StatModifiers": { "Mana?": [
  { "Amount#": "round($Adamantite.Mana * $Armor.Spread_Head * $Armor.Mult_Mana)", "CalculationType": "Additive" }
] } } }

Creators

6followers
13projects
263downloads

Details

Licensed MIT
Created Jun 7
Updated Oct 18
ID: dELwXA