• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.X+ Is there any commit that adds custom item attributes

Lopaskurwa

Well-Known Member
Joined
Oct 6, 2017
Messages
936
Solutions
2
Reaction score
57
Hello anyone know any cool new item attribute commits like for example
<attribute key="skillsword" value="5"/>
but unique ones like something like lifesteal or some sort other cool shit
 
Solution
Wish i knew how to use github that well so it would show all lifeleechchance and lifeleechamount because if you type it in search it only finds not full code, missing something
Adding new item attributes isn't too hard, especially weapon attributes. I'm 99% sure that paid AI Agent (gpt-5-codex, claude-4.5) would do it in ex. Cursor IDE for 20$/month.

Message me on Discord: gesior.pl
I can run it in my Cursor tomorrow and generate PR for your engine. Of course AI generates bugged code, but I can fix it in few minutes.

I've made onUseWeapon Lua event with 99% AI code. Documentation of code is mostly hallucination (it says that return false will block weapon usage, but it's not implemented in C++), but rest of...

just check code for lifeleechchance and lifeleechamount
Wish i knew how to use github that well so it would show all lifeleechchance and lifeleechamount because if you type it in search it only finds not full code, missing something
Post automatically merged:

and even if i knew the source difference its huge for example shows in combat.cpp i dont even have void Combat::doTargetCombat or items.cpp nothing even similar to {"lifeleechchance", ITEM_PARSE_LIFELEECHCHANCE},
 
Last edited:
Wish i knew how to use github that well so it would show all lifeleechchance and lifeleechamount because if you type it in search it only finds not full code, missing something
Adding new item attributes isn't too hard, especially weapon attributes. I'm 99% sure that paid AI Agent (gpt-5-codex, claude-4.5) would do it in ex. Cursor IDE for 20$/month.

Message me on Discord: gesior.pl
I can run it in my Cursor tomorrow and generate PR for your engine. Of course AI generates bugged code, but I can fix it in few minutes.

I've made onUseWeapon Lua event with 99% AI code. Documentation of code is mostly hallucination (it says that return false will block weapon usage, but it's not implemented in C++), but rest of code works:
 
Solution
Adding new item attributes isn't too hard, especially weapon attributes. I'm 99% sure that paid AI Agent (gpt-5-codex, claude-4.5) would do it in ex. Cursor IDE for 20$/month.

Message me on Discord: gesior.pl
I can run it in my Cursor tomorrow and generate PR for your engine. Of course AI generates bugged code, but I can fix it in few minutes.

I've made onUseWeapon Lua event with 99% AI code. Documentation of code is mostly hallucination (it says that return false will block weapon usage, but it's not implemented in C++), but rest of code works:
Didnt know AI got so good from such a short period of time. I sent you friend request because i dont have paid AI agent unfortunately
 

Similar threads

Replies
0
Views
180
Back
Top