Skip to content

Commit

Permalink
Keep the effects of the Capture Lock on RA mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Apr 15, 2018
1 parent 96d88b0 commit d8ab516
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mods/ra/rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@
AcceptsDeliveredCash:
WithMakeAnimation:
ExternalCapturable:
CaptureCondition: being_captured
ExternalCapturableBar:
EmitInfantryOnSell:
ActorTypes: e1,e1,e1,tecn,tecn
Expand All @@ -641,6 +642,7 @@
String: Structure
Sellable:
SellSounds: cashturn.aud
RequiresCondition: !being_captured

^ScienceBuilding:
Inherits: ^Building
Expand Down
10 changes: 10 additions & 0 deletions mods/ra/rules/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ SPEN:
ProductionTypes: Ship
Production:
Produces: Ship, Submarine
DisableExitOnCondition: being_captured
PrimaryBuilding:
PrimaryCondition: primary
-EmitInfantryOnSell:
Expand Down Expand Up @@ -290,6 +291,7 @@ SYRD:
ProductionTypes: Ship, Boat
Production:
Produces: Ship, Boat
DisableExitOnCondition: being_captured
PrimaryBuilding:
PrimaryCondition: primary
-EmitInfantryOnSell:
Expand Down Expand Up @@ -947,6 +949,7 @@ WEAP:
ExitCell: 1,2
Production:
Produces: Vehicle
DisableExitOnCondition: being_captured
ProvidesPrerequisite@allies:
Factions: allies, england, france, germany
Prerequisite: vehicles.allies
Expand Down Expand Up @@ -1083,6 +1086,7 @@ FACT:
IntoActor: mcv
Offset: 1,1
Facing: 96
PauseOnCondition: being_captured
RequiresCondition: factundeploy
GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY:
Condition: factundeploy
Expand All @@ -1094,6 +1098,7 @@ FACT:
Color: 8A8A8A
BaseProvider:
Range: 16c0
PauseOnCondition: being_captured
WithBuildingPlacedAnimation:
Power:
Amount: 0
Expand Down Expand Up @@ -1247,6 +1252,7 @@ HPAD:
RallyPoint:
Production:
Produces: Aircraft, Helicopter
DisableExitOnCondition: being_captured
Reservable:
ProductionBar:
PrimaryBuilding:
Expand Down Expand Up @@ -1334,6 +1340,7 @@ AFLD:
RallyPoint:
Production:
Produces: Aircraft, Plane
DisableExitOnCondition: being_captured
Reservable:
ProvidesPrerequisite@soviet:
Factions: soviet, russia, ukraine
Expand Down Expand Up @@ -1597,6 +1604,7 @@ BARR:
ProductionTypes: Soldier, Infantry
Production:
Produces: Infantry, Soldier
DisableExitOnCondition: being_captured
PrimaryBuilding:
PrimaryCondition: primary
ProductionBar:
Expand Down Expand Up @@ -1674,6 +1682,7 @@ KENN:
ProductionTypes: Dog, Infantry
Production:
Produces: Infantry, Dog
DisableExitOnCondition: being_captured
PrimaryBuilding:
PrimaryCondition: primary
ProductionBar:
Expand Down Expand Up @@ -1729,6 +1738,7 @@ TENT:
ProductionTypes: Soldier, Infantry
Production:
Produces: Infantry, Soldier
DisableExitOnCondition: being_captured
PrimaryBuilding:
PrimaryCondition: primary
ProductionBar:
Expand Down

0 comments on commit d8ab516

Please sign in to comment.