I've worked around item xml content (balance and correct at will):
<item name="orc_sword">
<type class="sword" subclass="orc_sword"/>
<description>You see an orc sword which has a heavy and deadly appearance.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<atk value="14"/>
</attributes>
<weight value="4"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="golden_orc_sword">
<type class="sword" subclass="golden_orc_sword"/>
<description>You see a golden orc sword, with its heavy and deadly appearance it seems also valuable.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<atk value="17"/>
</attributes>
<weight value="4"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
PD: I'm also wondering if semitransparent images with alpha channel will work ok on stendhal and show correctly, letting you see the floor throught them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You perhaps would like to come around IRC irc.freenode.net #arianne
About semitransparent images, yes, they should work but on my previous tries they slow down client, so by now we prefer 01 approach, or it is fully visible or it is fully transparent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i've been drawing recently and i have some images which could be used as items:
http://profile.imageshack.us/user/barbanegra
I've worked around item xml content (balance and correct at will):
<item name="orc_sword">
<type class="sword" subclass="orc_sword"/>
<description>You see an orc sword which has a heavy and deadly appearance.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<atk value="14"/>
</attributes>
<weight value="4"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="golden_orc_sword">
<type class="sword" subclass="golden_orc_sword"/>
<description>You see a golden orc sword, with its heavy and deadly appearance it seems also valuable.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<atk value="17"/>
</attributes>
<weight value="4"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="egg">
<type class="food" subclass="egg"/>
<implementation class-name="games.stendhal.server.entity.item.Food"/>
<attributes>
<quantity value="1"/>
<amount value="30"/>
<regen value="1"/>
<frequency value="20"/>
</attributes>
<weight value="0.5"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="golden_egg">
<type class="resource" subclass="golden_egg"/>
<description>You see a valuable golden egg.</description>
<implementation class-name="games.stendhal.server.entity.item.StackableItem"/>
<attributes>
<quantity value="1"/>
</attributes>
<weight value="1"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="closed_envelope">
<type class="misc" subclass="closed_envelope"/>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<weight value="0.01"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="opened_envelope">
<type class="misc" subclass="opened_envelope"/>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<weight value="0.01"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="sealed_envelope">
<type class="misc" subclass="sealed_envelope"/>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<weight value="0.01"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
<item name="unsealed_envelope">
<type class="misc" subclass="unsealed_envelope"/>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<weight value="0.01"/>
<equipable>
<slot name="lhand"/>
<slot name="rhand"/>
<slot name="bag"/>
</equipable>
</item>
PD: I'm also wondering if semitransparent images with alpha channel will work ok on stendhal and show correctly, letting you see the floor throught them.
Good! :)
I add them to our server.
Thanks a lot.
You perhaps would like to come around IRC irc.freenode.net #arianne
About semitransparent images, yes, they should work but on my previous tries they slow down client, so by now we prefer 01 approach, or it is fully visible or it is fully transparent.