• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Remove the gem script problem

yunfan

Emulation Addict
As the title says

What should I do to make the game already inlaid gems can be removed on the backpack

If you know, please tell me,

thank you

I mean, a gem has been embedded in the items.

I need to remove this gem, and this gem will be returned to my backpack.

Please help!
 
Last edited:

Tok124

Respected Member
Do you mean to make it so when you remove the gem it should go back in to invetory instead of being destroyed?
 

yunfan

Emulation Addict
Do you mean to make it so when you remove the gem it should go back in to invetory instead of being destroyed?

yes,yes

- - - Updated - - -

Do you mean to make it so when you remove the gem it should go back in to invetory instead of being destroyed?

After removal, it needs to be returned to the backpack, not directly deleted
 

Tok124

Respected Member
I cannot find the function to delete the gem but take a look in
src/server/game/entities/item.cpp

There is some info about gems there so i guess it should be there. But im not 100% sure
 
Last edited:
Top