This commit is contained in:
Martin Haye 2016-07-28 08:21:34 -07:00
commit 036fef041a

View File

@ -99,6 +99,13 @@
</value>
</block>
<block type="text_println"></block>
<block type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT"></field>
</block>
</value>
</block>
<block type="text_getanykey"></block>
<block type="text_mode"></block>
<block type="text_scroll"></block>
@ -129,6 +136,19 @@
<category name="Sound">
</category>
<category name="Preconnected">
<!-- Press any key -->
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
</next>
</block>
<!-- Show portrait / Text -->
<block type="graphics_set_portrait">
<field name="NAME">Name</field>
<next>
@ -158,25 +178,38 @@
</block>
</next>
</block>
<!-- Special (show portrait and step back -->
<block type="graphics_set_portrait">
<field name="NAME">Name</field>
<next>
<block type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT">Text</field>
</block>
</block>
</value>
<next>
<block type="text_getanykey">
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="events_move_backward"></block>
<block type="text_getanykey">
<next>
<block type="events_move_backward"></block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<!-- Exit -->
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
@ -203,6 +236,8 @@
</block>
</next>
</block>
<!--Puzzle-->
<block type="graphics_set_portrait">
<field name="NAME">Name</field>
<next>
@ -239,28 +274,46 @@
</block>
</value>
<statement name="DO0">
<block inline="false" type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT">Affirmative Response</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block inline="false" type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT">Negative Response</field>
</block>
</value>
<next>
<block type="text_getanykey">
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="events_move_backward"></block>
<block type="text_getanykey">
<next>
<block type="events_move_backward"></block>
</next>
</block>
</next>
</block>
</next>
@ -275,6 +328,8 @@
</block>
</next>
</block>
<!-- Boss Battle -->
<block inline="false" type="controls_if">
<mutation else="1"></mutation>
<value name="IF0">
@ -299,34 +354,52 @@
<block type="graphics_set_portrait">
<field name="NAME">Boss pic</field>
<next>
<block inline="false" type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text" >
<block type="text">
<field name="TEXT">Pre-boss fight message</field>
</block>
</value>
<next>
<block type="text_getanykey" >
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="events_start_encounter">
<field name="CODE">Boss code</field>
<block type="text_getanykey">
<next>
<block type="graphics_set_portrait" >
<field name="NAME">Combat win</field>
<block type="events_start_encounter">
<field name="CODE">Boss code</field>
<next>
<block type="text_clear_window" >
<block type="graphics_set_portrait">
<field name="NAME">Combat win</field>
<next>
<block inline="false" type="text_print" >
<value name="VALUE">
<block type="text" >
<field name="TEXT">winning message</field>
</block>
</value>
<block type="text_clear_window">
<next>
<block type="interaction_give_item" >
<field name="NAME">Quest item</field>
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT">winning message</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="interaction_give_item">
<field name="NAME">Quest item</field>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
@ -345,58 +418,69 @@
</block>
</statement>
</block>
<block type="graphics_set_portrait" >
<!-- Shop -->
<block type="graphics_set_portrait">
<field name="NAME">picture</field>
<next>
<block type="text_clear_window" >
<block type="text_clear_window">
<next>
<block inline="false" type="text_print" >
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text" >
<field name="TEXT">text</field>
<block type="text">
<field name="TEXT">Question Y/N</field>
</block>
</value>
<next>
<block inline="false" type="controls_if" >
<block inline="false" type="controls_if">
<value name="IF0">
<block type="text_getboolean"></block>
</value>
<statement name="DO0">
<block inline="false" type="controls_if" >
<block inline="false" type="controls_if">
<mutation else="1"></mutation>
<value name="IF0">
<block inline="true" type="logic_compare" >
<block inline="true" type="logic_compare">
<field name="OP">GTE</field>
<value name="A">
<block type="interaction_get_stat" >
<block type="interaction_get_stat">
<field name="NAME">Gold</field>
</block>
</value>
<value name="B">
<block type="math_number" >
<block type="math_number">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="interaction_decrease_stat" >
<block type="interaction_decrease_stat">
<field name="NAME">Gold</field>
<field name="AMOUNT">0</field>
<next>
<block type="text_clear_window" >
<block type="text_clear_window">
<next>
<block inline="false" type="text_print" >
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text" >
<block type="text">
<field name="TEXT">text for sold</field>
</block>
</value>
<next>
<block type="interaction_give_item" >
<field name="NAME">item</field>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block type="interaction_give_item">
<field name="NAME">item</field>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</next>
@ -407,16 +491,25 @@
</block>
</statement>
<statement name="ELSE">
<block type="text_clear_window" >
<block type="text_clear_window">
<next>
<block inline="false" type="text_print" >
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text" >
<block type="text">
<field name="TEXT">Text for no sale</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</next>
@ -425,7 +518,7 @@
</block>
</statement>
<next>
<block type="events_move_backward"></block>
<block type="events_move_backward"></block>
</next>
</block>
</next>
@ -434,10 +527,12 @@
</block>
</next>
</block>
<block inline="false" type="text_print">
<!-- Treasure -->
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT"></field>
<field name="TEXT">Text Y/N</field>
</block>
</value>
<next>
@ -450,22 +545,29 @@
<mutation else="1"></mutation>
<value name="IF0">
<block type="interaction_has_item">
<field name="NAME"></field>
<field name="NAME">Item</field>
</block>
</value>
<value name="IF0">
</value>
<statement name="DO0">
<block type="text_clear_window">
<next>
<block inline="false" type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT"></field>
<field name="TEXT">Text</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</next>
@ -474,17 +576,26 @@
<statement name="ELSE">
<block type="text_clear_window">
<next>
<block inline="false" type="text_print">
<block inline="false" type="text_println">
<value name="VALUE">
<block type="text">
<field name="TEXT"></field>
<field name="TEXT">Text</field>
</block>
</value>
<next>
<block type="interaction_give_item">
<field name="NAME"></field>
<block inline="false" type="text_print">
<value name="VALUE">
<block type="text">
<field name="TEXT">(press any key)</field>
</block>
</value>
<next>
<block type="text_getanykey"></block>
<block type="interaction_give_item">
<field name="NAME">item</field>
<next>
<block type="text_getanykey"></block>
</next>
</block>
</next>
</block>
</next>
@ -498,6 +609,7 @@
</next>
</block>
</category>
</xml>