forked from Mirrors/openclonk
show wealth in HUD for all worlds
parent
d4a6c50d4d
commit
21ffb18c4d
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue