Our mining empire should be playable for the extended periods of time, so let’s add prestige levels.
prestigeLevels
is an array of objects:
id
: a unique number which is used to identify the prestige leveltitle
: a string that sets the name of the prestige levelmultiplier
: a number that defines increased production on this prestige levelpictureURL
: a string, an https link to the prestige level picture in.svg
formatcondition
: an object that defines the condition when the user is able to move to this prestige level.
The structure similar to the one inachievements
, but here we can only usecurrency
and notproducers
Fill in the prestigeLevels
array with at least 2 elements based on the description above.
This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.