plugin.register(new Plugin());
(usually the last line of the v0.5 plugin) with export default Plugin;
.0.5.0
in the version
field with 0.6.0
, and the date
to the current date.import('https://plugins.zkga.me/utils/utils.js')
, you should replace any instances of canUpgrade
with canPlanetUpgrade
. exampleentityStore.planetCanUpgrade
is now a static method; any instance of df.entityStore.planetCanUpgrade(planet)
should be replaced with df.entityStore.constructor.planetCanUpgrade(planet)
.df
and ui
objects can be found here and here, and the source code can be found in the Dark Forest open-source client.