Niaw Posted April 13, 2014 Share Posted April 13, 2014 I've been trying to find a list of moodle names for items but haven't found one so far. These are the ones I know of:HungerChangeBoredomChangeUnhappyChangeStressChangeThirstChange Are there any more? Is it possible to modify endurance? EDIT: I just realized that I can get these parameters by looking at the Javadoc reference for the Item class. So to answer my own question, here are a few more: FatigueChangeEnduranceChangeI wonder how the mapping works though, because if it's being done through Java's reflection mechanism, then we should be using "ThistChange" instead of "ThirstChange" due to how the method is spelled. Link to comment Share on other sites More sharing options...
RAINBOW Posted April 14, 2014 Share Posted April 14, 2014 I was interested in the moodle "Sickness". Didn't see a suitable method in the item class for it, I shall continue my trawling and report back here! Link to comment Share on other sites More sharing options...
RAINBOW Posted April 18, 2014 Share Posted April 18, 2014 Found two methods, "Moodle" and "Moodles", and even more confusing was there is two effects for sickness, "Sick" and "Sickness". Sickness is the level of Sickness numerically(Int) and "Sick" relates to the moodle state itself (The moodle "Level" such As "Light Moodle" "Average Moodle" or "Heavy Moodle"). Ultimately, The java you listed is the way to go, but only relates to items, I don't see "BoredomChange, SicknessChange, PanicChange etc etc" as inherited methods in the player class, the way I modified was from a custom trait- Here is an example of what I did:player:Stats:setBoredom(50);Altering the Moodle level, is not supported yet, (Build 23 at time of writing) Check out this thread if anyone ended up here looking for a way to alter Moodle states from the player class, not items: http://theindiestone.com/forums/index.php/topic/7855-moodlefactory-adding-moodles-not-supported-yet-april-20th/ The basic jist of it, is MoodleFactory hasn't been implemented (Yet!). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now