From fb80d99b962b7a9440cc5160fb7c673092d918b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Heger?= Date: Sat, 21 Nov 2020 00:46:15 +0100 Subject: [PATCH] Fix #49: Add seeding to README --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/README.md b/README.md index 7466e10..37ffcf7 100644 --- a/README.md +++ b/README.md @@ -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 +```