Skip to content

Commit

Permalink
Fix #49: Add seeding to README
Browse files Browse the repository at this point in the history
  • Loading branch information
geckon committed Nov 20, 2020
1 parent 1025cd3 commit fb80d99
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,48 @@ Appearance: big nose, scarred, sinewy
Personality: grim, regretful, naive
```

### Seeding

Let's say you generated this lovely duo and you want to keep it for the future.

```
$ rollnpc.py -n2
Seed used: '6095344300345411392'. Run with '-s 6095344300345411392' to get the same result.
Name: Macon
Age: older
Race: half-elf
Class: bard
Appearance: big eyes, muttonchops
Personality: intellectual, secretive
Name: Sirius
Age: very old
Race: human
Class: cleric
Appearance: different hand size, dimple in chin
Personality: speaks silently, hypochondriac
```

You can either save the whole text or just the seed and generate the same
data again like this:

```
$ rollnpc.py -n2 -s 6095344300345411392
Seed used: '6095344300345411392'. Run with '-s 6095344300345411392' to get the same result.
Name: Macon
Age: older
Race: half-elf
Class: bard
Appearance: big eyes, muttonchops
Personality: intellectual, secretive
Name: Sirius
Age: very old
Race: human
Class: cleric
Appearance: different hand size, dimple in chin
Personality: speaks silently, hypochondriac
```

0 comments on commit fb80d99

Please sign in to comment.