You could use a previous distribution of tfs such as 0.4 and adapt the c++ code to that of 1.2, this requires some knowledge of C++.How to add to my server preventDrop attribute for items.xml? Cant find any, any information about it.
I want to use it in tfs 1.2. I dont know in which version this attribute exist thats why am asking here.You can give more information about 'preventDrop' attribute so that people can assist you.
Please post which version you want to use and in which version this attribute existed.
preventDrop = Amulet of loss@Stanos, what @Slavi Dodo is asking is: what does it do? Like, if you die you cannot drop this item if equipped? What happens if it's inside the backpack? You cannot move it to the ground or trade it? Explain what this attribute should do.
So i dont need to use preventdrop?It's now done by Lua.
otland/forgottenserver
If you want to add other items, you can just modify the first if (that checks if you have an amulet and if this amulet id is the same as AOL) ..
This script checks if you are wearing amulet of loss and the blesses.So i dont need to use preventdrop?
So as i understand this script works by checking item slot if u put something to amulet slot it will work as blessing right? So how to modife this script to check not a slot but item id?This script checks if you are wearing amulet of loss and the blesses.
You don't need the attribute preventdrop, but if you want to make another item works like amulet of loss, you'll need to edit this script.