I'm working on a 8.54 Open Tibia Server using The Forgotten Server - Version 0.2.7 (Mystic Spirit).
I want to make certain outfits only accessible by quests and other outfits vocation related.
Server\data\XML\Outfits.xml
So what i would like to fix is make every outfit related to a certain player storage which I can handout at the creating of a character (related to the vocation) or after doing certain missions.
I've tried adding things like -> quest="77109" <- etc but it doesn't seem to work. Maybe some of you got any ideas of things that might work. If its c++ related, I fear it wont be in my powers yet but I'm willing to learn.
Thanks in advance.
I want to make certain outfits only accessible by quests and other outfits vocation related.
Server\data\XML\Outfits.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<outfits>
<!-- Female outfits -->
<outfit type="0" looktype="136" enabled="1" name="Citizen" premium="0"/>
<outfit type="0" looktype="137" enabled="1" name="Archer" premium="0"/>
<outfit type="0" looktype="138" enabled="1" name="Mage" premium="0"/>
<outfit type="0" looktype="139" enabled="1" name="Knight" premium="0"/>
<outfit type="0" looktype="140" enabled="1" name="Noblewoman" premium="1"/>
<outfit type="0" looktype="141" enabled="1" name="Summoner" premium="1"/>
<outfit type="0" looktype="142" enabled="1" name="Warrior" premium="1"/>
<outfit type="0" looktype="147" enabled="1" name="Barbarian" premium="1"/>
<outfit type="0" looktype="148" enabled="1" name="Druid" premium="1"/>
<outfit type="0" looktype="149" enabled="1" name="Wizard" premium="1"/>
<outfit type="0" looktype="150" enabled="1" name="Oriental" premium="1"/>
<outfit type="0" looktype="155" enabled="1" name="Pirate" premium="1"/>
<outfit type="0" looktype="156" enabled="1" name="Assassin" premium="1"/>
<outfit type="0" looktype="157" enabled="1" name="Beggar" premium="1"/>
<outfit type="0" looktype="158" enabled="1" name="Shaman" premium="1"/>
<outfit type="0" looktype="252" enabled="1" name="Norsewoman" premium="1"/>
<outfit type="0" looktype="269" enabled="1" name="Nightmare" premium="1"/>
<outfit type="0" looktype="270" enabled="1" name="Jester" premium="1"/>
<outfit type="0" looktype="279" enabled="1" name="Brotherhood" premium="1"/>
<outfit type="0" looktype="288" enabled="1" name="Demonhunter" premium="1"/>
<outfit type="0" looktype="324" enabled="1" name="Yalaharian" premium="1"/>
<outfit type="0" looktype="329" enabled="1" name="Wedding" premium="1"/>
<!-- Male outfits -->
<outfit type="1" looktype="128" enabled="1" name="Citizen" premium="0"/>
<outfit type="1" looktype="129" enabled="1" name="Archer" premium="0"/>
<outfit type="1" looktype="130" enabled="1" name="Mage" premium="0"/>
<outfit type="1" looktype="131" enabled="1" name="Knight" premium="0"/>
<outfit type="1" looktype="132" enabled="1" name="Nobleman" premium="1"/>
<outfit type="1" looktype="133" enabled="1" name="Summoner" premium="1"/>
<outfit type="1" looktype="134" enabled="1" name="Warrior" premium="1"/>
<outfit type="1" looktype="143" enabled="1" name="Barbarian" premium="1"/>
<outfit type="1" looktype="144" enabled="1" name="Druid" premium="1"/>
<outfit type="1" looktype="145" enabled="1" name="Wizard" premium="1"/>
<outfit type="1" looktype="146" enabled="1" name="Oriental" premium="1"/>
<outfit type="1" looktype="151" enabled="1" name="Pirate" premium="1"/>
<outfit type="1" looktype="152" enabled="1" name="Assassin" premium="1"/>
<outfit type="1" looktype="153" enabled="1" name="Beggar" premium="1"/>
<outfit type="1" looktype="154" enabled="1" name="Shaman" premium="1"/>
<outfit type="1" looktype="251" enabled="1" name="Norseman" premium="1"/>
<outfit type="1" looktype="268" enabled="1" name="Nightmare" premium="1"/>
<outfit type="1" looktype="273" enabled="1" name="Jester" premium="1"/>
<outfit type="1" looktype="278" enabled="1" name="Brotherhood" premium="1"/>
<outfit type="1" looktype="289" enabled="1" name="Demonhunter" premium="1"/>
<outfit type="1" looktype="325" enabled="1" name="Yalaharian" premium="1"/>
<outfit type="1" looktype="328" enabled="1" name="Wedding" premium="1"/>
<!-- Archdemon -->
<outfit type="2" looktype="12" enabled="1" name="Archdemon" premium="1"/>
<!-- Elf outfits -->
<outfit type="2" looktype="159" enabled="1" name="Elf" premium="1"/>
<!-- Dwarf outfits -->
<outfit type="2" looktype="160" enabled="1" name="Dwarf" premium="1"/>
<!-- Frog outfits -->
<outfit type="2" looktype="226" enabled="1" name="Frog" premium="1"/>
<!-- Cult -->
<outfit type="2" looktype="194" enabled="1" name="Cult" premium="1"/>
<!-- Barbarians -->
<outfit type="2" looktype="253" enabled="1" name="Headsplitter" premium="1"/>
<outfit type="2" looktype="254" enabled="1" name="Skullhunter" premium="1"/>
<outfit type="2" looktype="255" enabled="1" name="Bloodwalker" premium="1"/>
<outfit type="2" looktype="264" enabled="1" name="Brutetamer" premium="1"/>
</outfits>
So what i would like to fix is make every outfit related to a certain player storage which I can handout at the creating of a character (related to the vocation) or after doing certain missions.
I've tried adding things like -> quest="77109" <- etc but it doesn't seem to work. Maybe some of you got any ideas of things that might work. If its c++ related, I fear it wont be in my powers yet but I'm willing to learn.
Thanks in advance.