cyphesis/data/basic.xml
Al Riddoch 351058f34c 2008-09-13 Al Riddoch <alriddoch@googlemail.com>
* data/basic.xml, data/characters.xml, data/mason.xml: Add tick
	  properties to a bunch of entity classes so they no longer need
	  a setup operation to get them going.

	* rulesets/mason/world/objects/Weather.py,
	  rulesets/mason/world/objects/elements/Fire.py,
	  rulesets/mason/world/objects/plants/seeds/Apple.py: Remove setup
	  handlers from a bunch of scripts as it is now handled by
	  properties.

	* data/buildings.xml: Add setup property to entity classes which
	  really need a setup op at startup.

	* client/BaseClient.cpp: Send a look when creating the avatar, so
	  that notifications get back without the need for a special case.

	* common/op_switch.h, rulesets/Creator.cpp, rulesets/Entity.cpp,
	  rulesets/Entity.h, server/WorldRouter.cpp:
	  Remove the setup operation sent to all entities on startup by
	  default. Get rid of some special cases that depended on it.

	* rulesets/InternalProperties.cpp, rulesets/InternalProperties.h:
	  Make the tick property schedule the operation on apply(), and
	  use the property value as the time to schedule it.
2008-09-13 18:02:08 +00:00

139 lines
3.5 KiB
XML

<atlas>
<map>
<map name="attributes">
<map name="solid">
<int name="default">0</int>
<string name="visibility">public</string>
</map>
</map>
<string name="id">area</string>
<string name="objtype">class</string>
<list name="parents">
<string>feature</string>
</list>
</map>
<map>
<map name="attributes">
<map name="bbox">
<list name="default">
<float>-0.25</float>
<float>-0.25</float>
<float>-0.25</float>
<float>0.25</float>
<float>0.25</float>
<float>0.25</float>
</list>
<string name="visibility">public</string>
</map>
<map name="mass">
<float name="default">50</float>
<string name="visibility">public</string>
</map>
</map>
<string name="id">boulder</string>
<string name="objtype">class</string>
<list name="parents">
<string>thing</string>
</list>
</map>
<map>
<map name="attributes">
<map name="mass">
<float name="default">0.01</float>
<string name="visibility">public</string>
</map>
<map name="material">
<string name="default">gold</string>
<string name="visibility">public</string>
</map>
</map>
<string name="id">coin</string>
<string name="objtype">class</string>
<list name="parents">
<string>stackable</string>
</list>
</map>
<map>
<map name="attributes">
</map>
<string name="id">feature</string>
<string name="objtype">class</string>
<list name="parents">
<string>thing</string>
</list>
</map>
<map>
<map name="attributes">
<map name="bbox">
<list name="default">
<float>-0.25</float>
<float>-0.25</float>
<float>0</float>
<float>0.25</float>
<float>0.25</float>
<float>0.5</float>
</list>
<string name="visibility">public</string>
</map>
<map name="status">
<float name="default">1.0</float>
<string name="visibility">public</string>
</map>
<map name="tick">
<float name="default">0</float>
<string name="visibility">public</string>
</map>
</map>
<string name="id">fire</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.elements.Fire.Fire</string>
</map>
</map>
<map>
<map name="attributes">
<map name="bbox">
<list name="default">
<float>-0.25</float>
<float>-0.25</float>
<float>0</float>
<float>0.25</float>
<float>0.25</float>
<float>0.5</float>
</list>
<string name="visibility">public</string>
</map>
<map name="constituants">
<map name="default">
</map>
<string name="visibility">public</string>
</map>
<map name="mass">
<float name="default">50</float>
<string name="visibility">public</string>
</map>
<map name="operations">
<list name="default">
<string>disperse</string>
</list>
<string name="visibility">public</string>
</map>
</map>
<string name="id">pile</string>
<string name="objtype">class</string>
<list name="parents">
<string>thing</string>
</list>
</map>
</atlas>