Version 1.3.5 out


This isn't a very big update. But it's one I really wanted to do before the comp ended.

You may have noticed that, say, >X PACING and >X RATIONS should give the same reply, but Adventuron doesn't act on an adjective as it does for a noun. (X PACING RATIONS works okay.) This is something I assumed worked since it did in Inform.

But once I realized it didn't, I also realized there were a lot of cases to tackle. I couldn't find a good way that avoided duplication like "print (examination-string)." Until ... until ...

Well, I'd actually done so earlier when someone tried D E in the hill, when E would do fine. Because the game said paths sloped down to the east and west.

      : match "d w" {
         : set_sentence "w" ;
      }

So for items it's

   : if (is_at("west_tiles") || is_at("east_branch")) {
      : match "x big" {
         : set_sentence "x runes" ;
 ;     }
   }

So that's a big win. (Note: I also had defined the runes as west_runes and east_runes, so X BIG RUNES gave nothing. Oops. They're now big_runes_1 and _2.) I kept track of what words might duplicate each other, because if I defined aliases, with word2=word3 (its adjective,) and word1 word2 scored a point, so would word1 word3.

Of course, I could just push the runes into one item. That would be the final update. While picking off bugs I stumbled on zones, which is Adventuron's way of partitioning rooms. This would simplify some code nicely and pick off an easy low-risk bug.

Set_sentence came in handy a few simple places but I don't want to go too crazy this close to the end of comp.

The one remaining bug is that an item you can hear in the final 2 rooms is physically present in 1. I didn't know how to move it. Most people will figure what to do with the item and not X it. But those who do, will find it's not visible in the final room, only the 2nd-final.

Other bugs/tweaks include:

--forgot to add 2 level-2 items once you solved level-2 puzzles

--IN from the 2nd-final room now goes north

--picture of Seth Denton's on X SETH

--removed EXITS processing code

--tweaked item acquiring/examining text

--tweaked aliases/synonyms

--O now maps to OUT

Files

index.html Play in browser
4 days ago
Downloadable version of HTML file run on startup 2 MB
4 days ago
Latest source code 250 kB
4 days ago

Get Quirky Test (TALP)

Leave a comment

Log in with itch.io to leave a comment.