• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Reward [Box] System 100% working on tfs 1.0

Mikii

Active Member
Joined
Mar 28, 2013
Messages
197
Reaction score
46
Hello friends, I am sharing with you a system of reward box, with fixed ActionID. It only remains to adapt the loots of the box not fall on the floor if the user does not have enough left slot .... Currently only check cap .. If someone wants to Contribute will be welcome.

Sorry my english.



Inportant: No use for only Backpack Quest... Need item inside. Or adpt function CheckStorageItemId for only backpacks too.


Example of use:

action.xml
Code:
<!-- Quests -->
    <action actionid="2000" script="quests/advanced_quest_system.lua"/> <!--box quests -->
    <action actionid="2001" script="quests/advanced_quest_system.lua"/> <!--corpse quests -->

MoveToResouces
 

Attachments

  • advanced_quest_system.lua.txt
    7.9 KB · Views: 330 · VirusTotal
Back
Top