FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

DescribePlace(location) in Roodylib

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors
View previous topic :: View next topic  
Author Message
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Sat Jun 15, 2013 1:46 pm    Post subject: DescribePlace(location) in Roodylib Reply with quote

I noticed that at some point, as I updated Roodylib and continued re-compiling "Tree and Star," the instances where I called DescribePlace stopped working, printing "Nothing" instead of the room description. I neglected this bug for a long time, figuring I would look into how the new routine works after I added more stuff. It turns out that it was blessedly simple to fix, though -- all I had to do was specifically add the (location) variable. So, I'm just making note that "DescribePlace" needs to be "DescribePlace(location)" now.

I think the feature of grouping objects for scene description purposes is an extremely good idea. I haven't used it yet, but I probably will.
Back to top
View user's profile Send private message
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Sat Jun 15, 2013 2:26 pm    Post subject: Reply with quote

DescribePlace was always meant to be called with an argument, but I think your code accidentally was always redirected to DoLookAround so it ended up working anyways.

Still, I'm not against the idea of making DescribePlace even easier, so I'll be happy to add this line to the beginning:
Code:
if not place
     place = location
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended