mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #1863 from frnknstn/master
correct the prototype parent keyword in the examples
This commit is contained in:
commit
adfaa9b071
1 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ Each prototype should be a dictionary. Use the same name as the
|
|||
variable to refer to other prototypes.
|
||||
|
||||
Possible keywords are:
|
||||
prototype - string pointing to parent prototype of this structure.
|
||||
prototype_parent - string pointing to parent prototype of this structure.
|
||||
key - string, the main object identifier.
|
||||
typeclass - string, if not set, will use `settings.BASE_OBJECT_TYPECLASS`.
|
||||
location - this should be a valid object or #dbref.
|
||||
|
|
@ -47,13 +47,13 @@ See the `@spawn` command and `evennia.utils.spawner` for more info.
|
|||
# }
|
||||
#
|
||||
# GOBLIN_WIZARD = {
|
||||
# "prototype": "GOBLIN",
|
||||
# "prototype_parent": "GOBLIN",
|
||||
# "key": "goblin wizard",
|
||||
# "spells": ["fire ball", "lighting bolt"]
|
||||
# }
|
||||
#
|
||||
# GOBLIN_ARCHER = {
|
||||
# "prototype": "GOBLIN",
|
||||
# "prototype_parent": "GOBLIN",
|
||||
# "key": "goblin archer",
|
||||
# "attacks": ["short bow"]
|
||||
#}
|
||||
|
|
@ -69,5 +69,5 @@ See the `@spawn` command and `evennia.utils.spawner` for more info.
|
|||
#
|
||||
# GOBLIN_ARCHWIZARD = {
|
||||
# "key": "goblin archwizard",
|
||||
# "prototype" : ("GOBLIN_WIZARD", "ARCHWIZARD_MIXIN")
|
||||
# "prototype_parent" : ("GOBLIN_WIZARD", "ARCHWIZARD_MIXIN")
|
||||
#}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue