mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Update spawn doc to better explain protparents kwarg (see #1775)
This commit is contained in:
parent
992c993350
commit
c121f4915e
1 changed files with 4 additions and 2 deletions
|
|
@ -673,8 +673,10 @@ def spawn(*prototypes, **kwargs):
|
|||
prototype_parents (dict): A dictionary holding a custom
|
||||
prototype-parent dictionary. Will overload same-named
|
||||
prototypes from prototype_modules.
|
||||
return_parents (bool): Only return a dict of the
|
||||
prototype-parents (no object creation happens)
|
||||
return_parents (bool): Return a dict of the entire prototype-parent tree
|
||||
available to this prototype (no object creation happens). This is a
|
||||
merged result between the globally found protparents and whatever
|
||||
custom `prototype_parents` are given to this function.
|
||||
only_validate (bool): Only run validation of prototype/parents
|
||||
(no object creation) and return the create-kwargs.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue