intfiction.org

The Interactive Fiction Community Forum
It is currently Mon Nov 19, 2018 3:52 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Player-name-able objects
PostPosted: Fri Oct 19, 2018 8:34 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 384
I recall in the game 'Spellbreaker', the player was able to write words on the Foundation Cubes, to differentiate them, and the player was able to refer to the individual cubes by those words. Is there way to allow the player to not only change the printed name of an object, but also be able to refer to that object by a name chosen by the player..??

Thanks


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:07 am 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5805
See example 420, "Fido", in the Recipe Book.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:13 am 
Offline
User avatar

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2758
Location: US - Central
Recipe Book 8:3 - check the example "Fido".

http://inform7.com/learn/man/RB_8_3.html

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io/


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:17 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 384
Thank you both! I was beginning to think that this was not possible.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:21 am 
Offline
User avatar

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2758
Location: US - Central
I have to assume that must have been a design-goal: If Infocom did it, it should be doable in Inform.

I'd go as far as to say that if a system can be described in book prose, you can model it interactively in Inform as well. Sometimes it just takes some creative thinking.

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io/


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:30 am 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5805
Quote:
I'd go as far as to say that if a system can be described in book prose....


...and isn't equivalent to the Halting Problem... :)

Infocom-equivalent support was a goal, yes. Although are situations where you have to go down to I6 code to get what you want.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 9:59 am 
Offline
User avatar

Joined: Sun May 21, 2017 4:59 pm
Posts: 299
Location: Michigan
There's also this bit of naming the dog code: viewtopic.php?f=7&t=26597#p143711

_________________
~~~
My ebooks on Amazon
My ebooks on Smashwords


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 10:48 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 384
Thanks again, guys!


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

All times are UTC - 6 hours [ DST ]


Who is online

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