evennia / evennia

Python MUD/MUX/MUSH/MU* development system

Home Page:http://www.evennia.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Documentation] 13.2.1. Sitting on or in - code does not work (easy fix!)

BurrowsForge opened this issue · comments

https://www.evennia.com/docs/latest/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Making-A-Sittable-Object.html
Documentation issue
In section 13.2.1 of adding sittable chairs they have you sit in an armchair. When I tried this code,

py armchair.do_sit(me)
I got an error, "NameError: name'armchair' is not defined)-->

Suggested change
When asking in help I was told that py does not know anything about the chair even though it is in the same room. I had to search for the chair in the command to get it to work. the syntax that worked was,

py me.search("armchair").do_sit(me)

image

Very true. Fixed!