Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

makhidkarun/trav_functions_c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is ARCHIVED

Please see the Issues for reasons. We encourage contributions, if you want to contribute to the code base please ask a group moderator to unarchive the repo.

trav_functions_c

C based functions for Traveller

die_roller:
Usage:  die_roller [options]  
	 -a    Number, positive or negative, to be added to the total
	 -e    Explode die if roll MAX
	 -f    Roll dice as flux
	 -h    Help information
	 -m    Minimum die number
	 -M    Maximum die number
	 -n    Number of die
	 -t    Return 0 if roll vs target number. Defaults to -t 8
	 -V    Version information

Of the options, -a, -m, -M, -n, and -t require an extra argument. For example, die_roller -n 2 -m 1 -M 6

Would roll 2d6. This is the default action, given no other options.

trav_chargen: -a , -s Default is 2-C.

dice.c/dice.h: Various dice conventions in one library.

About

C based functions for Traveller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published