From 5d0d6e039e2b3f3cc84367c9141a41c278fe44e0 Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 20:57:54 +0100 Subject: [PATCH 1/6] Update README.md for contrib.base_systems.components: * Fix a missing base_systems submodule in documentation. --- evennia/contrib/base_systems/components/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/base_systems/components/README.md b/evennia/contrib/base_systems/components/README.md index 8f30b03630..7446419617 100644 --- a/evennia/contrib/base_systems/components/README.md +++ b/evennia/contrib/base_systems/components/README.md @@ -30,7 +30,7 @@ class Character(ComponentHolderMixin, DefaultCharacter): Components need to inherit the Component class directly and require a name. ```python -from evennia.contrib.components import Component +from evennia.contrib.base_systems.components import Component class Health(Component): name = "health" From d52e1ce651374959e9c66bdea090416917f93a70 Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 21:02:24 +0100 Subject: [PATCH 2/6] Update README.md for contrib.game_systems.crafting: * Update submodule paths in documentation. contrib.crafting.crafting -> contrib.game_systems.crafting --- evennia/contrib/game_systems/crafting/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/evennia/contrib/game_systems/crafting/README.md b/evennia/contrib/game_systems/crafting/README.md index 7c5232dd95..bd1333c450 100644 --- a/evennia/contrib/game_systems/crafting/README.md +++ b/evennia/contrib/game_systems/crafting/README.md @@ -115,7 +115,7 @@ class RecipeBread(CraftingRecipe): ## Adding new recipes A *recipe* is a class inheriting from -`evennia.contrib.crafting.crafting.CraftingRecipe`. This class implements the +`evennia.contrib.game_systems.crafting.CraftingRecipe`. This class implements the most common form of crafting - that using in-game objects. Each recipe is a separate class which gets initialized with the consumables/tools you provide. @@ -137,7 +137,7 @@ example setting: ```python # in mygame/world/myrecipes.py -from evennia.contrib.crafting.crafting import CraftingRecipe +from evennia.contrib.game_systems.crafting import CraftingRecipe class WoodenPuppetRecipe(CraftingRecipe): """A puppet"""" @@ -200,7 +200,7 @@ in-game command: In code we would do ```python -from evennia.contrib.crafting.crafting import craft +from evennia.contrib.game_systems.crafting import craft puppet = craft(crafter, "wooden puppet", knife, wood) ``` @@ -259,7 +259,7 @@ parent class and have your recipes inherit from this. ```python from random import randint -from evennia.contrib.crafting.crafting import CraftingRecipe +from evennia.contrib.game_systems.crafting import CraftingRecipe class SkillRecipe(CraftingRecipe): """A recipe that considers skill""" From 371adfe33e6124951817cc5d8ed11b29c4d0f868 Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 21:04:21 +0100 Subject: [PATCH 3/6] Update README.md for contrib.grid.ingame_map_display: * Correct Character_CmdSet to CharacterCmdSet. --- evennia/contrib/grid/ingame_map_display/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/grid/ingame_map_display/README.md b/evennia/contrib/grid/ingame_map_display/README.md index 3e52089cfd..54c4db6e32 100644 --- a/evennia/contrib/grid/ingame_map_display/README.md +++ b/evennia/contrib/grid/ingame_map_display/README.md @@ -21,7 +21,7 @@ Specifically, in `mygame/commands/default_cmdsets.py`: ... from evennia.contrib.grid.ingame_map_display import MapDisplayCmdSet # <--- -class CharacterCmdset(default_cmds.Character_CmdSet): +class CharacterCmdset(default_cmds.CharacterCmdSet): ... def at_cmdset_creation(self): ... From 7ce8dd56ff9568bdca96a81054ac9dfdebc7e0a9 Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 21:09:17 +0100 Subject: [PATCH 4/6] Update README.md for contrib.rpg.rpsystem: * Fix submodule path. --- evennia/contrib/rpg/rpsystem/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/rpg/rpsystem/README.md b/evennia/contrib/rpg/rpsystem/README.md index b69f4e7b8f..006a310003 100644 --- a/evennia/contrib/rpg/rpsystem/README.md +++ b/evennia/contrib/rpg/rpsystem/README.md @@ -166,7 +166,7 @@ This module adds no new commands; embed it in your say/emote/whisper commands. ### Usage: ```python -from evennia.contrib import rplanguage +from evennia.contrib.rpg.rpsystem import rplanguage # need to be done once, here we create the "default" lang rplanguage.add_language() From 13989f9aa6811119f1b2626b0b178140153a188d Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 21:11:02 +0100 Subject: [PATCH 5/6] Update README.md for contrib.tutorials.red_button: * Fix submodule path. --- evennia/contrib/tutorials/red_button/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/tutorials/red_button/README.md b/evennia/contrib/tutorials/red_button/README.md index 5d7e94dfe4..0da213ff4a 100644 --- a/evennia/contrib/tutorials/red_button/README.md +++ b/evennia/contrib/tutorials/red_button/README.md @@ -7,7 +7,7 @@ object with its own functionality and state tracking. Create the button with - create/drop button:tutorials.red_button.RedButton + create/drop button:contrib.tutorials.red_button.RedButton Note that you must drop the button before you can see its messages! It's imperative that you press the red button. You know you want to. From 41d67bbab2e3f7b3a3fefc917baa2d8df8647dd6 Mon Sep 17 00:00:00 2001 From: Kenneth Aalberg Date: Wed, 21 Dec 2022 21:11:42 +0100 Subject: [PATCH 6/6] Update README.md for contrib.tutorials.tutorial_world: * Fix submodule path. --- evennia/contrib/tutorials/tutorial_world/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/tutorials/tutorial_world/README.md b/evennia/contrib/tutorials/tutorial_world/README.md index b949c73855..756fb916c1 100644 --- a/evennia/contrib/tutorials/tutorial_world/README.md +++ b/evennia/contrib/tutorials/tutorial_world/README.md @@ -17,7 +17,7 @@ Evmenu. Log in as superuser (#1), then run - batchcommand tutorials.tutorial_world.build + batchcommand contrib.tutorials.tutorial_world.build Wait a little while for building to complete and don't run the command again even if it's slow. This builds the world and connect it to Limbo