[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:objects
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Fri Dec 1 07:51:25 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/12/01 07:51
User : ryo
Edit Summary: format
@@ -1034,13 +1034,13 @@
====== Special objects ======
- ===== MAPS =====
+ ===== Maps =====
see doc/map-technical for this information.
- ===== HOLY_ALTARS =====
+ ===== Holy altars =====
(re-done code by Mark Wedel)
Holy altars are altars for the various religions. Praying at a
holy_altar will make you a follower of that god, and if you already follow
that god, you may get some extra bonus. Meaning of the fields
@@ -1052,9 +1052,9 @@
other_arch: The god that this altar belongs to. This replaces the
title field that used to be used.
- ===== DISEASES =====
+ ===== Diseases =====
by Peter Mardahl
The following describes some things about the archetype
and implementation:
@@ -1149,17 +1149,17 @@
speed speed of movement, from DISEASE
- ===== CONVERTERS =====
+ ===== Converters =====
other_arch = which archetype to convert into
slaying = which archetype to convert from
sp = how many other_arch to create
food = how many items are needed to convert into <sp> other_arch
- ===== BOWS & ARROWS =====
+ ===== Bows & arrows =====
Missile weapons (type BOW) can be used to shoot missiles
(type ARROW). The most common wepons are bows and crossbows
but other weapons are also easy to implement (e.g. a sling).
@@ -1402,11 +1402,11 @@
+1 sword would not work, even though 2 of either one would.
Quick summary of the different altars:
- ==== TRIGGERS ====
+ ==== Triggers ====
- TRIGGERS are slightly different than normal buttons/pedestals/whatever in
+ Triggers are slightly different than normal buttons/pedestals/whatever in
that they reset after a short amount of time. Thus, they can be used to
open a door for a short amount of time. Triggers use stats.wc as
a temporary storage value to note activation.
@@ -1433,9 +1433,9 @@
were considered different types for activation. However, now they are all
the same - a button can push a trigger, and vice versa. And of course,
triggers can activate other triggers, and the same for buttons.
- ==== PEDESTALS ====
+ ==== Pedestals ====
These are sort of combo buttons & altars. If the pedestals race matches
the slaying of an object on top (race of player matches any player), then
push the connected objects. By default, pedestals match players. They
@@ -1467,9 +1467,9 @@
use the no_pass to 1, and put it in the space you want to control (probably
makes sense to put a fake door or other object there to make it a little more
obvious what is going on.)
- ==== DETECTOR ====
+ ==== Detector ====
This object samples the square its in, and if it finds an object
named in the slaying field, it toggles its connected value. Detectors are a
lot like pedestals - the only really difference is that they sample the
@@ -1491,9 +1491,9 @@
hp 1 if it is to search through an inventory of an object
sitting over it
- ==== MARKER ====
+ ==== Marker ====
This object inserts a force into a player who stands on it.
This force does nothing except contain a string in its slaying field
which can be discovered by a detector.
@@ -1506,9 +1506,9 @@
See also the 'quests' file for special values on slaying field.
- ==== NOTE ABOUT ALL CONNECTED ITEMS ====
+ ==== Note about all connected items ====
Whenever an object that is connected gets activated, all other objects
with the same connected tag also gets pushed. For some objects
(pedestals, inventory checkers) this is likely to be meaningless. However,
@@ -1532,9 +1532,9 @@
If food is zero, there is no limit on how many times the sign can be read.
- ===== POISONOUS BOOZE =====
+ ===== Poisonous booze =====
stats.hp Poison player or monster that applies this booze with stats.hp
poison damage.
stats.hp must be greater 0 to do damage. It used to be less than 0 for
@@ -1780,9 +1780,9 @@
is_buildable <1> set if items can be built on top of this O.
- ====== TREASURES (and Abilities) ======
+ ====== Treasures and abilities ======
The treasures are kept in LIBDIR/treasures. Their format is:
treasure <name>
@@ -2062,9 +2062,9 @@
7) As appropriate, update the arch files and rebuild.
- ====== PROGRAMMING NOTES ======
+ ====== Programming notes ======
This section provides some specific programming notes about objects. If
you don't actually work with the C code, there is no need to read this section.
IP-Address : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/dev:objects?rev=1164980904
New Revision: http://wiki.metalforge.net/doku.php/dev:objects
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list