Player Initial Level 0

Hi Guys,


In a previous post I asked if anyone knew a way to have an item consume a level with a simple script. For anyone wondering how I managed to do it with a simple Common event I simple set up a small script:


$gameVariables[2] = this.actorId;


and then used the "Change Level" command to decrease Variable 2 by 1 level. So basically whichever actor you use the item on will be setup as the Actor Id in variable 2.

The only thing I need now is for someone to point out which Javascript file and where abouts the code is for setting The minimum/initial level for my actors. As i'm using items that consume levels (which I have renamed to Skill Points or SP's), I'd like to have the ability to lower levels right down to 0... Failing that just cheap and have the level display as -1 of it's actual number... for example my character level is actually 20 but will show as 19.


While we are at it, i'd also like to setup a condition whereby if the actor is unable to use the item, it just sounds the buzzer instead.


Any help on this matter would really help me out!
I have a very easy solution. I will upload a video tutorial here shortly.


Link: 
Thanks for that DOTCreeper,


Sadly that's not what I'm looking for. I have messed around with the code and have managed to set levels to 0 (zero) however it removes all the stats from the character as demonstrated in the video.


After searching the web for a bit I found Yanfly's Job Points Script, which can kind of do what I need, except I've got the same problem. I can make skills cost Job points but cannot make item use cost job points. Which a bit of a poo, but i'm sure i'll figure it out. When I do, i'll post the solution here so that it can help someone else with the same issue.


To be fair I could set up a "Sphere Grid" Final Fantasy X style, but I feel that is too much of a copy... however I could make it do what I need it to do :/

Original thread: https://forums.rpgmakerweb.com/threads/player-initial-level-0.55524/