mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* server/ScriptFactory.cpp: Simplify way the name of a class is determined by removing the hack to upercase the type name. * server/EntityFactory.cpp: Break python type name on the last . making the name of the class independant of the Atlas type. * data/basic.xml, data/buildings.xml, data/characters.xml, data/clothing.xml, data/mason.xml, data/plants.xml, data/tools.xml, data/weapons.xml, data/werewolf.xml: Modify all python type names in the classes to include the name of the class explicitly.
53 lines
1.3 KiB
XML
53 lines
1.3 KiB
XML
<atlas>
|
|
|
|
<map>
|
|
<map name="attributes">
|
|
<map name="mass">
|
|
<float name="default">0.05</float>
|
|
<string name="visibility">public</string>
|
|
</map>
|
|
</map>
|
|
<string name="id">arrow</string>
|
|
<string name="objtype">class</string>
|
|
<list name="parents">
|
|
<string>thing</string>
|
|
</list>
|
|
</map>
|
|
|
|
<map>
|
|
<map name="attributes">
|
|
<map name="ammo">
|
|
<string name="default">arrow</string>
|
|
<string name="visibility">internal</string>
|
|
</map>
|
|
<map name="mass">
|
|
<float name="default">1.5</float>
|
|
<string name="visibility">public</string>
|
|
</map>
|
|
</map>
|
|
<string name="id">bow</string>
|
|
<string name="objtype">class</string>
|
|
<list name="parents">
|
|
<string>thing</string>
|
|
</list>
|
|
<map name="script">
|
|
<string name="language">python</string>
|
|
<string name="name">world.objects.tools.Bow.Bow</string>
|
|
</map>
|
|
</map>
|
|
|
|
<map>
|
|
<map name="attributes">
|
|
<map name="mass">
|
|
<float name="default">1.5</float>
|
|
<string name="visibility">public</string>
|
|
</map>
|
|
</map>
|
|
<string name="id">sword</string>
|
|
<string name="objtype">class</string>
|
|
<list name="parents">
|
|
<string>thing</string>
|
|
</list>
|
|
</map>
|
|
|
|
</atlas>
|