[Ohrrpgce] run game ideas

James Paige Bob at hamsterrepublic.com
Tue Nov 1 08:26:46 PDT 2016


I was looking at the run game implementation.

I saw this comment in the source:

PRIVATE SUB run_game ()
 ' Not being able to load the game should always show an error (use
serrError for everything)

I would definitely like to have the option of running a game with the error
silenced.

For example, At the end of Quest.rpg I might have code that runs Quest2.rpg
even though the sequel does not even exist yet.

One way to get this effect would be an argument to run game to make it
silent. (I don't really like this one.)

Alternatively another command "run game if exists" that just does the same
thing without the error

Finally, maybe an "is other game available($0="othergame")" check that
returns a boolean.

Next, I was wondering if you do:

run game($0="gamename.rpg")

and gamename.rpg does not exist, should it automatically check for
"gamename.rpgdir" and nice-versa

---
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20161101/3c6f0878/attachment.htm>


More information about the Ohrrpgce mailing list