Skip to content

Commit

Permalink
Testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
dnqbob committed Nov 6, 2022
1 parent f2d419e commit 6ef3c23
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
Binary file added mods/ts/bits/auto-tag.shp
Binary file not shown.
20 changes: 18 additions & 2 deletions mods/ts/rules/aircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,27 @@ TRNSPORT:
Roll: 0
TakeoffSounds: dropup1.aud
LandingSounds: dropdwn1.aud
Carryall:
AutoCarryall:
Voice: Move
LocalOffset: 0,0,-317
LocalOffset: 0,0, -317
BeforeLoadDelay: 10
BeforeUnloadDelay: 10
AutoCarryCondition: autocarry
CarryCondition: carried
WithDecoration@AutoCarryall:
RequiresCondition: autocarry
Position: BottomRight
Margin: 3, 4
Image: auto-tag
Sequence: idle
Palette: player
IsPlayerPalette: true
GrantConditionOnDeploy:
RequiresCondition: !carried
DeployedCondition: autocarry
CanDeployOnRamps: true
SkipMakeAnimation: true
Voice: Move
Health:
HP: 17500
Armor:
Expand Down
5 changes: 5 additions & 0 deletions mods/ts/rules/shared-vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ HARV:
BlueTiberium: pip-blue
WithDecoration@UNDERGROUND:
Sequence: harvester
-Carryable:
CarryableHarvester:
AutoCarryable:
RequiresCondition: !inside-tunnel
LockedCondition: carried

LPST:
Inherits: ^Tank
Expand Down
6 changes: 6 additions & 0 deletions mods/ts/sequences/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -740,3 +740,9 @@ dropland:
ZRamp: 1
Offset: 0, 0, 1
BlendMode: Translucent

auto-tag:
idle:
Length: *
ZOffset: 100000
IgnoreWorldTint: true

0 comments on commit 6ef3c23

Please sign in to comment.