Add an example mod that adds a soviet supply truck

This commit is contained in:
Paul Chote
2010-10-05 18:48:00 +13:00
parent 477a21e782
commit ecd7064cc3
3 changed files with 43 additions and 0 deletions

11
mods/example/mod.yaml Normal file
View File

@@ -0,0 +1,11 @@
Metadata:
Title: Example Mod
Description: Adds a soviet troop transport
Version: a0001
Folders:
mods/example
Rules:
mods/example/truk.yaml
Sequences:
mods/example/sequences.yaml

View File

@@ -0,0 +1,7 @@
truk:
idle:
Start: 0
Facings: 32
unload:
Start: 0
Facings: 32

25
mods/example/truk.yaml Normal file
View File

@@ -0,0 +1,25 @@
TRUK:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 50
Prerequisites: weap,barr
Owner: soviet
Valued:
Cost: 500
Tooltip:
Name: Supply Truck
Description: Light infantry transport.\n Weak vs Everything
Health:
HP: 200
Armor:
Type: Light
Mobile:
Speed: 12
RevealsShroud:
Range: 5
RenderUnit:
Cargo:
Types: Infantry
Passengers: 5
UnloadFacing: 220