Skip to content

Feature Request: Allow more flexibility in loot drops from enemies #733

Description

@Du4lity5151

The problem

You might want your enemies to be difficult to defeat, but you do not want to give the player valuable loot just yet. Or you might want the opposite: maybe you want to surprise the player with a prize for a surprisingly easy enemy. You may also want to make something exceedingly rare to obtain, or guaranteed to be dropped.

The solution

Explicitly define enemy drops as so:
{ "hull": "core:pirateSpaceTurret", "items": "core:plasmaGun", "drops": "2*rep*50", "money": 40, "density": 0.0015 }
Here, two copies of repair can be dropped and the chance of each repair dropping is 50%.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions