Project Zomboid

Project Zomboid

Traits Purchase System
354 Comments
buddyspike Oct 28 @ 9:42am 
If you place this mode at the bottom, the error will disappear.
Lyred 1996 Oct 25 @ 6:27am 
Hey nice mod. Just for those who don't know it: If the symbol for the Trait Purchase (when you hover over the heart symbol) is just Blank and gives you error messages. Then do so: disabel the "Traits Purchase" Mod - close the game - Open the game again - Enabel the Trait Purchase Mod. This helped me for my game.
Cindermoon Oct 21 @ 10:43am 
42.12.2 doesn't work
RYZN AIM Oct 17 @ 1:46pm 
42.12?
hakcenter  [author] Oct 11 @ 4:14pm 
Once things look stable I'll update the mod.
SmokeAnDrink Oct 7 @ 5:29pm 
Hey, I love your mod... It would be nice to have higher resolution since it looks choppy in other languages (self.tableWidth = 456 self.tableHeight = 456 improves it a lot). Also, in version 42.12 a perk called Crafty is added that replaces Fast Learner and vice versa, which would be nice if it didn’t happen... Other than that, good job man :D
Bleeks Sep 27 @ 9:15pm 
do you have any plans to get compatibility with 42.12? I get an error everytime I load into a game.
Frostyred Sep 24 @ 6:16am 
Just to note to whomever cares (as @eWreckt_DENTIST reported this mod being incompatible with mines) but my mod Pocket Kittens is NOT incompatible with this mod. In my heavily modded setup just shy of 400 mods, this mod works just fine alongside Pocket Kittens. If you're having issues it's most likely another mod that broke both of our mods.
eWreckt_DENTIST Sep 24 @ 4:46am 
Nvm turned out to be conflicting with the wearable kittens mod
eWreckt_DENTIST Sep 23 @ 11:06pm 
Weird for me the mod is definitely on; i am earning trait points but, next to the heart, there is no brown target symbol. When i hover over the heart, a little blank tab appears where the target symbol should be, but isn't and clicking there does nothing.
Milk ♡ Sep 19 @ 6:12am 
It seems the mod "Party System" has an error with this mod, and constantly spams errors
Voxdog Sep 8 @ 9:13am 
I love this mod. It really helps me enjoy the game and gives me a more enticing reason to kill zombies. Thanks.
hakcenter  [author] Sep 5 @ 9:09am 
Guys the second picture literally shows the crosshairs where you open the window from. Traits window is under the heart.
Zingshin Sep 3 @ 8:22am 
Does this mod still work?
NightStalkeR Aug 31 @ 2:34pm 
I get trait points properly but I can't open the trait purchase menu. Does anyone have any idea?
探星人 Aug 31 @ 10:57am 
I really enjoy the mod you've created. However, while using it in the game version b41.78, I recently encountered the following error report, which appears to be caused by accessing a non-existent object. I hope this information can be helpful to you.
John Alvar Aug 30 @ 8:00am 
How do i purchase or take out traits?
Cant find how
4vr.yung Aug 30 @ 5:25am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
El Grasón Aug 20 @ 12:41am 
HI, i found there's a persistent error with the bandits mod and this one, it says something about the kill count, is there a way to fix this? Is the error harmless or are thes two mods incompatible? I found out that loading the game first without the kill count mod and reactivating it fixes this problem temporalily, I died and started a new character and the error poped out
Charming Dazz Aug 11 @ 11:29pm 
So, after doing a little more testing, it seems to only work with base game traits. So if you buy something from toads mods, like battering ram, it will not work even know it says you have it. However, if it just adds a point, it works perfect fine.

So basically, big changes. No. Little add on +1, yes. Unless base game. upsetting
Charming Dazz Aug 11 @ 11:07pm 
Hey, when I use this on the "somewhat traits mod" and try to remove the trait "lurcher" I still end up falling when i'm low on endurance. Is there some sort of comparability issue with other mods?
kulisek01 Aug 11 @ 11:19am 
Works amazingly, danke soooo much!
Luca Aug 9 @ 1:12pm 
When i enable this addon the vertical bar on the left disappears
Charming Dazz Aug 3 @ 12:30pm 
How do I make the window for buying traits bigger? :(
seks yapan böcek Aug 3 @ 12:23am 
Errors
清浅流年 Aug 2 @ 8:42pm 
Which mods would cause errors when used with this mod?
< ガ Ny ガ > Aug 1 @ 12:58pm 
eu não uso mod de NPC , e mesmo assim Traits Purchase System não funciona
conspiracyXtremist Jul 31 @ 6:01pm 
the errors are from using this with any mod that adds an npc other than bandits. npc mod and the one where you can change between characters constantly looks for kill count but its not specified
< ガ Ny ガ > Jul 31 @ 8:50am 
eu estou passando pela mesma situação do Timou e não faço ideia de qual seria o mod que está conflitando, você pode me explicar como eu poderia fazer essa análise? obrigado
hakcenter  [author] Jul 30 @ 2:47pm 
if (windows[self.owner.chr]:getIsVisible()) then

which is impossible because windows array is created on load.

You need to disable your mods and/or remove the conflicting Traits mod. I Imagine you have the less restrictions and/or the _CN copy of my mod which is causing this.
Timou Jul 29 @ 11:41pm 
Hope this will help you to find the errors
Timou Jul 29 @ 11:40pm 
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1247)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1236)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1349)
at zombie.gameStates.IngameState.render(IngameState.java:1306)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:28)
at zombie.GameWindow.renderInternal(GameWindow.java:468)
at zombie.GameWindow.frameStep(GameWindow.java:940)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
Timou Jul 29 @ 11:40pm 
`attempted index: getIsVisible of non-table: null
function: render -- file: ISEquippedItem.lua line # 60 | MOD: Traits Purchase System
java.lang.RuntimeException: attempted index: getIsVisible of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:2005)
at zombie.ui.UIManager.render(UIManager.java:410)
Timou Jul 29 @ 11:38pm 
`function: render -- file: ISEquippedItem.lua line # 60 | MOD: Traits Purchase System
`
hakcenter  [author] Jul 29 @ 1:08pm 
Runs fine by itself in 42.10, it's another mod that's not monkey patching the UI properly
清浅流年 Jul 25 @ 6:48am 
Enabling it now will result in an error. Please fix the module.
Timou Jul 17 @ 11:21pm 
Update Please for B 42.10
A lot of errors, maybe because of them the game crashes
Mayu~ Jul 17 @ 5:46pm 
it seem this mod is imcompatible with EscapeFromKentucky42
Mayu~ Jul 17 @ 4:44pm 
Can't open trait buy window, im getting the following error

https://pastebin.com/yfwHzU3k
Lucasif Jul 15 @ 1:31pm 
Is there a way to make it not cap at 30? I had mods with traits that cost a lot more than just 30 and like having something to grind to.
Felkami Jul 13 @ 6:30am 
A long time ago I built something like this that gave trait points for time survived. I had it set to like, 1 trait point per week. Would you be able to add that kind of functionality to this?

If I remember correctly, the math I used was ( [days survived] / [trait gain rate] ) - [points spent]
yoyo Jul 11 @ 10:21am 
我升级技能的图标消失了
The icon for me to upgrade my skills has disappeared.
for some reason after a few kills xp reduces to 0.20 instead of 1.00 per kill
Omega_Wolf Jul 5 @ 1:34pm 
honestly one of the better "level up" style mods out there, especially after finding out that picking a perk that gives u levels, will still give u those levels upon buying it. so, so nice
Adi Jun 24 @ 3:42pm 
There seems to be a bug related to the Superb Survivors mod. I _think_ what's happening is that the survivors count as a player, and so trigger the player update function, but they aren't triggering OnPlayerCreate for some reason. This ends up causing errors to build up every time the survivors get updated by the game, since they never have their zombie kills variable set up
Adi Jun 20 @ 7:00pm 
I've noticed a small issue for Linux users of the mod.

the path for translations is incorrectly capitalized, resulting in no translations for the mod being found. Capitalizing it properly fixes the issue

Current capitalization: mods/TraitsPurchaseSystem/media/lua/shared/translate
Correct capitalization: mods/TraitsPurchaseSystem/media/lua/shared/Translate
Cindermoon May 30 @ 11:12pm 
The mod is partially incompatible with Gyde's Trait Magazines.
When reading a magazine from the mod that removes or modifies traits, the trait remains in the 'Selected Traits' menu.
Мод частично несовместим с Gyde's Trait Magazines
При прочтении журнала из мода, Который удаляет\изменяет перки, он так же остаётся в меню "выбранные перки
AlcatoN May 30 @ 4:22pm 
@joyboy you get (x) amount of XP towards your next trait point level every time you level up in another skill (ie: Carpentry, First Aid, Short Blunt, Fitness, ect.) and this goes for all types. So if you set the XP per perk level at 10, every time one of your skills levels up you get 10 XP for your next trait point level. (Trait points leveling up do not give 10 XP towards the next Trait point level btw)
[KUN]喜欢吃皮蛋拌粉 May 29 @ 7:08am 
@RayPlayST 看我新视频
joyboy May 28 @ 2:12pm 
wdym by "xp per perk level" ?