mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
override example crafting recipes
This commit is contained in:
parent
1f4cd76e5f
commit
d1f0988d80
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ def _load_recipes():
|
|||
if not _RECIPE_CLASSES:
|
||||
paths = ["evennia.contrib.game_systems.crafting.example_recipes"]
|
||||
if hasattr(settings, "CRAFT_RECIPE_MODULES"):
|
||||
paths += make_iter(settings.CRAFT_RECIPE_MODULES)
|
||||
paths = make_iter(settings.CRAFT_RECIPE_MODULES)
|
||||
for path in paths:
|
||||
for cls in callables_from_module(path).values():
|
||||
if inherits_from(cls, CraftingRecipeBase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue