mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
correct the prototype parent keyword in the examples
This commit is contained in:
parent
febe08c885
commit
ee07b68361
@ -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…
x
Reference in New Issue
Block a user