intfiction.org

The Interactive Fiction Community Forum
It is currently Mon Jun 26, 2017 8:54 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Mon Mar 13, 2017 3:50 am 
Offline

Joined: Sat Sep 27, 2014 4:14 pm
Posts: 11
Juhana wrote:
There's an error in the documentation, that line should be

Code:
place an inline element called "rucksack-open" reading "rucksack";


(Also note that you create an element called "rucksack-open" and try to add a tooltip to an element called "rucksack-closed".)



Thanks, but I'm still getting an error, even with "place an inline element". I get the following two errors;

---------
You wrote 'place an inline element called "rucksack-open" reading "rucksack"' : but this is a phrase which I don't recognise, possibly because it is one you meant to define but never got round to, or because the wording is wrong (see the Phrasebook section of the Index to check). Alternatively, it may be that the text immediately previous to this was a definition whose ending, normally a full stop, is missing?
--------------------------------------------------------------------------------
Problem. In the sentence 'display a tooltip "You'll need something to carry your stuff in" on the element "rucksack-open" in 2 seconds' , I was expecting to read a figure name, but instead found some text that I couldn't understand - 'a tooltip "You'll need something to carry your stuff in" on the element "rucksack-open" in 2 seconds'.
-----------------


Top
 Profile Send private message  
 
PostPosted: Mon Mar 13, 2017 7:52 am 
Offline

Joined: Tue Dec 25, 2007 10:06 am
Posts: 1517
This works for me:

Code:
Include Vorple Tooltips by Juhana Leinonen. 
Release along with the "Vorple" interpreter.

The Wilderness is a room. The player is carrying a rucksack. The rucksack is an open container.

Instead of examining the rucksack when the rucksack is open:
	say "Inside the ";
	place an inline element called "rucksack-open" reading "rucksack";
	say " is an old flask which is filled to the brim with water.";
	display a tooltip "You'll need something to carry your stuff in" on the element called "rucksack-open" in 2 seconds.

_________________
BlogTextureVorple


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group