RECORDANDRONCO/mods/vinylgod/rules/player.yaml
type-two 1939f868b0 Fix AutoTarget null crash: add FrozenActorLayer to player, FrozenUnderFog on buildings
AttackMoveActivity scanned for frozen actors on a player with no
FrozenActorLayer -> NullReferenceException mid-match. Verified by a full
AI-vs-AI arena match running to completion (BotA won at tick ~10500).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-25 18:42:50 +10:00

41 lines
804 B
YAML

^baseplayer:
AlwaysVisible:
Shroud:
player:
Inherits: ^baseplayer
FrozenActorLayer:
DeveloperMode:
PlayerResources:
DefaultCash: 5000
ResourceValues:
Wax: 25
InsufficientFundsNotification: InsufficientFunds
PowerManager:
TechTree:
PlaceBuilding:
ClassicProductionQueue@Building:
Type: Building
Group: Building
ReadyAudio: ConstructionComplete
ClassicProductionQueue@Vehicle:
Type: Vehicle
Group: Vehicle
ReadyAudio: UnitReady
ClassicProductionQueue@Infantry:
Type: Infantry
Group: Infantry
ReadyAudio: UnitReady
ConquestVictoryConditions:
MissionObjectives:
WinNotification: Win
LoseNotification: Lose
BaseAttackNotifier:
HarvesterAttackNotifier:
Notification: HarvesterAttack
SupportPowerManager:
ScriptTriggers:
editorplayer:
Inherits: ^baseplayer