[crossfire] Questions about archetype files

Bob Tanner tanner at real-time.com
Mon Apr 8 11:26:53 CDT 2019


Doing some spacing for readability

Object altar_valkyrie
name Altar of Valkyrie
other_arch Valkyrie
type 56
face altarvalk.111
no_pick 1
level 100
arch altar_valkyrie_pray_event
end <— ends Object altar_valkyrie
end <— What does this end?

Object altar_valkyrie_pray_event
title Python
slaying /python/gods/altar_valkyrie.py
type 116
subtype 1
end <— ends Object altar_valkyrie_pray_event


On Apr 8, 2019, at 11:21 AM, Kevin Zheng <kevinz5000 at gmail.com<mailto:kevinz5000 at gmail.com>> wrote:

Yes. Here, there are nested objects. Every "Object" has a matching
"end", and so the first example is an "Altar of Valkyrie" containing a
Python "pray_event" that gets triggered when a player prays.



---
Bob Tanner <tanner at real-time.com<mailto:tanner at real-time.com>>           | Phone : 952-943-8700
http://www.real-time.com, Linux, macOS      | Fax   : 952-943-8500
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20190408/b2fda12c/attachment.html>


More information about the crossfire mailing list