 |
Crossfire Server, Trunk
1.75.0
|
object * inv
Pointer to the first object in the inventory.
void stringbuffer_append_printf(StringBuffer *sb, const char *format,...)
Append a formatted string to a string buffer instance.
object * item
Special values of the artifact.
std::vector< sstring > allowed
List of archetypes the artifact can affect.
Plugin animator file specs[Config] name
uint8_t anim_speed
Ticks between animation-frames.
object clone
An object from which to do object_copy()
void stringbuffer_append_string(StringBuffer *sb, const char *str)
Append a string to a string buffer instance.
A buffer that will be expanded as content is added to it.
sstring name
The name of the object, obviously...
uint16_t chance
Chance of the artifact to happen.
void get_ob_diff(StringBuffer *sb, const object *op, const object *op2)
Returns a pointer to a static string which contains all variables which are different in the two give...
uint8_t difficulty
Minimum map difficulty for the artifact to happen.
archetype * empty_archetype
Nice to have fast access to it.
virtual void write(const artifact *item, StringBuffer *buf)
Write the specified asset to the StringBuffer.
This is one artifact, ie one special item.