minor copy fixes
This commit is contained in:
parent
0927259ece
commit
1e6c5df462
|
@ -128,7 +128,7 @@ export function WorldDetails(props: WorldDetailsProps) {
|
|||
Theme: {world.theme}
|
||||
</Typography>
|
||||
<Typography variant='body2'>
|
||||
Order:
|
||||
Turn Order:
|
||||
</Typography>
|
||||
<ol>
|
||||
{world.order.map((name) => (
|
||||
|
|
|
@ -29,7 +29,7 @@ export function EnumParameterItem(props: NumberParameterProps | StringParameterP
|
|||
label={name}
|
||||
variant="outlined"
|
||||
defaultValue={defaultValue}
|
||||
onChange={(event) => setParameter(event.target.value)}
|
||||
onChange={(event) => (setParameter as (value: number | string) => void)(event.target.value)}
|
||||
>
|
||||
{enumValues.map((value) => <MenuItem value={value}>{value}</MenuItem>)}
|
||||
</TextField>;
|
||||
|
|
|
@ -140,7 +140,7 @@ def action_move(direction: str) -> str:
|
|||
|
||||
def action_take(item: str) -> str:
|
||||
"""
|
||||
Take an item from the room and put it in your inventory.
|
||||
Pick up an item from the room and put it in your inventory.
|
||||
|
||||
Args:
|
||||
item: The name of the item to take.
|
||||
|
@ -279,7 +279,7 @@ def action_tell(character: str, message: str) -> str:
|
|||
|
||||
def action_give(character: str, item: str) -> str:
|
||||
"""
|
||||
Give an item to another character in the room.
|
||||
Give an item in your inventory to another character in the room.
|
||||
|
||||
Args:
|
||||
character: The name of the character to give the item to.
|
||||
|
@ -315,7 +315,7 @@ def action_give(character: str, item: str) -> str:
|
|||
|
||||
def action_drop(item: str) -> str:
|
||||
"""
|
||||
Drop an item from your inventory into the room.
|
||||
Drop an item from your inventory and leave it in the current room.
|
||||
|
||||
Args:
|
||||
item: The name of the item to drop.
|
||||
|
|
|
@ -103,6 +103,8 @@ class AdventureClient(Client):
|
|||
await message.channel.send(world_message)
|
||||
return
|
||||
|
||||
# TODO: command to list available characters
|
||||
|
||||
if content.startswith("!help"):
|
||||
await message.channel.send(
|
||||
format_prompt("discord_help", bot_name=config.bot.discord.name_command)
|
||||
|
|
Loading…
Reference in New Issue