[Ohrrpgce] run game ideas
Ralph Versteegen
teeemcee at gmail.com
Tue Nov 1 17:00:24 PDT 2016
Yes, I was planning to add a command like "check game exists" to work
around this problem.
Checking for both .rpg and .rpgdir is a good idea too.
On 2 November 2016 at 04:26, James Paige <Bob at hamsterrepublic.com> wrote:
> 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
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20161102/541a09e1/attachment.htm>
More information about the Ohrrpgce
mailing list