forked from Mirrors/openclonk
add stalactites to hot ice as decoration (#1564)
parent
0f48bb2a86
commit
fabe8302eb
|
@ -468,14 +468,14 @@ func IsFirestoneSpot(int x, int y)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============= Themes =============
|
// ============= Themes =============
|
||||||
static const HotIce = new Global {
|
static const DefaultTheme = new Global
|
||||||
|
{
|
||||||
InitializeRound = func() { },
|
InitializeRound = func() { },
|
||||||
LavaMat = "^DuroLava",
|
LavaMat = "^DuroLava",
|
||||||
IceMats = ["^Ice-ice", "^Ice-ice2"],
|
IceMats = ["^Ice-ice", "^Ice-ice2"],
|
||||||
AltMatRatio = 50,
|
AltMatRatio = 50,
|
||||||
BackgroundMat = nil,
|
BackgroundMat = nil,
|
||||||
Sky = "Default",
|
Sky = "Default",
|
||||||
|
|
||||||
PlayList = nil,
|
PlayList = nil,
|
||||||
InitializeMusic = func()
|
InitializeMusic = func()
|
||||||
{
|
{
|
||||||
|
@ -489,17 +489,31 @@ static const HotIce = new Global {
|
||||||
SetPlayList(this.PlayList, NO_OWNER, true);
|
SetPlayList(this.PlayList, NO_OWNER, true);
|
||||||
SetGlobalSoundModifier(nil);
|
SetGlobalSoundModifier(nil);
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const EciToh = new HotIce {
|
static const HotIce = new DefaultTheme
|
||||||
|
{
|
||||||
|
InitializeRound = func()
|
||||||
|
{
|
||||||
|
Stalactite->Place(10 + Random(3));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
static const EciToh = new DefaultTheme
|
||||||
|
{
|
||||||
LavaMat = "DuroLava",
|
LavaMat = "DuroLava",
|
||||||
IceMats = ["Coal", "Rock-rock"],
|
IceMats = ["Coal", "Rock-rock"],
|
||||||
AltMatRatio = 8,
|
AltMatRatio = 8,
|
||||||
BackgroundMat = "Tunnel",
|
BackgroundMat = "Tunnel",
|
||||||
|
InitializeRound = func()
|
||||||
|
{
|
||||||
|
Stalactite->Place(10 + Random(3));
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const MiamiIce = new HotIce {
|
static const MiamiIce = new DefaultTheme
|
||||||
|
{
|
||||||
IceMats = ["^BlackIce-black", "^BlackIce-black"],
|
IceMats = ["^BlackIce-black", "^BlackIce-black"],
|
||||||
Sky = "SkyMiami",
|
Sky = "SkyMiami",
|
||||||
PlayList =
|
PlayList =
|
||||||
|
@ -526,6 +540,5 @@ static const MiamiIce = new HotIce {
|
||||||
o->SetClrModulation(HSL(time, 255, 100));
|
o->SetClrModulation(HSL(time, 255, 100));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue