Skip to content

Guards do not work with temporaryEnemies #725

@Du4lity5151

Description

@Du4lity5151

What you were trying to do

Assign escorts to temporary spawning enemies

What actually happened

No escorts show up

How to reproduce

Step 1: Open DestinationSol\modules\core\assets\configs\systemsConfig.json
Step 2: Paste
"guard": { "hull": "core:imperialTiny", "items": "core:blaster core:mediumArmor core:smallShield", "density": 4 }

into this section as follows:
"temporaryEnemies": [ { "hull": "core:pirateSpaceTurret", "items": "core:plasmaGun", "money": 40, "density": 0.0015, "guard": { "hull": "core:imperialTiny", "items": "core:blaster core:mediumArmor core:smallShield", "density": 4 } } ],
Step 3: Run the game
Step 4: Start a new game
Step 5: Search for pirates and notice they do not have any escorts

Game version

Commit 52b23c4

Log details

N/A

Operating System

Windows

Additional Info

Depending on intention, it is possible that this may not be considered a bug because no escorts are a part of temporary spawning enemies within the core game content, but fixing/adding the feature to include guards with such enemies could unlock further modding potential.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions