Project icon Patchly
Patchly

The Perfect Pure Patching Plugin

60
8 days ago
Game MechanicsTechnologyLibraryOptimizationUtility

3.4.2

Release
Patchly 3.4.2last week0

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

1follower
4projects
168downloads

Details

Licensed MIT
Created Jun 7
Updated Jul 24
ID: dELwXA
3.4.2 - Patchly — Modifold