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 = { }; public readonly string[] XmasImages = { };
[SequenceReference] public readonly string IdleSequence = "idle"; [SequenceReference] public readonly string IdleSequence = "idle";
public readonly string WaterSequence = null; [SequenceReference] public readonly string WaterSequence = null;
public readonly string LandSequence = null; [SequenceReference] public readonly string LandSequence = null;
public object Create(ActorInitializer init) { return new WithCrateBody(init.Self, this); } public object Create(ActorInitializer init) { return new WithCrateBody(init.Self, this); }

View File

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