Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add A-Bomb Crates. #181

Merged
merged 1 commit into from
Mar 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions mods/raclassic/rules/ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@ Player:
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
nukepowercrate:
OrderName: NukePowerCrateInfoOrder
MinimumAttractiveness: 3000
Consideration@1:
Against: Enemy
Types: Structure
Attractiveness: 1
TargetMetric: Value
CheckRadius: 5c0
Consideration@2:
Against: Ally
Types: Air, Ground, Water
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
HarvesterBotModule@common:
RequiresCondition: enable-rush-ai || enable-normal-ai || enable-turtle-ai || enable-naval-ai
HarvesterTypes: harv, harv.russia, harv.turkey
Expand Down
54 changes: 31 additions & 23 deletions mods/raclassic/rules/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ CRATE:
SelectionShares: 3
Proxy: powerproxy.sonarpulse.crate
Sequence: sonar
SupportPowerCrateAction@abomb:
SelectionShares: 1
Proxy: powerproxy.abomb
Sequence: nuke
GiveMcvCrateAction:
SelectionShares: 0
NoBaseSelectionShares: 100
Expand Down Expand Up @@ -440,29 +444,33 @@ powerproxy.sonarpulse.crate:
EffectImage: moveflsh
EffectPalette: moveflash

# powerproxy.abomb:
# AlwaysVisible:
# NukePower:
# Cursor: nuke
# Icon: abomb
# ChargeInterval: 19500
# Description: Atom Bomb
# LongDesc: Launches a devastating atomic bomb\nat a target location.
# OneShot: true
# AllowMultiple: true
# SelectTargetSpeechNotification: SelectTarget
# IncomingSpeechNotification: AbombLaunchDetected
# SkipAscent: true
# MissileWeapon: atomic
# DisplayBeacon: True
# DisplayRadarPing: True
# BeaconPoster: atomicon
# FlashType: Nuke
# CameraRange: 10c0
# ArrowSequence: arrow
# ClockSequence: clock
# CircleSequence: circles
# WithNukeLaunchAnimation:
powerproxy.abomb:
AlwaysVisible:
NukePower:
OrderName: NukePowerCrateInfoOrder
Cursor: nuke
Icon: abomb
ChargeInterval: 19500
FlightDelay: 100
FlightVelocity: 1c0
Description: Atom Bomb
LongDesc: Launches a devastating atomic bomb\nat a target location.
OneShot: true
AllowMultiple: true
BeginChargeSpeechNotification: AbombPrepping
EndChargeSpeechNotification: AbombReady
SelectTargetSpeechNotification: SelectTarget
IncomingSpeechNotification: AbombLaunchDetected
SkipAscent: true
MissileWeapon: atomic
DisplayBeacon: True
DisplayRadarPing: True
BeaconPoster: atomicon
FlashType: Nuke
CameraRange: 10c0
ArrowSequence: arrow
ClockSequence: clock
CircleSequence: circles

powerproxy.paratroopers:
AlwaysVisible:
Expand Down