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

TFS 1.X+ My source dont have preventDrop attribute

Stanos

Veteran OT User
Joined
Jun 12, 2018
Messages
615
Solutions
5
Reaction score
351
Location
Europe
How to add to my server preventDrop attribute for items.xml? Cant find any, any information about it.
 
How to add to my server preventDrop attribute for items.xml? Cant find any, any information about it.
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++.
 
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.
 
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.
I want to use it in tfs 1.2. I dont know in which version this attribute exist thats why am asking here.
 
@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?
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.
 
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.
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?
 
Back
Top