Atlas Operations

From WorldForgeWiki
Jump to: navigation, search

root_operation

Base operation for all operators

This is base operation for all other

   operations and defines basic attributes. You can use this as
   starting point for browsing whole operation hiearchy. refno refers
   to operation this is reply for. In examples all attributes that
   are just as examples (and thus world specific) are started with 'e_'.
  • objtype: op_definition
  • parent: root
  • members:
<int name="serialno">0</int>
<int name="refno">0</int>
<string name="from">
</string>
<string name="to">
</string>
<float name="seconds">0.0</float>
<float name="future_seconds">0.0</float>
<string name="time_string">
</string>
<list name="args">
</list>


action

This is base operator for operations that might have effects.

  • parent: root_operation
  • members:


create

Create new things from nothing using this operator.

Map editor is main user for this in client side. Server uses this inside "info" operation to tell client about new things.

  • parent: action
  • members:
<string name="args_description">entity describing object that is being created</string>


combine

Combine existing objects into new objects.

This is how normal characters create objects.

  • parent: create
  • specification: atlas_game
  • members:
<string name="args_description">first argument is entity describing object that is being created and rest argument(s) are entities that are used as raw material.</string>


communicate

Base operator for all kind of communication.

  • parent: create
  • specification: atlas_game
  • members:
<string name="args_description">communication entity</string>


talk

used for talking

need to relook at that 'Magic voice that steps on something crunchy and makes magic voice which...' -IRC log

  • parent: communicate
  • members:
<string name="args_description">sentence(s) entity</string>


divide

Divide existing object into pieces.

One of the pieces might be original object modified.

  • parent: create
  • specification: atlas_game
  • members:
<string name="args_description">id of original object and entities describing pieces.</string>


delete

Delete something.

  • parent: action
  • members:
<string name="args_description">id of entity to be deleted</string>


get

Generic operation for getting info about things.

  • parent: action
  • members:
<string name="args_description">id of target entity</string>


login

Operation for logging into server

For more about <a href="login.html">out of game atlas here</a>

  • parent: get
  • members:
<string name="args_description">entity with player name and password attribute</string>


logout

Operation for logging out

  • parent: login
  • members:
<string name="args_description">entity with player name</string>


perceive

Generic base operation for perceiving things by eyes, ears, etc...

  • parent: get
  • specification: atlas_game
  • members:
<string name="args_description">object to be perceived</string>


listen

Listen (something)

  • parent: perceive
  • members:
<string name="args_description">target entity</string>


look

Looking at something

  • parent: perceive
  • members:
<string name="args_description">target entity</string>


sniff

Sniff something

  • parent: perceive
  • members:
<string name="args_description">target entity</string>


touch

Touch something

  • parent: perceive
  • members:
<string name="args_description">target entity</string>


imaginary

When something is not yet implemented in server, then character can pretend to do something ;-)

  • parent: action
  • members:
<string name="args_description">event that is supposed to happen</string>


set

Sets attributes for existing entity.

  • parent: action
  • members:


affect

  • parent: set
  • members:


move

Change position

More about <a href="move.html">movement here</a>

  • parent: set
  • specification: atlas_game
  • members:
<string name="args_description">entity with id and new position</string>


wield

Attach a tool to the character entity at a pre-defined location so that the character can use it.

  • parent: set
  • members:
<string name="args_description">Tool or item to be wielded</string>


use

Use a currently wielded tool.

  • parent: action
  • members:
<string name="args_description">Target tool is used on, or operation chosen from those available for this tool, with target given as its argument.</string>


info

This is base operator for operations that tell you info about objects or events.

  • parent: root_operation
  • members:


error

Something went wrong

  • parent: info
  • members:
<string name="args_description">objects describing what went wrong<br>
First argument is error entity which describes error.
Second argument is operation which is wrong (not given if not relevant).</string>


perception

Character perceives something.

Base operator for all kind of perceptions

  • parent: info
  • specification: atlas_game
  • members:
<string name="args_description">perceived thing</string>


feel

Character feels something (with fingers usually)

  • parent: perception
  • members:
<string name="args_description">thing character touches</string>


sight

Character sees something

  • parent: perception
  • members:
<string name="args_description">object or event character sees</string>


appearance

Character sees something appearing: it literally appears or has it come in visible range

  • parent: sight
  • members:
<string name="args_description">object or event character sees</string>


disappearance

Character sees something disappearing: it literally disappears or has it gone too far to be visible

  • parent: sight
  • members:
<string name="args_description">object or event character sees</string>


smell

Character smells something

  • parent: perception
  • members:
<string name="args_description">thing character smells</string>


sound

Character hears something

  • parent: perception
  • members:
<string name="args_description">thing character heard</string>