Merge pull request #10571 from Mailaender/wwcrate

Added the water variant for the wooden crate
This commit is contained in:
abcdefg30
2016-01-24 15:02:53 +01:00
2 changed files with 10 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ namespace OpenRA.Mods.Common.Traits
public readonly string[] XmasImages = { };
[SequenceReference] public readonly string IdleSequence = "idle";
public readonly string WaterSequence = null;
public readonly string LandSequence = null;
[SequenceReference] public readonly string WaterSequence = null;
[SequenceReference] public readonly string LandSequence = null;
public object Create(ActorInitializer init) { return new WithCrateBody(init.Self, this); }

View File

@@ -238,20 +238,24 @@ fb4:
ZOffset: 1023
scrate:
idle:
Defaults:
ZOffset: -511
idle:
land:
Start: 1
ZOffset: -511
water:
Start: 2
Length: 4
Tick: 500
ZOffset: -511
wcrate:
idle:
Defaults:
ZOffset: -511
idle:
land:
water: wwcrate
Length: *
Tick: 500
xcratea:
idle: