intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Nov 22, 2017 3:28 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Sep 09, 2017 11:53 pm 
Offline
User avatar

Joined: Tue Jan 26, 2016 12:37 am
Posts: 30
My game gives me the following error on every turn:
Quote:
*** Run-time problem P10: Since the forklift is not allowed the property "freight bay condition", it is against the rules to try to use it.

A run-time warning appears saying I've given a property to something that isn't allowed to have it. I understand the example it gives but I can't see any such error in my code. I've also searched through the game looking for 'freight bay condition' and 'condition' and 'propert' but can't find anything explicitly named as such.

How can I trace the error message back to the problematic code?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Sep 09, 2017 11:55 pm 
Offline

Joined: Fri Oct 18, 2013 10:13 am
Posts: 2469
Location: The Midwest
I'd suggest using >RULES to see what rule is causing the problem, and examining that rule more carefully.

_________________
Daniel Stelzer


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Sep 10, 2017 12:10 am 
Offline
User avatar

Joined: Tue Jan 26, 2016 12:37 am
Posts: 30
Nailed it! Thanks Daniel.


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 9 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