fwolfe / professionframework Goto Github PK
View Code? Open in Web Editor NEWProfession Framework mod for Project Zomboid
Profession Framework mod for Project Zomboid
Hey all, this other workshop mod apparently fixes a bug that your original still has, not sure why it hasn't been brought up as an issue here before. I'm not the patch author just hopefully bringing it to your attention. Mods are using one of the other, causing issues.
https://steamcommunity.com/workshop/filedetails/?id=2216760107
For example, I added a profession:
ProfessionFramework.addProfession('evacuated', {
name = "Evacuated",
icon = "profession_evacuated",
cost = -4,
xp = {
[Perks.SmallBlunt] = 2,
[Perks.Blunt] = 1,
[Perks.SmallBlade] = 1,
[Perks.Maintenance] = 2,
[Perks.Cooking] = 1,
[Perks.Farming] = 2,
[Perks.Mechanics] = 1,
[Perks.Electricity] = 2,
[Perks.MetalWelding] = 2,
[Perks.Woodwork] = 2,
},
traits = {},
clothing = {
Tshirt = {"Base.Tshirt_Profession_RangerBrown", "Base.Tshirt_Profession_RangerGreen"},
Pants = {"Base.Trousers_Ranger"},
Back = {"Base.Bag_Satchel"},
LeftWrist = {"Base.WristWatch_Left_ClassicBlack", "Base.WristWatch_Left_ClassicBrown"},
},
inventory = {
["Base.Hammer"] = 1,
["Base.Pencil"] = 1,
["Base.TinnedBeans"] = 2,
["Base.WaterBottleFull"] = 1,
},
})
In the code, I added clothes that the player can choose when creating a character. Can I somehow remove the clothes that the game offers initially?
Hey mate!
First off this is a great mod. Unfortunately it causes an issue in my new mod.
Whenever I select a preset of traits and profession in the character editor the game freezes.
But nothing worked :(
Is this a known issue and can you tell me how to solve it?
If you want to take a look I have added the releavant files to this issue ticket.
If you want to take a look at the complete mod here is the workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=2919436296
\examples\default_professions.lua
Fisherman icon not defined, cost is declared twice. Line 136
When you hover over vanilla professions it shows a description for the profession. Is it possible to emulate this? I can't find the original (vanilla) descriptions in any lua. So I am not understanding it.
examples\default_traits.lua
Line 206: missing ',' between items of exclude statement causes java exception if using file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.