When I was on TFS, could just specify my script in the weapons.xml like
On otservbr however, there is no longer a weapons.xml, just a lua with all the unscripted weapons. If possible, I'd like to attach the same script to many different weapons like I could do before. Is this possible?
I've checked the scripts under weapons/scripts and tried to replicate them with melee weapons but were unsuccessful. And even if I did succeed, the scripts there have an item ID attached to them which makes is hard/tedious to use the same script for many different weapons.
XML:
<melee id="7424" level="30" unproperly="1" script="whatever.lua"/>
On otservbr however, there is no longer a weapons.xml, just a lua with all the unscripted weapons. If possible, I'd like to attach the same script to many different weapons like I could do before. Is this possible?
I've checked the scripts under weapons/scripts and tried to replicate them with melee weapons but were unsuccessful. And even if I did succeed, the scripts there have an item ID attached to them which makes is hard/tedious to use the same script for many different weapons.
GitHub - opentibiabr/otservbr-global: OTServBR-Global datapack was migrated to Canary repository: https://github.com/opentibiabr/canary
OTServBR-Global datapack was migrated to Canary repository: https://github.com/opentibiabr/canary - opentibiabr/otservbr-global
github.com