To add a new job, copy the following and change the starting number following the order of jobs listed on line 146 in bit-jobs/config.lua:
[1] = { -- jobID-- Name that appears in the Job UI ["name"] ="Miner",--Image of the character appearing in the UI ["image"] ="assets/miner.png",--Position of the character on the main UI screen ["descpos"] = {top ="0rem", left ="35rem", width ="34rem"},--Position of the character in the "How it Works?" screen of the UI. ["vecpos"] = {top ="9rem", left ="-3rem", width ="49rem"},--Position of the character in the "Leaderboard" screen of the UI. ["scorepos"] = {top ="9rem", left ="-3rem", width ="49rem"},--HTML description of the job shown on the main screen ["description"] = "Get precious stones!<br><br>Work as a miner and you can find materials such as Topaz.<br>To work as a miner you will need a pickaxe which you can find in the 24/7 stores",
--Texts of the working points in the "How it works?" section. ["howitworks1"] ="Go to the wardrobe to change into your work clothes", ["howitworks2"] ="Take the work vehicle and go to the point marked on the map", ["howitworks3"] ="Collect as many stones as you can and drive to the process point", ["howitworks4"] ="Follows the process points marked on the map (A, B, C)", ["howitworks5"] ="Sells minerals in jewelry stores",--Text of the item required for this work ["require"] ="1x Pickaxe",--Svg icon appearing in job listing ["svg"] = "<svg class='jobs-mdipickaxe' width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M39.44 28.32L9.33331 58.4L5.59998 54.6667L35.68 24.56L39.44 28.32M51.3866 20.6133L52.96 19.04L50.8533 16.9333L52.56 15.2267L48.7733 11.44L47.0666 13.1467L44.96 11.04L43.3866 12.6133C38.7466 8.82665 33.52 5.78665 27.92 3.65332L25.7066 8.42665C30.3733 10.88 34.6666 13.84 38.6666 17.3333L37.3333 18.6667L45.3333 26.6667L46.6666 25.3333C50.16 29.3333 53.12 33.6267 55.5733 38.2933L60.3466 36.08C58.2133 30.48 55.1733 25.2533 51.3866 20.6133V20.6133Z' fill-opacity='0.62'/></svg>",
--If the the "Config.jobRequired" option is active ["jobName"] ="miner", ["jobGrade"] =0,--How many points you want to award each time the items are sold ["points"] =100,--If the job belongs to another script enter the trigger to start the job here: ["triggerToStart"] =nil,--If you want the action points to be randomized ["randomActionLocations"] =true },
Change all the information as needed. Next, access the bit-jobs/jobs folder, copy any job file and rename it to the name of your job.
Then, modify the data in that file as needed.
ADD JOBS OF OTHER SCRIPTS
In order to add a job from another script you will need to know the trigger that makes the call to start the job.
Once you have the trigger, create a new job following the order in line 146 of bit-jobs/config.lua, and in the final part you must add the trigger as follows: