HowToAddItemsStendhal: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann added link to setup a development environment |
imported>AntumDeluge →Add GFX: add asset warning |
||
| (One intermediate revision by one other user not shown) | |||
| Line 104: | Line 104: | ||
= Add GFX= |
= Add GFX= |
||
{{AssetWarning}} |
|||
Now place the 32x32 sprite in the folder '''data/sprites/items/<class>/<subclass>.png''' |
Now place the 32x32 sprite in the folder '''data/sprites/items/<class>/<subclass>.png''' |
||
| Line 175: | Line 177: | ||
== Add to game== |
== Add to game== |
||
===Dropped by creature=== |
===Dropped by creature=== |
||
You can have a creature drop your newly made item. This is done by editing that creature in its XML file, found in the file location [http://arianne.cvs.sourceforge.net/viewvc/arianne/data/conf/creatures?view=markup projects/stendhal/data/conf/creatures]. Every creature in the game is located in this folder, categorized by creature type. For example, rats can be found in the file [http://arianne.cvs.sourceforge.net/viewvc/arianne/data/conf/creatures/animal.xml?view=markup projects/stendhal/data/conf/creatures/animal.xml]. |
|||
Creatures can drop items, see [[HowToAddCreaturesStendhal]]. |
|||
===Add to map or grower=== |
===Add to map or grower=== |
||