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

Wiki for 10655 (live effects on minables) #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
9 changes: 9 additions & 0 deletions wiki/CreatingMinables.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ minable <name>
"max drops" <count#>
"drop rate" <chance#>
"toughness" <value#>
"live effect" <effect> [<interval#>]
["relative to system center"]
explode <effect> <count#>
```

Expand Down Expand Up @@ -70,6 +72,13 @@ Starting with **v. 0.10.5**, a `payload` can have the following optional childre
* `"drop rate"`: a value between 0 and 1 that represents the fraction of the maximum payload count that will survive on average. Defaults to 0.25 if not specified.
* `"toughness"`: a value greater than 1 which represents the toughness of this payload, which measures how resistant it is to having its drop rate increased by [prospecting weapons](https://github.com/endless-sky/endless-sky/wiki/CreatingOutfits#weapon-attributes).

```html
"live effect" <effect> [<interval#>]
["relative to system center"]
```

Beginning with **v. 0.10.11**, minables can create [effects](CreatingEffects) while orbiting. You can choose an interval (in frames) between spawns. If `"relative to system center"` is set, the effect will face away from the system center (like a comet tail) instead of rotating with the minable.

```html
explode <effect> <count#>
```
Expand Down