diff --git a/devNotes/jsEventCreationGuide.md b/devNotes/jsEventCreationGuide.md index 65709fcdeff046fd255148a566ead0ff680b0e9c..1f5b9da3a6a2ea8b1d0730b5e62b42e4f6f143a1 100644 --- a/devNotes/jsEventCreationGuide.md +++ b/devNotes/jsEventCreationGuide.md @@ -28,14 +28,22 @@ App.Events.MyEvent = class MyEvent extends App.Events.BaseEvent { // Dual slave return [ - [ + [ // here's the first actor, just like above + s => canWalk(s), + s => s.fetish !== "mindbroken", + s => s.devotion >= 50, + s => s.trust <= 20 + ], + [ // and in this case the second actor must be the first actor's mother s => s.ID === getSlave(this.actors[0]).mother ] ]; - // The second actor to be the first actor's mother. - - // empty example + + // Wants one actor, but "any slave will do" return [[]]; + + // Empty (no actors at all) + return []; } execute(node) {