From 3cff9cc3924596851987946079aa24ae8fad6d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 30 Jun 2013 23:09:00 +0200 Subject: [PATCH] Added ammo boxes by @CombineCR http://content.open-ra.org/?p=detail&table=units&id=324 --- mods/ra/bits/ammobox.shp | Bin 0 -> 512 bytes mods/ra/rules/civilian.yaml | 16 ++++++++++++++++ mods/ra/sequences/map.yaml | 7 ++++++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 mods/ra/bits/ammobox.shp diff --git a/mods/ra/bits/ammobox.shp b/mods/ra/bits/ammobox.shp new file mode 100644 index 0000000000000000000000000000000000000000..5a0e0c5c649ebc87bbc40eb696468c5125a184ef GIT binary patch literal 512 zcmYL`J&V*(6o%iMTvr(f3CQLHQ>05L5ye_u5EZns2$_g1i@hsKK5pgB%#Ne^P^@e% z{R)v5gxA6mQT6?^^%5IqbEw;TnLbg0$wGeq8 zMw3_w$1yv>3dez6L@~~FZ<)-M4reaHD2@e2%a2TEw8@Q|Y6s?_Euk)et9yj29uU$F z5`x+64bz*#GuIEXa4pNVYVYFuIS99by?Tau;=8`zeGR#jV;ZB@3V*H18Qj~AXUU-eHhD?cB<4)lWL z?NOMw6jmQ_c)R42E6}?nL|(pp9*328j~c_m5eg K#su_*fc^jrsiP|Z literal 0 HcmV?d00001 diff --git a/mods/ra/rules/civilian.yaml b/mods/ra/rules/civilian.yaml index f71314c42d..8365c543d0 100644 --- a/mods/ra/rules/civilian.yaml +++ b/mods/ra/rules/civilian.yaml @@ -273,6 +273,22 @@ BRL3: TargetableBuilding: TargetTypes: Ground, DemoTruck +AMMOBOX: + Inherits: ^TechBuilding + Selectable: + Priority: 0 + Health: + HP: 10 + Explodes: + Weapon: UnitExplode + Tooltip: + Name: Ammo Box + AutoTargetIgnore: + Armor: + Type: Light + TargetableBuilding: + TargetTypes: Ground, DemoTruck + MISS: Inherits: ^TechBuilding Selectable: diff --git a/mods/ra/sequences/map.yaml b/mods/ra/sequences/map.yaml index 50e7393971..253388320d 100644 --- a/mods/ra/sequences/map.yaml +++ b/mods/ra/sequences/map.yaml @@ -625,4 +625,9 @@ stsgb: damaged-idle: Start: 1 dead: - Start: 1 \ No newline at end of file + Start: 1 + +ammobox: # TODO: there are 2 more variants, but the editor does not like the split up + idle: + Start: 0 + Length: 1 \ No newline at end of file