intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Oct 17, 2018 6:49 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 165 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17  Next
Author Message
PostPosted: Tue Jul 21, 2015 5:38 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
What version of the Library did you use? What is that line you added supposed to do? Did you apply that patch to the Library? Not having that in place might be the source of the trouble. Tomorrow I'll manually apply it to 6/12 and see what happens.

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jul 21, 2015 2:21 pm 
Offline

Joined: Fri Jul 23, 2010 5:20 pm
Posts: 264
Ah sorry, forgot about the patch. I used 6/11 with the patch applied manually. (As far as I can see, that patch is for displaying the inventory differently.)

We're working on a translation of Shade and need Unicode 2014 (long dash) because it's the typographically correct translation of the English "--"; this instruction adds it to the table of characters the game can display.

_________________
http://hlabrande.fr/if


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jul 21, 2015 3:52 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5768
The em-dash is typographically correct in English also, but that doesn't mean Shade used it. :)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jul 21, 2015 9:09 pm 
Offline

Joined: Fri Jul 23, 2010 5:20 pm
Posts: 264
zarf wrote:
The em-dash is typographically correct in English also, but that doesn't mean Shade used it. :)


True :) We will probably just revert to single dashes anyway, just in case the bug is hard to locate/fix. But, if it is indeed a bug in the compiler or the library, score one for typographic zeal :wink:

_________________
http://hlabrande.fr/if


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Feb 21, 2018 5:41 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
I'm not sure of it but:
If i have an object with static and scenery flags and I'm trying to take it, I prefer to have the message: "fixed in place." than "hardly portable."
So perhaps in verblib.h, instead of:
Code:
if (item has scenery) return L__M(##Take, 10, item);
if (item has static)  return L__M(##Take, 11, item);
You can have:
Code:
if (item has static)  return L__M(##Take, 11, item);
if (item has scenery) return L__M(##Take, 10, item);

Annex:
Code:
english.h:
Take: switch (n) {
   10: CSubjectIs  (x1,true); " hardly portable.";
   11: CSubjectIs  (x1,true); " fixed in place.";

verblib.h:
    if (item has scenery) return L__M(##Take, 10, item);
    if (item has static)  return L__M(##Take, 11, item);

scenery:
Not listed by the library in room descriptions; ‘‘not portable’’ to be
taken; ‘‘you are unable to’’ pull, push, or turn it.

static:
‘‘Fixed in place’’ if player tries to take, remove, pull, push or turn.


***update***
OK; i use 'static concealed' flags instead 'static scenery'.


Last edited by auraes on Thu Feb 22, 2018 4:01 am, edited 2 times in total.

Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Feb 21, 2018 7:02 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
Is it a bug? With: describe [; rtrue; ]
With two objects, one with 'describe [; rtrue; ]', i get "You can 'also' see an apple here." instead "You can see an apple here."
'also' is it too much?
Code:
Include "parser";
Include "verblib";

Object room1 "Somewhere"
   with
   description "Here!",
   has light;

Object apple "apple" room1
   with
   name 'apple';

Object box "box" room1
   with
   name 'box',
   describe [; rtrue; ];

[ Initialise;
  location = room1;
];

Include "grammar";
Quote:
Release 1 / Serial number 180221 / Inform v6.34 Library v6.12.2-pre

Somewhere
Here !

You can also see an apple here.

>


Last edited by auraes on Thu Feb 22, 2018 4:02 am, edited 1 time in total.

Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Feb 22, 2018 4:00 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
There's something wrong with: Constant MANUAL_PRONOUNS
Code:
Constant MANUAL_PRONOUNS;

Include "parser";
Include "verblib";

Object room1 "Somewhere"
   with
   description "Here !",
   has light;

Object box "box" room1
   with
   name 'box'
   has container open;

Object apple "apple" room1
   with
   name 'apple';

[ Initialise;
  location = room1;
];

Include "grammar";
Quote:
Release 1 / Serial number 180222 / Inform v6.34 Library v6.12.2-pre

Somewhere
Here !

You can see a box (which is empty) and an apple here.

>insert it into box
You can't see any such thing.

>x apple
You see nothing special about the apple.

>insert it into box
(first taking the apple)
You put the apple into the box.

>
"You can't see any such thing." instead "I'm not sure what ~it~ refers to."
Code:
english.h
  Miscellany:
      30: CSubjectCant(actor,true); " see any such thing.";
      35: "I'm not sure what ~", (address) x1, "~ refers to.";


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Feb 23, 2018 8:41 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
Is it a bug? With: describe [; rtrue; ]
With two objects, one with 'describe [; rtrue; ]', i get "You can 'also' see an apple here." instead "You can see an apple here."
'also' is it too much?
Code:
Include "parser";
Include "verblib";

Object room1 "Somewhere"
   with
   description "Here!",
   has light;

Object apple "apple" room1
   with
   name 'apple';

Object box "box" room1
   with
   name 'box',
   describe [; rtrue; ];

[ Initialise;
  location = room1;
];

Include "grammar";
Quote:
Release 1 / Serial number 180221 / Inform v6.34 Library v6.12.2-pre

Somewhere
Here !

You can also see an apple here.

>


Try returning false from the box's describe() property.

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Feb 23, 2018 8:41 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
There's something wrong with: Constant MANUAL_PRONOUNS
Code:
Constant MANUAL_PRONOUNS;

Include "parser";
Include "verblib";

Object room1 "Somewhere"
   with
   description "Here !",
   has light;

Object box "box" room1
   with
   name 'box'
   has container open;

Object apple "apple" room1
   with
   name 'apple';

[ Initialise;
  location = room1;
];

Include "grammar";
Quote:
Release 1 / Serial number 180222 / Inform v6.34 Library v6.12.2-pre

Somewhere
Here !

You can see a box (which is empty) and an apple here.

>insert it into box
You can't see any such thing.

>x apple
You see nothing special about the apple.

>insert it into box
(first taking the apple)
You put the apple into the box.

>
"You can't see any such thing." instead "I'm not sure what ~it~ refers to."
Code:
english.h
  Miscellany:
      30: CSubjectCant(actor,true); " see any such thing.";
      35: "I'm not sure what ~", (address) x1, "~ refers to.";


I filed this at https://github.com/DavidGriffith/inform6lib/issues/51

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Feb 23, 2018 1:40 pm 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
DavidG wrote:
Try returning false from the box's describe() property.
With 'rfalse', we can see the box!
It works with ' rtrue ' but it is the ' also ' which seems strange! (But he surely has a good reason to be there.)
There are explanations in the DM4 about "describe" and "You can 'also' see".
The behavior is the same with library 6_11.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 165 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group