Skip to content

Commit

Permalink
Blossom tree can now emit radiation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdj committed Jan 24, 2017
1 parent 86a0b80 commit 25c3fd9
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 6 deletions.
9 changes: 9 additions & 0 deletions rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@
Damage: 2
DamageInterval: 16
DamageTypes: FireDeath
DamagedByRadioactivity:
DamageCoeff: 0.02
DamageInterval: 16
DamageTypes: FireDeath


^Tank:
Inherits: ^Vehicle
Expand Down Expand Up @@ -275,6 +280,10 @@
Damage: 2
DamageInterval: 16
DamageTypes: FireDeath
DamagedByRadioactivity:
DamageCoeff: 0.02
DamageInterval: 16
DamageTypes: FireDeath

^Soldier:
Inherits: ^Infantry
Expand Down
1 change: 1 addition & 0 deletions rules/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -737,3 +737,4 @@ Ant:
SearchFromOrderRadius: 15
WithDockingAnimation:
-DamagedByTerrain@tib:
-DamagedByRadioactivity:
5 changes: 4 additions & 1 deletion rules/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1962,10 +1962,13 @@ TIBTREE:
Image: split3
SeedsResource:
ResourceType: Tiberium
Interval: 15
Interval: 75
MaxRange: 10
WithIdleAnimation:
Selectable:
Bounds: 24,24
SelectionDecorations:
VisualBounds: 24,40,0,-8
ExplodeWeapon: # radioactivity
Weapon: BlossomTreeExplosion
ResetReloadWhenEnabled: false
1 change: 1 addition & 0 deletions rules/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -977,3 +977,4 @@ QANT:
Targetable:
TargetTypes: Ground, Infantry, Ant
-DamagedByTerrain@tib:
-DamagedByRadioactivity:
10 changes: 10 additions & 0 deletions weapons/explosions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,13 @@ OreExplosion:
Warhead@3Eff: CreateEffect
Explosions: med_explosion
ImpactSounds: kaboom25.aud

BlossomTreeExplosion:
#Burst: 1
#BurstDelay: 30
ReloadDelay: 150
Warhead@1Radio: CreateRadioactivity
Range: 5, 6, 7, 8
Level: 32
Falloff: 100, 50, 25, 0
HalfLife: 150
5 changes: 0 additions & 5 deletions weapons/other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,6 @@ ScoutMandible:
Heavy: 10
Concrete: 10
DamageTypes: Prone50Percent, TriggerProne, DefaultDeath
Warhead@1Radio: CreateRadioactivity
Range: 5, 6, 7, 8
Level: 32
Falloff: 100, 50, 25, 0
HalfLife: 150

MADTankThump:
InvalidTargets: MADTank, Infantry
Expand Down

0 comments on commit 25c3fd9

Please sign in to comment.