Money Making/Development: Difference between revisions
No edit summary |
|||
Line 20: | Line 20: | ||
* Completes all township tasks | * Completes all township tasks | ||
* Buys 69,400 of every shop item | * Buys 69,400 of every shop item | ||
==Minimum Setup== | |||
This [https://gist.github.com/DennisCorvers/055fc3d56000be5160c63748555df26f script] can be used to unlock every skill/item that has no side effects. It can be used to prepare testing for a minimum setup, where things like agility obstacles can be manually build, astrology upgraded, etc. It also unlocks the passive slot and TotH content via relevant dungeon completion. | |||
==Commands== | ==Commands== |
Revision as of 15:44, 3 April 2024
This page is intended for collecting useful commands to setup test scenarios for testing minimum and maximum profit values for money making guides.
Setup
This script can be used to get 100% completion on an account. This is recommended for maximum profit simulations. The script does the following:
- Completes the tutorial
- Gives 1,000,000,000,000
- Gives 1,000,000,000,000
- Gives 4,000,000,000
- Gives 6,969,696,969 of every item
- Sets every skill to 120
- Gives 100% Error creating thumbnail: File missingMastery for everything
- Gives 1,000,000,000 Error creating thumbnail: File missingMastery pool exp for all skills
- Unlocks all pets
- Completes all astrology constellations
- Gives all summoning marks
- Completes every dungeon 420 times
- Discovers and masters all hexes in cartography
- Unlocks all museum items
- Builds all township buildings
- Completes all township tasks
- Buys 69,400 of every shop item
Minimum Setup
This script can be used to unlock every skill/item that has no side effects. It can be used to prepare testing for a minimum setup, where things like agility obstacles can be manually build, astrology upgraded, etc. It also unlocks the passive slot and TotH content via relevant dungeon completion.
Commands
All of the commands below can be used by pressing F12 when running Melvor Idle in the browser, navigating to "Console", and pasting them there. Some commands, such as game.testForOffline, will take some time to execute.
Command | Effect |
---|---|
game.testForOffline(1000)
|
Runs the game for 1,000 hours, as if the player was offline. |
game.woodcutting.setXP(exp.level_to_xp(120)+1)
|
Sets woodcutting xp to level 120 + 1 exp. Replace "woodcutting" with the skill of choise, as well as "120" with the level of choice. |
mod.getDevContext().patch(PetManager, 'rollForSkillPet').replace(function(o) {})
|
Disables receiving of pets. |
game.petManager.unlockPetByID(ID)
|
Unlocks a specific pet based on ID. |
game.pets.allObjects
|
Gets a list of all pets. |
mod.getDevContext().patch(Skill, 'addXP').replace(function(o) {});
|
Disables gaining of experience. |
mod.getDevContext().patch(SkillWithMastery, 'addMasteryXP').replace(function(o) {});
|
Disable gaining of mastery experience. |
mod.getDevContext().patch(SkillWithMastery, 'addMasteryPoolXP').replace(function(o) {});
|
Disables gaining of mastery pool exp. |
How to collect data
- For minimum profit, only the required recommendations in terms of items, skills and others should be included. These are the very minimum requirements to follow the guide.
- For maximum profit everything that the guide suggests under both required and recommended should be included. This is the most optimal scenario for the guide.