Got it. It works, but sadly, I’m not sure exactly why it wasn’t working before. However, the key seems to center on putting the rules in the right order top to bottom. So it works, but then code falls through to also say “There doesn’t seem to be anyway to attach the coil of the cable to the pedestal.” Traditionally, this would be a place for an If, Then, Else clause.
There are still a few other minor issues issues, but they should be easy to clear up. For instance, once the cable is attached it completely goes away as a distinct entity. And that’s fine, but I need to create a check rule so it can still be seen in case anyone looks or tries to pick it back up. I am no longer “moving” it to the next room, since I don’t want to deal with it any longer, I am just checking attachment to allow the player to move down.
I’m going to post a long snippet, which might be bad form for the forum, but I didn’t see any posting guidelines forbidding it. Anyway, just in case someone is following after and wants to see how I ended up. Also, if anyone sees something unnecessary or that could be tightened up, please say so. Thanks for all the help, everyone!
[code][Drawbridge]
Drawbridge is a room. “You are standing over a dark abyss on bridge even now retracting inexorably into a featureless wall. [if unvisited]You stand alone within this long-empty and mysterious facility deep beneath the surface of a dead planet known as First Light. Despite the movement of the platform beneath your boots, the silence in the cavern deafens you. The door cutting you off from your friends just disappeared into the wall of an immense cyndrilical structure before you. Unless something changes, the bridge will be drawn completely out from under your boots. [end if]Time grows short as the gap between the wall and the bridge grows wider.” The player carries a helmet. The player wears a space suit, a coil of cable.
Up from the Drawbridge is the Ceiling. Check going up from the Drawbridge: say "The rocky cavern ceiling arches unreachable hundreds of meters overhead." instead.
Down from the Drawbridge is the Monocable End.
Check climbing the cable when the cable is stuck to the pedestal: try going down instead.
Check going down from Drawbridge when the cable is not stuck to the pedestal: say "You peer over the brink into the darkness but think better of it." instead.
The pedestal is a thing. The pedestal is in the Drawbridge. The pedestal is fixed in place. The description of the pedestal is "Raised to nearly chest height, the square pedestal measures about twenty centimeters on each side. It is fashioned from the same strange material as the bridge itself. On the topmost face of the pedestal a few controls glow."
The cable is a thing. The cable is wearable. The description of the cable is "The monofilament cable runs about two hundred meters in length, but remains nicely compact and easy to carry, coiled over one shoulder. It rates at two hundred kilograms of capacity and features a clip at both ends."
Attachment relates things to each other in groups.
The verb to be stuck to implies the attachment relation.
Understand "cable" as coil of cable.
Understand the command "attach", "fasten", "tie" as something new.
Attaching it to is an action applying to two touchable things.
Understand "attach [something] to/-- [something]" as attaching it to.
Understand the command "connect" or "tie" or "hook" or "clip" or "fasten" as "attach".
Definition: a thing is noncable if it is not a cable.
Definition: a thing is tied if the number of things stuck to it is greater than 1.
Definition: a thing is free if it is not tied.
Definition: a cable is free if the number of noncable things stuck to it is less than 2.
Definition: a thing is hindering if it is stuck to the noun and it is not within the location.
Definition: something is anchored if it is fixed in place or it is scenery or it is part of an anchored thing.
Before attaching the cable to the pedestal:
Say "You clip the end of the cable around the pedestal base and throw it into the abyss.";
Now the cable is stuck to the pedestal;
[Now the cable is in Monocable End.]
Check attaching something to something:
Say "There doesn't seem to be any way to attach [the noun] to [the second noun].";
Rule fails.[/code]