Blockland Forums > Modification Help

Find all bricks (oh ya its solved)

Pages: << < (2/2)

otto-san:


--- Quote from: DontCare4Free on February 14, 2012, 12:12:46 PM ---Something like

--- Code: ---package bleh {
    function FxDTSBrick::onLoadPlant(%this) {
        if (%lock) {
            %this.locked = true;
        }
        parent::onLoadPlant(%this);
    }
}; activatePackage(bleh);

--- End code ---
?

--- End quote ---
It'd have to be done a different way. ie keeping a record of all bricks that are locked somehow for each save.

DontCare4Free:


--- Quote from: otto-san on February 14, 2012, 05:50:54 PM ---It'd have to be done a different way. ie keeping a record of all bricks that are locked somehow for each save.

--- End quote ---
The %lock was only a placeholder.

Pages: << < (2/2)

Go to full version