Well, maybe we know about item_noequip.txt schema, but for now (on rAthena, eAthena, 3CeAM based) it’s still using restricted zone to place ‘where player can’t use this item?’ How if you want to decide only for a map, must you enter that map to restricted zone? Of course you have to.
This source modification of mapflag, allow you to make specified map disable player from consume any usable items. Example
pvp_y_1-5 mapflag noconsume
It makes every player at pvp_y_1-5 map can’t consume all usable item, except you decide on custom battle config
// [Cydh] // noconsume is mapflag, you can check it in mapflag\noconsume.txt // mapflag format [mapname]<tab>mapflag<tab>noconsume // This mode will disable player to consume any usable item in the map that has noconsume mapflag // except player with Group Level above noconsume_belowgrouplv noconsume_belowgrouplv: 1
And now, this is show time. 😀
Download MF_NOCONSUME – Disable player to consume items at this mapflag – Free Code!
Download MF_NOCONSUME .patch file for eAthena
Download MF_NOCONSUME .patch file for 3CeAM
*Above are Mediafire links*