• 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!

[KEYS]Key Description

  • Thread starter Thread starter 53701688
  • Start date Start date
5

53701688

Guest
Dear otlanders,

My name is Jeffry, But who care's

I have an request for key description like we all know in real tibia a key with You see a silver key (key:4000) << EXAMPLE

My request is when i have added in the door action id = 2000 and on the key action id = 2000 then the description on the key doesnt show (key:2000).

Like that im using (Avesta 0.6.3).

so maybe u can help me with it

and if i need to post some script to solve the problem i love to <3

King Regards,

Jeffry
 
You can go into the source items.cpp and just find where the key is and remove that bit. Otherwise to override you'd need to create an onLook and make the return just the itemName.
 
yes nice solution knight god and thx for it but the 7.6 tfs server isnt stable that's why i dont use it if it was stable as my distro is then i will use it...

but please bump some solutions to fix it for avesta...


greetzzz jeffry,
 
Code:
bool isKey() const {return (group == ITEM_GROUP_KEY);}

to

Code:
bool isKey() const {return (type == ITEM_TYPE_KEY);}
 
Back
Top