- Notifications
You must be signed in to change notification settings - Fork0
The SWN Toolbox is a collection of Ruby scripts designed to speed up random generation of various Stars Without Number things. It is aimed primarily at Game Masters.
License
RubyOnWorld/swn-rb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The SWN Toolbox is a collection ofRuby scriptsdesigned to speed up random generation of various Stars Without Number things.It is aimed primarily at Game Masters.
The scripts are written in Ruby; you'll need an installation of Ruby on yoursystem to run them. A Windows Ruby installer is available athttp://www.rubyinstaller.org.
The SWN Toolbox ishosted on GitHub.
No installation is required; simply extract the file into a folder of yourchoice. The .rb files can be run directly from the command-line, e.g.:
- ruby alien.rb
If you're running in a Windows environment, you most likely don't haveRuby installed. You can download Ruby for free fromhttp://www.rubyinstaller.org.
In this release, each script is designed to be run directly from thecommand-line.
Every script in the collection supports a single command-line argument:
- a number, which specifies the amount of items to generate.
For example: "ruby alien.rb 3" will generate 3 alien races.
The scripts use the tables in the subdirectory, which are simpleYAML files.
You can edit them to add more entries to be randomly-selected by the scripts.
The SWN Toolbox
Copyright (c) 2014 Steve Simenicorffen@orffenspace.com
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.