show wealth in HUD for all worlds

shapetextures
Maikel de Vries 2015-12-26 23:15:38 +01:00
parent d4a6c50d4d
commit 21ffb18c4d
8 changed files with 24 additions and 1 deletions

View File

@ -8,6 +8,9 @@
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Rules: team account and buying at flagpole.
CreateObject(Rule_TeamAccount);
CreateObject(Rule_BuyAtFlagpole);

View File

@ -16,6 +16,9 @@ static g_start_x, g_start_y;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Goal: Ruby mine
var goal = CreateObject(Goal_SellGems);
goal->SetTargetAmount(BoundBy(SCENPAR_Difficulty*10, 10, 20));

View File

@ -11,6 +11,9 @@ static intro_init;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Rules: team account and buying at flagpole.
CreateObject(Rule_TeamAccount);
CreateObject(Rule_BuyAtFlagpole);

View File

@ -15,6 +15,9 @@ static first_plr_init;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Rules: team account and buying at flagpole.
CreateObject(Rule_TeamAccount);
CreateObject(Rule_BuyAtFlagpole);

View File

@ -15,6 +15,9 @@
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Rules: team account and buying at flagpole.
CreateObject(Rule_TeamAccount);
CreateObject(Rule_BuyAtFlagpole);

View File

@ -11,6 +11,9 @@ static intro_init;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Rules: team account and buying at flagpole.
CreateObject(Rule_TeamAccount);
CreateObject(Rule_BuyAtFlagpole);
@ -32,7 +35,6 @@ protected func Initialize()
InitVegetation(SCENPAR_MapSize);
InitAnimals(SCENPAR_MapSize);
InitMaterial(4 - SCENPAR_Difficulty);
return;
}

View File

@ -13,6 +13,9 @@ static intro_init;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Goal: Expand your area of influence to secure the ore.
var goal = CreateObject(Goal_Expansion);
goal->SetExpansionGoal(300 + 100 * SCENPAR_Difficulty);

View File

@ -14,6 +14,9 @@ static intro_init;
protected func Initialize()
{
// Show wealth in HUD.
GUI_Controller->ShowWealth();
// Goal: construct an airplane and fill it with gold bars.
var goal = CreateObject(Goal_Script);
// Add an effect to check whether the goal is fulfilled.