From 2302aa654affdea52b237295919fb26e6e33e618 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 7 Feb 2019 09:12:52 +0100 Subject: [PATCH] Update spawn doc to better explain `protparents` kwarg (see #1775) --- evennia/prototypes/spawner.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/evennia/prototypes/spawner.py b/evennia/prototypes/spawner.py index 2264cb13c7..2355da1321 100644 --- a/evennia/prototypes/spawner.py +++ b/evennia/prototypes/spawner.py @@ -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.