2012-03-10 23:55:45 +00:00
|
|
|
/*-- Buy at flagpole --*/
|
|
|
|
|
2016-01-18 03:28:57 +00:00
|
|
|
public func Construction(...)
|
|
|
|
{
|
|
|
|
// This rule enables wealth display because it's annoying to not
|
|
|
|
// know your wealth in multiplayer when many people buy/sell at
|
|
|
|
// the flagpole)
|
|
|
|
// Doesn't remove the display on destruction because there's no
|
|
|
|
// refcounting for this command.
|
|
|
|
GUI_Controller->ShowWealth();
|
|
|
|
return _inherited(...);
|
|
|
|
}
|
|
|
|
|
2012-03-10 23:55:45 +00:00
|
|
|
protected func Activate(int iByPlayer)
|
|
|
|
{
|
|
|
|
MessageWindow(GetProperty("Description"), iByPlayer);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
local Name = "$Name$";
|
|
|
|
local Description = "$Description$";
|