jinoz Posted August 17, 2017 Share Posted August 17, 2017 I've been playing around with items.txt and newitems.txt for quite awhile (found in \media\scripts ), but I don't seem to find some things, so I'm wondering what file(s) contains the following: - Barricade health - Wooden / Metal Door details (multistagbuild.txt contains walls and windows details, but not doors) - Time it takes to complete an action (eat - build - destroy - etc.) - Trait details Any help is appreciated, thanks in advance Link to comment Share on other sites More sharing options...
Svarog Posted August 18, 2017 Share Posted August 18, 2017 41 minutes ago, jinoz said: I've been playing around with items.txt and newitems.txt for quite awhile (found in \media\scripts ), but I don't seem to find some things, so I'm wondering what file(s) contains the following: - Barricade health - Wooden / Metal Door details (multistagbuild.txt contains walls and windows details, but not doors) - Time it takes to complete an action (eat - build - destroy - etc.) - Trait details Any help is appreciated, thanks in advance Barricade health, doors, windows, I believe are mostly on java. The health I think can be altered with lua code. Though there are mods that alter that, never used them though and never even looked into this myself so I'm guessing. Time it takes to complete actions, look at media/lua/client/TimedActions stuff, I think it's there. When it comes to traits themselves, they're are divided. The code for the traits/professions (Name, icon, how many points they cost, what skill boosts they give etc. basically what you see at trait selection screen) is in media/lua/shared/MainCreationMethods.lua The effects they have beyond that I believe is split between java and lua. Some trait effects are tied to lua code some are hardcoded in java. jinoz 1 Link to comment Share on other sites More sharing options...
jinoz Posted August 18, 2017 Author Share Posted August 18, 2017 Thanks for the info Link to comment Share on other sites More sharing options...
Svarog Posted August 18, 2017 Share Posted August 18, 2017 Just now, jinoz said: Thanks for the info No problem. PM me if you need some help with the basics, always happy to help if I can. Link to comment Share on other sites More sharing options...
GoatLover Posted October 1, 2017 Share Posted October 1, 2017 I haven't found any way to alter barricade health without accessing the .class java files, and those can't be recompiled. Can any lua file do this? 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