intfiction.org

The Interactive Fiction Community Forum
It is currently Fri Nov 16, 2018 6:26 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Aug 01, 2018 5:37 pm 
Offline

Joined: Wed Jul 25, 2018 8:55 am
Posts: 18
I want to suppress messages stating where an npc is sitting in a room desc.

Code:
startRoom: Room 'start room' 'start room';

+ me: Actor;

+chair: Chair 'chair' 'chair' "Chair ";

++npc: Person 'npc' 'npc' "Npc. "
    isHer = true
    isProperName = true
    posture = sitting
;


I want to suppress the following:

>Start room

You see a chair here.

Npc is sitting on the chair. << this is the text I don't want

Thanks


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Aug 01, 2018 7:05 pm 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 1033
Location: Greece
Are you sure you don't want that? The player will not know there's an NPC in the room.

If you still don't want the NPC to be listed, try setting its 'isListed' property to nil.

_________________
@realnc


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Aug 01, 2018 8:59 pm 
Offline

Joined: Wed Jul 25, 2018 8:55 am
Posts: 18
The character is always present and is included in the various ActorState specialDesc and stateDesc properties. I found the insertion of the text in the middle of all of that clunky, so I wanted to exclude it. This worked, btw. I'll reconsider my approach. Thanks.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Aug 02, 2018 7:20 am 
Offline

Joined: Sat Oct 17, 2015 5:48 am
Posts: 84
well, what is the narrative ?

explaining it, if there's definite reasons for the npc being sit, and remaining sit, and his stance weight on the story (in Italy, and many countries, greeting someone without standing up first is rather unrefined, for example) perhaps isn't so clunky that the player is reminded of a NPC constantly being sit. (stock example of sort, a police chief NPC, and the player is a mere cop, and interacting with a sitting superior is generally the norm in a police station context)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Aug 02, 2018 5:20 pm 
Offline

Joined: Sat Jul 16, 2011 3:48 pm
Posts: 309
Code:
+chair: Chair 'chair' 'chair' "Chair "
    roomActorHereDesc(actor) {  }
;


See also http://tads.org/t3doc/doc/techman/t3messages.htm#locActor for more informations, in this particular case there are many options how to intervene.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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