mirror of
https://github.com/Oreolek/raconteur.git
synced 2024-06-30 21:45:00 +03:00
Change writer behavior so that they always write before option list
This commit is contained in:
parent
b4bf9b238e
commit
60cd792c2b
|
@ -127,8 +127,6 @@ var myIterators = {};
|
||||||
situation('iterators', {
|
situation('iterators', {
|
||||||
animal: oneOf('cat', 'crow', 'alpaca').cycling(),
|
animal: oneOf('cat', 'crow', 'alpaca').cycling(),
|
||||||
content (character, system, from) {
|
content (character, system, from) {
|
||||||
console.log("got here");
|
|
||||||
console.log(this);
|
|
||||||
return `
|
return `
|
||||||
# Iterators
|
# Iterators
|
||||||
|
|
||||||
|
@ -150,7 +148,7 @@ situation('iterators', {
|
||||||
` },
|
` },
|
||||||
writers: {
|
writers: {
|
||||||
iterator: oneOf('Cat', 'Dog', 'Crow', 'Alpaca').randomly(),
|
iterator: oneOf('Cat', 'Dog', 'Crow', 'Alpaca').randomly(),
|
||||||
consistent: () => myIterators.consistentIterator(),
|
consistent () { return myIterators.consistentIterator(); },
|
||||||
cycler: oneOf('Spring', 'Summer', 'Fall', 'Winter').cycling(),
|
cycler: oneOf('Spring', 'Summer', 'Fall', 'Winter').cycling(),
|
||||||
stopper: oneOf('First click', 'Second click', 'Another click').stopping()
|
stopper: oneOf('First click', 'Second click', 'Another click').stopping()
|
||||||
},
|
},
|
||||||
|
@ -188,7 +186,7 @@ undum.game.init = function (character, system) {
|
||||||
character.qualities.perception = 10;
|
character.qualities.perception = 10;
|
||||||
character.qualities.size = 1;
|
character.qualities.size = 1;
|
||||||
myIterators.consistentIterator =
|
myIterators.consistentIterator =
|
||||||
oneOf(['Blue', 'Black', 'Green', 'Red', 'White'])
|
oneOf('Blue', 'Black', 'Green', 'Red', 'White')
|
||||||
.inRandomOrder(system);
|
.inRandomOrder(system);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue