I am trying to do a simple thing. I even copied it directly from the docs, and it gets an error. What gives? From section with 4.9.
Brightness is a kind of value. The brightnesses are guttering, weak, radiant and blazing.
The lantern has a brightness. The lantern is blazing.
Here is my code
A job posting is a readable thing on the job board.
Status is a kind of value. The Statuses are accepted, pending, or unaccepted.
A job posting has a status. The job posting is unaccepted.
To me they are identical, but I get the error Problem: The sentence âThe job posting is unacceptedâ appears to say two things are the same - I am reading âjob postingâ and âunacceptedâ as two different things, and therefore it makes no sense to say that one is the otherâŚ
Aha! Okay, the issue isnât actually with âunacceptedââitâs with âpendingâ. Inform gets confused sometimes when adjectives end in -ing. (Itâs okay with nouns, so you can have a ring or a posting, but an object canât be pending.)
This compiles:
Lab is a room. A job board is a thing in the Lab. A thing can be readable.
A job posting is a readable thing on the job board.
Status is a kind of value. The Statuses are accepted and unaccepted.
The job posting has a status. The job posting is unaccepted.
This doesnât:
Lab is a room. A job board is a thing in the Lab. A thing can be readable.
A job posting is a readable thing on the job board.
Status is a kind of value. The Statuses are accepted, pending, and unaccepted.
The job posting has a status. The job posting is unaccepted.
Yes, but you have moved from kinds of values into either/or properties. I need three states. Iâll try a different wordâŚ
Nope. I changed pending to pended and got the unaccepted error again.
Aha! I changed the status to X, Y, and Z; and it compiled. I think accepted or unaccepted are reserved words. I had this problem with âemptyâ also.
Lab is a room. A job board is a thing in the Lab. A thing can be readable.
A job posting is a readable thing on the job board.
Status is a kind of value. The Statuses are accepted, pended, and unaccepted.
The job posting has a status. The job posting is unaccepted.
You may be using some of these terms elsewhere in your project.
The job posting is a piece of paper that is readable.
Iâm not sure what you thought it might be.
It tells the player to go somewhere to inquire about a job.
Itâs just that using the indefinite article suggests that you might have intended to have more than one of them; but it doesnât really matter either way. If thereâs only one and you only need one, then thereâs no problem.
What about it acts as if itâs a kind? You can give properties to individual objects.
I meant what you said, that it seems to suggest that they wanted multiple objects. If it were one job posting, I would say The job posting has a status.. But youâre rightâyou can give properties to things without kinds.