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

Another quirk: "You don't see him"

 
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
Merk



Joined: 22 Nov 2004
Posts: 192
Location: Wichita, KS

PostPosted: Thu Aug 03, 2006 6:05 pm    Post subject: Another quirk: "You don't see him" Reply with quote

The applicable bit is around line 1091 in hugolib.h.

If you have a "living" thing that is neither male nor female (an androgenous alien, perhaps), and you've set the appropriate pronouns ("it", "it", "its", "itself), I've found at least one instance where the library will still refer to it as a "him". The code checks to see if the living thing is plural (them), else female (her), else (him).

It'd be pretty easy to test for obj.pronoun #2, and print that instead -- and if non-existent, follow through with the current logic.

For my purposes, I'll probably need to do a NewParseError for that one condition (case 11). :)

(update)

Here's how I've fixed that part, in a little snippet I put inside a NewParseError:

Code:
print CThe(actor); \
    MatchPlural(actor, "doesn't", "don't"); \
    " see ";
if (obj.pronouns #2)
    print obj.pronouns #2;
elseif obj is plural
    "them";
elseif obj is female
    "her";
else
    "him";
print "."
Back to top
View user's profile Send private message Visit poster's website
Kent



Joined: 27 Jun 2003
Posts: 119

PostPosted: Tue Aug 08, 2006 1:30 pm    Post subject: Reply with quote

Good idea. I think that should probably go in as a fix.
Back to top
View user's profile Send private message
Merk



Joined: 22 Nov 2004
Posts: 192
Location: Wichita, KS

PostPosted: Tue Aug 08, 2006 8:38 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message Visit poster's website
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