So I feel like I've made a stupid mistake somewhere. I've added a new item to the game, a Marston Spanner. It's a wrench that not only functions as a weapon, but increases your ability to tinker items. (funny... a tool that works like a tool.) I've got the new recipe showing up in the crafting window, but the item's icon won't show. I've checked my code several times, and everything seems to be in order. Hopefully someone can point out what I'm doing wrong. Here's what I've got in my itemDB.xml: <item name="Marston Spanner" iconFile="items/mace_wrench.png" level="4" type="2" > <price amount="1280"/> <weapon crushing="6"/> <secondarybuff id="20" amount="1" /> <!-- tinkering --> <description text="Great for calibrating your devices and decalibrating your foes."/> </item> Then what I've got in my craftDB.xml: <craft> <output skill="1" name="Marston spanner" amount="1"/> <tool tag="tinkerer"/> <input name="Steel Ingot"/> <input name="Steel Ingot"/> </craft> in my gaslampgames/mods/Relics of Aresia/items folder, I have mace_wrench.png. I copied it there from the vanilla game files until I can take the time to make my own icon. Any ideas? Thanks for looking at my problems!
Sorry to doubt you, but quoting it is different from seeing it. Would you mind zipping up the mod so we can check it exactly as it is? (Even if you quote it exactly, the formatting of the forums messes with it and can be misleading.)
Sure! I would love to do that. Um... how should I get it to everyone? Can I attach it to a post? Also, I've created a couple of other items at this point, and they display properly. I don't get it. D:
Take your itemDB.xml, craftDB.xml and modDB.xml and zip them. Then just attach to the post. (The "Upload a File" part below the message area. You can save some trouble and just zip up the "Relics of Aresia" directory and all subdirectories and post that. *Edit* Ninja'ed! I will check it after my nap. Nighty night... (I should not drink...)
You guys see that? I get drunk and sleep for 12 hours and the code is fixed! I am a winner! Is there a Drunken Coder skill yet? (For those interested, I was just tired and had a few ounces of Port to help sleep. No major drunkenness or anything.)
You'll never be a drunken coder like that, then. You're amazing at fixing code. I've never seen someone put out so little effort and achieve such great results.
Now that I've got my code straight, my new art is having some problems. There's a white background behind my items. Where did my transparency go?
Fax and a few others have mentioned this problem. What program are you using for your graphics? I will try to find the threads where this transparency issue was discussed. They mentioned several programs that always fail and several that work.
http://community.gaslampgames.com/threads/idea-sharing-help-and-stuff.1767/page-3#post-20642 http://community.gaslampgames.com/t...and-some-templates-expanding.2799/#post-27873 http://community.gaslampgames.com/t...guide-updated-6-5-2012.1335/page-8#post-39318 I am sure you could find these on your own. And if you need a specific question answered, you may have better luck asking on IRC in the #gaslampgames channel where Fax and others who know basically everything lurk. I hope this helps point you in the right direction.