HowToAddItemsStendhal: Difference between revisions

Content deleted Content added
imported>Hendrik Brummermann
added link to setup a development environment
imported>AntumDeluge
Add GFX: add asset warning
 
(4 intermediate revisions by 3 users not shown)
Line 104:
 
= Add GFX=
 
{{AssetWarning}}
 
Now place the 32x32 sprite in the folder '''data/sprites/items/<class>/<subclass>.png'''
Line 175 ⟶ 177:
== Add to game==
===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===