parse_rank and the player

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

User avatar
Ice Cream Jonsey
Posts: 28879
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

parse_rank and the player

Post by Ice Cream Jonsey »

Let's say you have an object in the game which has the same noun as the player. Oh, I don't know. Let's say I called a player "Raif" and then I want him to access the Usenet group "raif".

Is it just me, or does Hugo always ask you to clarify what you mean if the player is involved? I set the newsgroup to a parse_rank of 30000 and the game still asks me which Raif I mean. Anyway to change this behavior? I've done a scan on "parse_rank" for my game, but I am not seeing the solution.
the dark and gritty...Ice Cream Jonsey!

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Post by Merk »

I tried posting a reply this morning, and my silly computer locked up.

Anyway, I remember seeing somewhere in the library where the parse_rank for an object is set to the highest parse_rank of other objects plus one. It *might* be the plural_class -- which would have nothing to do with this -- but I don't remember.

When I get a chance, I'll try to set up a test and see if I can duplicate the same thing. I bet there's a work-around.

Have you tried changing the player object's parse_rank to -1 or -2 and see if that makes a difference? It's probably not a good long-term solution, but it might give clues.

Post Reply