Compare commits

...

2 commits

3 changed files with 22 additions and 2 deletions

View file

@ -106,7 +106,8 @@ Humanity: {link("-", "hum_minus")} {humanity} {link("+", "hum_plus")}
You have {attrpoints} points left.
+ Next -> step2
+ {attrpoints == 0} Next [] -> step2
+ hideme -> step1
=== step2
@ -116,7 +117,7 @@ Choose your magic type.
+ Writing Magic<st>Manifest words into reality. If you write BOOM, it's an explosion; if you write EXIT, it's a new door.</st>[]
~ magic = "writing"
-> step_skills
+ Comic Magic<st>You run on comic logic.</st>
+ Comic Magic<st>If you need a hammer, you can just turn your arm into one.</st>
~ magic = "comic"
-> step_skills

View file

@ -74,6 +74,24 @@
//~ attr = LIST_MIN(nextDice)
~ return true
=== function inverse (attr)
{ attr:
- d2:
~ return d20
- d4:
~ return d12
- d6:
~ return d10
- d8:
~ return d8
- d10:
~ return d6
- d12:
~ return d4
- d20:
~ return d2
}
=== function plus (ref attr)
~ return _plus(attr, false)

View file

@ -134,6 +134,7 @@ function continueToNextChoice (s: any) {
for (j = 0, len = ref.length; j < len; j++) {
choice = ref[j];
let text = transform(choice.text)
if (text === 'hideme') continue;
if (mode === 'parser') {
text = text.replace("> ", "")
let verb = text;