Added RenameOnDeath update rule

This commit is contained in:
Gustas
2024-09-19 15:23:41 +03:00
committed by abcdefg30
parent 9c60ac23a3
commit b0899d0ee4
33 changed files with 194 additions and 161 deletions

View File

@@ -376,8 +376,8 @@ V19.Husk:
-Demolishable:
-HitShape:
-Health:
-Explodes:
-Explodes@CIVPANIC:
-FireWarheadsOnDeath:
-FireWarheadsOnDeath@CIVPANIC:
Interactable:
BARL:
@@ -385,7 +385,7 @@ BARL:
-Selectable:
Health:
HP: 1000
Explodes:
FireWarheadsOnDeath:
Weapon: BarrelExplode
Tooltip:
Name: actor-barl-name
@@ -407,7 +407,7 @@ BRL3:
-Selectable:
Health:
HP: 1000
Explodes:
FireWarheadsOnDeath:
Weapon: BarrelExplode
Tooltip:
Name: actor-brl3-name
@@ -551,7 +551,7 @@ OILB:
TooltipDescription@other:
Description: actor-oilb.capturable-desc
ValidRelationships: Neutral, Enemy
Explodes:
FireWarheadsOnDeath:
Weapon: BarrelExplode
GpsDot:
String: Oil

View File

@@ -295,7 +295,7 @@
FallRate: 26
KilledOnImpassableTerrain: true
ParachutingCondition: parachute
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
WithFacingSpriteBody:
@@ -531,7 +531,7 @@
GpsDot:
String: Ship
WithDamageOverlay:
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip
Guard:
@@ -633,7 +633,7 @@
Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplode
RequiresCondition: !airborne
CaptureManager:
@@ -698,7 +698,7 @@
DamagedSounds: kaboom1.aud
DestroyedSounds: kaboom22.aud
WithSpriteBody:
Explodes:
FireWarheadsOnDeath:
Type: Footprint
Weapon: BuildingExplode
EmptyWeapon: BuildingExplode
@@ -778,7 +778,7 @@
-GivesBuildableArea:
-AcceptsDeliveredCash:
RenderRangeCircle:
Explodes:
FireWarheadsOnDeath:
Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode
MapEditorData:
@@ -857,7 +857,7 @@
AreaTypes: fake
Health:
HP: 10000
Explodes:
FireWarheadsOnDeath:
Weapon: Demolish
DamageThreshold: 70
RevealsShroud:
@@ -889,7 +889,7 @@
-Selectable:
Health:
HP: 1000
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplode
Tooltip:
Name: meta-ammobox-name
@@ -909,17 +909,17 @@
MapEditorData:
ExcludeTilesets: INTERIOR
Categories: Civilian building
Explodes:
FireWarheadsOnDeath:
Weapon: SmallBuildingExplode
Explodes@CIVPANIC:
FireWarheadsOnDeath@CIVPANIC:
Weapon: CivPanicExplosion
^CivField:
Inherits: ^CivBuilding
-HitShape:
-Health:
-Explodes:
-Explodes@CIVPANIC:
-FireWarheadsOnDeath:
-FireWarheadsOnDeath@CIVPANIC:
-Selectable:
-ScriptTriggers:
Tooltip:

View File

@@ -360,7 +360,7 @@ PDOF:
HP: 100000
Armor:
Type: Wood
Explodes:
FireWarheadsOnDeath:
DamageThreshold: 50
MSLF:
@@ -393,7 +393,7 @@ MSLF:
HP: 100000
Armor:
Type: Wood
Explodes:
FireWarheadsOnDeath:
DamageThreshold: 50
FACF:

View File

@@ -158,7 +158,7 @@ E2:
RequiresCondition: parachute
Palette: player-noshadow
IsPlayerPalette: true
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
DamageSource: Killer
@@ -258,7 +258,7 @@ E4:
Weapon: Flamer
TakeCover:
ProneOffset: 160,0,-288
Explodes:
FireWarheadsOnDeath:
Weapon: VisualExplode
EmptyWeapon: VisualExplode
Chance: 50

View File

@@ -6,13 +6,13 @@ MINV:
soviet: minp
russia: minp
ukraine: minp
Explodes:
FireWarheadsOnDeath:
Weapon: ATMine
# Only kept for backwards-compatibility with existing and imported maps, use MINV instead
MINP:
Inherits: MINV
Explodes:
FireWarheadsOnDeath:
Weapon: APMine
CRATE:
@@ -464,7 +464,7 @@ CTFLAG:
HasMinibib: true
-HitShape:
-Health:
-Explodes:
-FireWarheadsOnDeath:
-Selectable:
-Targetable:
MapEditorData:

View File

@@ -41,7 +41,7 @@ SS:
DetectionTypes: Underwater
Range: 5c0
RenderDetectionCircle:
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine
Selectable:
@@ -96,7 +96,7 @@ MSUB:
DetectionTypes: Underwater
Range: 4c0
RenderDetectionCircle:
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine
Selectable:

View File

@@ -113,7 +113,7 @@ GAP:
MustBeDestroyed:
RequiredForShortGame: false
-AcceptsDeliveredCash:
Explodes:
FireWarheadsOnDeath:
Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode
HitShape:
@@ -919,7 +919,7 @@ FTUR:
DetectCloaked:
Range: 6c0
ProvidesPrerequisite@buildingname:
Explodes:
FireWarheadsOnDeath:
Weapon: BuildingExplode
EmptyWeapon: BuildingExplode
@@ -1386,7 +1386,7 @@ SILO:
-SpawnActorsOnSell:
Power:
Amount: -10
Explodes:
FireWarheadsOnDeath:
Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode
WithResourceStoragePipsDecoration:

View File

@@ -41,7 +41,7 @@ V2RL:
RequiresCondition: reloading
Sequence: empty-idle
Name: reloading
Explodes:
FireWarheadsOnDeath:
Weapon: V2Explode
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -294,7 +294,7 @@ ARTY:
ForceFireIgnoresActors: True
FacingTolerance: 0
WithMuzzleOverlay:
Explodes:
FireWarheadsOnDeath:
Weapon: ArtilleryExplode
EmptyWeapon: UnitExplodeSmall
LoadedChance: 75
@@ -353,7 +353,7 @@ HARV:
Delay: 25
StartIfBelow: 50
DamageCooldown: 500
Explodes:
FireWarheadsOnDeath:
RequiresCondition: !no-ore
Weapon: OreExplosion
WithHarvesterSpriteBody:
@@ -541,7 +541,7 @@ MNLY:
Range: 5c0
DetectionTypes: Mine
RenderDetectionCircle:
Explodes:
FireWarheadsOnDeath:
Weapon: ATMine
RenderSprites:
Image: MNLY
@@ -767,7 +767,7 @@ DTRK:
Speed: 67
RevealsShroud:
Range: 4c0
Explodes:
FireWarheadsOnDeath:
Weapon: MiniNuke
EmptyWeapon: MiniNuke
DamageSource: Killer