correct the prototype parent keyword in the examples

This commit is contained in:
Peter Finlayson 2019-07-07 16:28:40 +02:00
parent febe08c885
commit ee07b68361

View file

@ -18,7 +18,7 @@ Each prototype should be a dictionary. Use the same name as the
variable to refer to other prototypes. variable to refer to other prototypes.
Possible keywords are: 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. key - string, the main object identifier.
typeclass - string, if not set, will use `settings.BASE_OBJECT_TYPECLASS`. typeclass - string, if not set, will use `settings.BASE_OBJECT_TYPECLASS`.
location - this should be a valid object or #dbref. 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 = { # GOBLIN_WIZARD = {
# "prototype": "GOBLIN", # "prototype_parent": "GOBLIN",
# "key": "goblin wizard", # "key": "goblin wizard",
# "spells": ["fire ball", "lighting bolt"] # "spells": ["fire ball", "lighting bolt"]
# } # }
# #
# GOBLIN_ARCHER = { # GOBLIN_ARCHER = {
# "prototype": "GOBLIN", # "prototype_parent": "GOBLIN",
# "key": "goblin archer", # "key": "goblin archer",
# "attacks": ["short bow"] # "attacks": ["short bow"]
#} #}
@ -69,5 +69,5 @@ See the `@spawn` command and `evennia.utils.spawner` for more info.
# #
# GOBLIN_ARCHWIZARD = { # GOBLIN_ARCHWIZARD = {
# "key": "goblin archwizard", # "key": "goblin archwizard",
# "prototype" : ("GOBLIN_WIZARD", "ARCHWIZARD_MIXIN") # "prototype_parent" : ("GOBLIN_WIZARD", "ARCHWIZARD_MIXIN")
#} #}