bloodreigns/bloodreigns.materials/Extensions/William Moore/Steal the Dragon Hoard.i7x
William Moore 2d439aeba9 Updates\!
2022-11-04 01:23:27 -05:00

49 lines
1.6 KiB
Plaintext

Version 1.0.0 of Steal the Dragon Hoard by William Moore begins here.
Chapter 1 - Values
Coins Stolen is a number that varies.
Chapter 2 - Actions
Understand "game" as game. Game is an action applying to nothing.
Carry out game:
let result be a random number from 1 to 12;
say "You roll your dice and get a total of [result] pips.";
if result < 7:
increase Coins Stolen by result;
say "You stole [result] coins and now have [Coins Stolen] gold coins!";
otherwise:
if result >= 11:
say "You were fried by the dragon. Sorry!";
now Coins Stolen is 0;
otherwise:
say "You were startled and did not receive any coins this round.".
Understand "new game" as new game. New game is an action applying to nothing.
Carry out new game:
say "You start a new game!";
now Coins Stolen is 0.
Understand "coins" as coins. Coins is an action applying to nothing.
Carry out coins:
say "You have stolen [Coins Stolen] gold coins.".
Steal the Dragon Hoard ends here.
---- DOCUMENTATION ----
[ Copyright (C) 2022 William R. Moore <william@nerderium.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. ]