Minor grammar fix to help and tutorial

This commit is contained in:
Howard Abrams 2025-05-16 11:38:47 -07:00
parent da9927c33a
commit c86d94e59e
3 changed files with 34 additions and 58 deletions

View file

@ -1,21 +1,18 @@
#!/usr/bin/env python
from enum import Enum
from random import choice
from evennia import (
Command,
CmdSet,
TICKER_HANDLER,
syscmdkeys,
create_script,
)
from evennia.prototypes.spawner import spawn
from enum import Enum
from typeclasses.objects import Object
from typeclasses.npcs import CarriableNPC
from utils.word_list import routput
import random
MSGS = {
"START": [
@ -50,16 +47,13 @@ MSGS = {
"The bird says, \"This place has been a respite from the outside turbulence.\"",
"\"A shortcut to |gsay|n is to type either a double or single quote, and then your message.\"",
"\"You can also use |gemote|n to state something about yourself, \" it says. \" For instance, type |gemote smiles.|n\"",
# POSE:
"The bird stands on one leg.",
"Another useful command is |gpub|n which is a shortcut to sending messages to a public channel that everyone in the game receives |wout of character|n. That is, the message comes from your login account, not your character. The dad jokes go there without interrupting the role playing."
"The bird says, \"Typing |ghelp|n gives you a list of commands. That list changes depending on where you are and what you are carrying. For instance, you could type |gshoo|n for me to fly away, and then that command wouldn't be available again.\"",
# ],
# "HELP": [
"The bird chirps, \"You can learn more about the individual commands. For instance, type |ghelp emote|n and you can see more options to that command. You can also see new commands, like |ghelp get|n.\"",
"\"Type |ghelp start|n for a repeat of much of what we've talked about,\" says the bird.",
"The bird says, \"The |ginv|n shows you what you are carrying. I see you picked up a letter. You can also type |gread letter|n.\"",
"\"Since this game hosts many users,\" says the bird, \"you can show them what they see when they look at you, using the |gsetdesc|n command. Check out the help on it and, |gsdesc|n and |gpose|n.",
"\"Since this game hosts many users,\" says the bird, \"you can show them what they see when they look at you, using the |gsetdesc|n command. Check out the help on it as well as |gsdesc|n and |gpose|n.",
"\"I'm guessing your last question,\" chirps the little bird on your shoulder, \"is the goal of this game.\"",
"\"That is a good question,\" quips the bird, \"and I'm not sure what to say. You could look at this as a philosophical antidote for our existential apprehension of a post-modern world in the death throes of capitalism, but…\"",
"The bird says, \"This is a cozy little game about role playing a storybook character in an alternate plane populated by the Faerie, so wander and look around. Find a cozy place to role play with others,\" says the bird.",
@ -76,6 +70,7 @@ MSGS_WAITING = [
"\"They say if you don't like the weather,\" tweets the bird, \"just wait.\"",
]
class TutorialState(Enum):
"The acceptable states of fishing."
START = 0
@ -128,6 +123,10 @@ class TutorBird(CarriableNPC):
callback=self.do_speak)
def do_start_tutorial(character):
"""
Spawn the bird and attach it to character.
"""
bird = spawn({
"typeclass": "typeclasses.tutorial.TutorBird",
"key": "bird",
@ -163,12 +162,12 @@ class TutorBird(CarriableNPC):
if self.db.waiting > self.wait_messages or level == TutorialState.SAY:
msg = self.do_end_tutorial(character)
else:
msg = routput(random.choice(MSGS_WAITING))
msg = routput(choice(MSGS_WAITING))
self.db.waiting += 1
else:
msg = choices[msg_num]
self.db.tutor_msg_num[level.name] += 1
self.db.waiting = 0 # Reset the waiting period
self.db.waiting = 0 # Reset the waiting period
return msg
def do_end_tutorial(self, character):

View file

@ -107,7 +107,7 @@ def menunode_sdesc(caller, raw_string, **kwargs):
text = paragraph(f"""\
|wShort Description|n
Since this game emphasizes |wrole playing|n, we will pick our
Since this game emphasizes |wrole playing|n, you will pick your
character's name at the end (since no one will know, or should
know, your |wreal|n name).
@ -447,7 +447,7 @@ def menunode_confirm_name(caller, raw_string, **kwargs):
text = paragraph(f"""\
|wCreate Character?|n
Shall we create your character, |c{char.key}|n:
Shall I create your character, |c{char.key}|n:
|w{char.db._sdesc} {char.db.pose}|n
@ -485,7 +485,7 @@ def menunode_end(caller, raw_string):
To play with this one, type: |gic {caller.new_char.key}|n
As always, type |ghelp|n (especially |ghelp me start|n),
As always, type |ghelp|n (especially |ghelp start|n),
to learn more about how to play this game.
Alrighty then, let's log in and start playing the game.

View file

@ -55,6 +55,16 @@ To see what people see when they look at you, type:
|glook self|n
No one in this game knows your name, instead, they only know you by your |wshort description|n you established when creating your character. Change it with:
|gsdesc balding goblin|n
You will also want to |wadd to that description|n with a pose, like:
|gpose winking at everyone|n
These two labels will be shown to anyone looking around the area you are in.
What is the goal of this game? Just to escape the chaos of the world and explore an idyllic setting. I call it my |yegg hunt game|n, as the game is full odd stuff to discover. Feel free to find me to chat, but good luck finding me, as I may be hiding.
This is the end of this help section, but I have some related topics to this intro, so you can type |ghelp start/commands|n to get a list of typical commands, or just start playing this game.
@ -65,51 +75,18 @@ Enjoy!
## Commands
A command is typically a 'verb'. The most common ones in this game are:
A command is typically a 'verb'. The most common ones in this game are:
- 'look' to look around at your surroundings
- 'look <thing>' to look at something particular
- 'get <thing>' to pick up something
- 'inventory' (or 'inv' or just 'i') for a list of what you carry
- 'drop <thing>' to leave the thing in this area (but don't litter)
- 'say' to talk to the characters and object in your current location
- 'pose' to state a fact about yourself.
- |glook|n to look around at your surroundings
- |glook <thing>|n to look at something particular
- |gget <thing>|n to pick up something
- |ginventory|n (or |ginv|n or just |gi|n) for a list of what you carry
- |gdrop <thing>|n to leave the thing in this area (but don't litter)
- |gsay|n to talk to the characters and object in your current location
- |gpose|n to update your description
- |gemote|n to state a fact about yourself and the world around you.
### Say
We often want to chat in these sorts of games, so instead of typing:
|gsay Good evening!|n
You can simply type:
|g"Good evening!
Or:
|g'Good evening!
Creatures and objects in this game can sometimes respond to what you say.
### Pose
To tell others what you are doing (without |gsay|ning it), you can |gpose|n, as in:
|gpose smiles.|n
We do this a lot, so use this shortcut:
|g: smiles.|n
What about abbreviating "is" statements? Yeah, this works:
|g:'s happy, and wants you to know it.|n
Your "pose" can be anything, for instance, you can pretend to be a wizard:
|g: casts a fireball, exploding the bush behind you!|n
But you may find staying in character more 'escape-y'.
Type |ghelp|n and those commands to get more information on its usage.
## Exits