1 /*-- Buy at flagpole --*/ 2 Construction(...)3public func Construction(...) 4 { 5 // This rule enables wealth display because it's annoying to not 6 // know your wealth in multiplayer when many people buy/sell at 7 // the flagpole) 8 // Doesn't remove the display on destruction because there's no 9 // refcounting for this command. 10 GUI_Controller->ShowWealth(); 11 return _inherited(...); 12 } 13 Activate(int by_plr)14public func Activate(int by_plr) 15 { 16 MessageWindow(this.Description, by_plr); 17 return true; 18 } 19 20 local Name = "$Name$"; 21 local Description = "$Description$"; 22 local Visibility = VIS_Editor; 23 local EditorPlacementLimit = 1; // Rules are to be placed only once 24