Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/zaxage_demo_01.prog.abap
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ CLASS main IMPLEMENTATION.
result->add( |You are in the { engine->player->location->name }.| ). " { player->location->description }|.
text->set_textstream( result->get( ) ).

IF engine->player->location->things->exists( 'RFC' ).
IF engine->player->location = bill_developer->location AND
engine->player->location->things->exists( 'RFC' ).
engine->mission_completed = abap_true.
ENDIF.

Expand Down
3 changes: 2 additions & 1 deletion src/zcl_axage_demo1.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ CLASS zcl_axage_demo1 IMPLEMENTATION.
out->write( interprete( 'EAST' )->get( ) ).
out->write( interprete( 'TAKE KNIFE' )->get( ) ).

IF engine->player->location->things->exists( 'RFC' ).
IF engine->player->location = bill_developer->location AND
engine->player->location->things->exists( 'RFC' ).
engine->mission_completed = abap_true.
out->write( 'Congratulations! You delivered the RFC to the developers!' ).
ENDIF.
Expand Down