Skip to content

Custom Distribute Silver - Update to use getPlanetName from @darkforest_eth/procedural package - #209

Merged
ichub merged 2 commits into
darkforest-eth:masterfrom
cristobal:patch-2
Mar 31, 2022
Merged

Custom Distribute Silver - Update to use getPlanetName from @darkforest_eth/procedural package#209
ichub merged 2 commits into
darkforest-eth:masterfrom
cristobal:patch-2

Conversation

@cristobal

@cristobal cristobal commented Feb 24, 2022

Copy link
Copy Markdown
Contributor

The getPlanetName function is now available from the @darkforest_eth/procedural package rather than the defunct getProcgenUtils() utils which is no longer available on the df object.

Screenshot 2022-02-24 at 15 44 46
.

The API's have changed:

* The `df.getPlanetWithId` method is now available from `df.entityStore.getPlanetWithId`
* The `getPlanetName` is now available from the `https://cdn.skypack.dev/@darkforest_eth/procedural` module.
Comment thread content/productivity/custom-distribute-silver/plugin.js Outdated
Don't reach into entityStore, `df.getPlanetWithId` still exists.
@cristobal cristobal changed the title Update Custom Distribute Silver to be compatible with round 0.6v5 Custom Distribute Silver - Update to use getPlanetName from @darkforest_eth/procedural package Mar 4, 2022
@ichub
ichub merged commit 043202d into darkforest-eth:master Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants