From a56ecc3f6bb116a47bd94596e708c5f6aa025920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 25 Jul 2015 19:25:00 +0200 Subject: [PATCH] add Temple of Nod --- mods/ts/rules/nod-infantry.yaml | 4 ++-- mods/ts/rules/nod-structures.yaml | 29 +++++++++++++++++++++++++++++ mods/ts/sequences/structures.yaml | 27 +++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/mods/ts/rules/nod-infantry.yaml b/mods/ts/rules/nod-infantry.yaml index b2af8971c3..e42340f8a3 100644 --- a/mods/ts/rules/nod-infantry.yaml +++ b/mods/ts/rules/nod-infantry.yaml @@ -70,7 +70,7 @@ CYC2: Buildable: Queue: Infantry BuildPaletteOrder: 50 - Prerequisites: ~nahand, natech + Prerequisites: ~nahand, natmpl BuildLimit: 1 Selectable: Bounds: 16,32,-1,-12 @@ -98,7 +98,7 @@ MHIJACK: Buildable: Queue: Infantry BuildPaletteOrder: 60 - Prerequisites: ~nahand, natech # natech must be natmpl + Prerequisites: ~nahand, natmpl Valued: Cost: 1850 Tooltip: diff --git a/mods/ts/rules/nod-structures.yaml b/mods/ts/rules/nod-structures.yaml index dcbfd3ca11..fc4b00fd10 100644 --- a/mods/ts/rules/nod-structures.yaml +++ b/mods/ts/rules/nod-structures.yaml @@ -277,6 +277,35 @@ NATECH: SelectionDecorations: VisualBounds: 86, 58, 0, -4 +NATMPL: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 200 + Prerequisites: natech, ~structures.nod + ProvidesPrerequisite@buildingname: + Valued: + Cost: 2000 + Tooltip: + Name: Temple of Nod + Description: Provides access to advanced Nod technologies. + Building: + Adjacent: 3 + Footprint: xxxx xxxx xxxx + Dimensions: 4,3 + Selectable: + Bounds: 134, 120, 12, -12 + Health: + HP: 1000 + Armor: + Type: Wood + RevealsShroud: + Range: 6c0 + Power: + Amount: -200 + WithIdleOverlay@LIGHTS: + Sequence: idle-lights + NASTLH: Inherits: ^Building Valued: diff --git a/mods/ts/sequences/structures.yaml b/mods/ts/sequences/structures.yaml index 8d54d2e583..d996a705ae 100644 --- a/mods/ts/sequences/structures.yaml +++ b/mods/ts/sequences/structures.yaml @@ -400,6 +400,33 @@ natech: Offset: 0, 0 UseTilesetCode: false +natmpl: + Defaults: + Offset: 0, -24 + UseTilesetCode: true + idle: + ShadowStart: 3 + damaged-idle: + Start: 1 + ShadowStart: 4 + dead: + Start: 2 + ShadowStart: 5 + Tick: 400 + idle-lights: nttmpl_a + Length: 16 + Tick: 120 + damaged-idle-lights: nttmpl_a + Start: 16 + Length: 16 + Tick: 120 + make: nttmplmk + Length: 17 + ShadowStart: 17 + icon: tmplicon + Offset: 0, 0 + UseTilesetCode: false + garadr: Defaults: Offset: 0, -24