Ticket #3655: 3655_wallsetAuras.patch

File 3655_wallsetAuras.patch, 684 bytes (added by s0600204, 8 years ago)

Additional patch to make wall auras display in the relevant tooltip in the structree

  • binaries/data/mods/public/gui/structree/load.js

    diff --git a/binaries/data/mods/public/gui/structree/load.js b/binaries/data/mods/public/gui/structree/load.js
    index 7934c2c..beaa27b 100644
    a b function loadStructure(templateName)  
    125125    if (structure.wallSet)
    126126    {
    127127        structure.wallset = {};
    128         // Note: Assume wall segments of all lengths have the same armor
     128
     129        // Note: Assume wall segments of all lengths have the same armor and auras
    129130        structure.armour = loadStructure(structure.wallSet.templates.long).armour;
     131        structure.auras = loadStructure(structure.wallSet.templates.long).auras;
    130132
    131133        let health;
    132134