diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 21:27:02 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 21:27:12 +0100 |
| commit | 1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2 (patch) | |
| tree | b46e2f61f6a223e8c2c54536da324f502a99b948 /TemplePushing.c4s/Sections.c4d | |
| parent | 2fa1ef2fe4dcd5c47d1ccca68d1dba79399ea2c6 (diff) | |
| download | tempelschubsen-1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2.tar.gz tempelschubsen-1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2.zip | |
Move some mode-specific stuff into the modes' scripts
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d')
3 files changed, 4 insertions, 10 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c index bead84f..7699859 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c @@ -57,7 +57,5 @@ protected func Initialize() public func SectionAmbienceSounds() { - if (mode == MODE_Festive) return [["FestiveAmbience.ogg", 25]]; - else if (mode == MODE_Apocalyptic) return [["ExtremeAmbience.ogg", 75]]; - else return [["Ambience.ogg", 50], ["Rain.ogg", 75]]; -}
\ No newline at end of file + return [["Ambience.ogg", 50], ["Rain.ogg", 75]]; +} diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c index 5818969..6aae5d7 100644 --- a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c @@ -61,7 +61,5 @@ protected func Initialize() public func SectionAmbienceSounds() { - if (mode == MODE_Festive) return [["FestiveAmbience.ogg", 25]]; - else if (mode == MODE_Apocalyptic) return [["ExtremeAmbience.ogg", 75]]; - else return [["CloudAmbience.ogg", 50]]; + return [["CloudAmbience.ogg", 50]]; } diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c index a169b11..248785b 100644 --- a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c @@ -37,7 +37,5 @@ public func SectionAmbienceSounds() { - if (mode == MODE_Festive) return [["FestiveAmbience.ogg", 25]]; - else if (mode == MODE_Apocalyptic) return [["ExtremeAmbience.ogg", 75]]; - else return [["LiquidAmbience.ogg", 50], ["Rain.ogg", 10]]; + return [["LiquidAmbience.ogg", 50], ["Rain.ogg", 10]]; } |
