Battery System
Last updated
Last updated
This system is completely different from the previous version.
This system is completely different from the previous version. As in the lite version, Quasar Smartphone PRO also has an incredible battery system, this time much more advanced than in its previous version. In this version we will use metadata instead of a json file so that it is more accurate and dynamic when used.
This system will interact with our dynamic island when it reaches 20% and 10%.
The battery has a very simple configuration where we can enable the interval system, which we do not recommend touching. You can use the default consumption by changing the default option and add applications that will consume more or less according to your personal criteria. If you create custom applications you can add them to this list.
You can use the powerbank item that we created in the Installation section, this item can be used and will allow us to choose which phone we want to recharge if we have more than one. It will start charging your phone up to 100%.
You can charge the phone using the charger spots that you will find on your map, these are found in the same config.lua in the Config.ChargeCoords configuration. You can create infinite charging spots for players, where their phone will be taken away and the level of charge their phone contains will be shown until it reaches 100%.
We can use the administrative command which will charge the player's battery to 100% using /chargePhone id.