Merge pull request #10571 from Mailaender/wwcrate
Added the water variant for the wooden crate
This commit is contained in:
@@ -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); }
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user