Project icon Patchly
Patchly

The Perfect Pure Patching Plugin

71
8 days ago
Game MechanicsTechnologyLibraryOptimizationUtility

3.4.2

Release
Patchly 3.4.23 months ago1

Compatibility

Hytale versions

0.5.7

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
9projects
244downloads

Details

Licensed MIT
Created Jun 7
Updated Sep 30
ID: dELwXA