8,756
edits
mNo edit summary |
(fixed bug that didn't link to the next node if a quest step was completed or accepted) |
||
Line 1: | Line 1: | ||
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;font-size:medium;" |{{Qud text|&W{{{number|1}}}&y) {{#if: | <includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;font-size:medium;" |{{Qud text|&W{{{number|1}}}&y) {{#if: {{{end|}}}|{{{text|}}}| | ||
{{#ifeq:{{{tonode|}}}| end |{{{text|}}}| {{#ifeq:{{{tonode|}}}| endfight | {{{text|}}} |[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} }}}}}} | {{#ifeq:{{{tonode|}}}| end |{{{text|}}}| {{#ifeq:{{{tonode|}}}| endfight | {{{text|}}} |[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} }}}}}} | ||
| style="padding: 10px; width:35%;background: #103837;border-left:4px solid #155352;font-size:medium;"|{{#if: {{{comment|}}}{{{quest|}}}{{{step|}}}{{{tonode|}}}|{{{comment|}}}{{#ifeq: {{{step|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest}}}]]]}}|{{#if: {{{quest|}}} |{{Color | K |[{{#ifeq: {{{step|}}} | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}| | | style="padding: 10px; width:35%;background: #103837;border-left:4px solid #155352;font-size:medium;"|{{#if: {{{comment|}}}{{{quest|}}}{{{step|}}}{{{tonode|}}}|{{{comment|}}}{{#ifeq: {{{step|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest}}}]]]}}|{{#if: {{{quest|}}} |{{Color | K |[{{#ifeq: {{{step|}}} | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}|#{{{step|}}}{{!}}{{{step}}}}}]]}}]}}}}}}{{#ifeq: {{{step2|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest2}}}]]]}}| | ||
{{#if: {{{quest2|}}} |{{Color | K |[{{#ifeq: {{{step2|}}} | reward |Receive Quest Rewards: [[{{{quest2}}}#Rewards]]|Complete Quest Step: [[{{{quest2}}}{{#if: {{{step2|}}}|#{{{step2}}}{{!}}{{{step2}}}}}]]}}]}}}}{{#if: {{{tonode|}}}|{{#ifeq: {{{tonode|}}} | endfight |{{Color | R |[Fight]}}|{{#ifeq: {{{tonode|}}} | end |{{Color | K |[End]}}}}}}}}}}}} | {{#if: {{{quest2|}}} |{{Color | K |[{{#ifeq: {{{step2|}}} | reward |Receive Quest Rewards: [[{{{quest2}}}#Rewards]]|Complete Quest Step: [[{{{quest2}}}{{#if: {{{step2|}}}|#{{{step2}}}{{!}}{{{step2}}}}}]]}}]}}}}{{#if: {{{tonode|}}}|{{#ifeq: {{{tonode|}}} | endfight |{{Color | R |[Fight]}}|{{#ifeq: {{{tonode|}}} | end |{{Color | K |[End]}}}}}}}}}}}} | ||
</includeonly><noinclude>[[Category:Templates]]for use in [[Template:Qud dialogue:choice]] only. | </includeonly><noinclude>[[Category:Templates]]for use in [[Template:Qud dialogue:choice]] only. | ||
Line 39: | Line 39: | ||
{{Qud dialogue:choice| | {{Qud dialogue:choice| | ||
{{Qud dialogue:choice row|number=1|tonode= | {{Qud dialogue:choice row|number=1|tonode= FFFFF |text=yadayadaydadayda blah blah blah blah blah|comment=any comment here! |quest=quest 1|step=accept|quest2=quest 2|step2 = step 2}} | ||
{{!}}- | {{!}}- | ||
{{Qud dialogue:choice row|number=2|tonode=endfight|text = Text here!|comment = Another comment! Your mother smelled of elderberries.|}}}} | {{Qud dialogue:choice row|number=2|tonode=endfight|text = Text here!|comment = Another comment! Your mother smelled of elderberries.|}}}} |