forked from Mirrors/openclonk
Horrid Highway: add diamonds and remove debug log
parent
5bf83b7d3f
commit
5c11b703a9
|
@ -8,4 +8,4 @@ Tipps:
|
|||
- There are infinite sources of rock, coal, ore and water on the left and right island.
|
||||
- You need a set up transport lines to get the necessary resources.
|
||||
- Use the switch to signify that the train line is ready.
|
||||
- To fulfill the goal 10 trains need to pass the line (protection for 5 minutes).
|
||||
- To fulfill the goal a number of trains need to pass the line.
|
||||
|
|
|
@ -8,4 +8,4 @@ Hints:
|
|||
- There are infinite sources of rock, coal, ore and water on the left and right island.
|
||||
- You need a set up transport lines to get the necessary resources.
|
||||
- Use the switch to signify that the train line is ready.
|
||||
- To fulfill the goal 10 trains need to pass the line (protection for 5 minutes).
|
||||
- To fulfill the goal a number of trains need to pass the line.
|
||||
|
|
|
@ -81,7 +81,6 @@ local FxCheckLocomotive = new Effect
|
|||
{
|
||||
if (Target->GetX() > LandscapeWidth() - 14)
|
||||
{
|
||||
Log("train passed after: %d", time);
|
||||
if (time <= this.time_allowed)
|
||||
this.goal->DoPassed(1);
|
||||
Target->RemoveObject();
|
||||
|
|
|
@ -249,6 +249,16 @@ private func InitMiddleIsland()
|
|||
var guidepost = CreateObjectAbove(EnvPack_Guidepost2, LandscapeWidth() / 2 + 40, LandscapeHeight() / 2);
|
||||
guidepost->SetInscription("$MsgResourcesWest$");
|
||||
guidepost.MeshTransformation = EnvPack_Guidepost2.MeshTransformation;
|
||||
|
||||
var diamond_cnt = 12;
|
||||
for (var cnt = 0; cnt < diamond_cnt; cnt++)
|
||||
{
|
||||
var pos = FindLocation(Loc_Material("Gold"));
|
||||
if (pos)
|
||||
{
|
||||
CreateObject(Diamond_Socket, pos.x, pos.y);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue