I6 Template Layer

Inform 7 6M62ContentsIntroductionFunction IndexRules Index

Load-Actions.i6t

Load-Actions contents

Data type definitions.

10{-lines:type} 11DESCRIPTION_OF_ACTION_TY: 12apply-macro:#BASE-KIND 13singular:described action 14plural:described actions 15 16instance-of:WORD_VALUE_TY 17 18constant-compilation-method:special 19 20description:a stored action 21index-priority:0 22! To represent an action test implicitly cast as a conditional rvalue 23 24 25STORED_ACTION_TY: 26apply-macro:#BASE-KIND 27singular:action 28plural:actions 29 30instance-of:POINTER_VALUE_TY 31instance-of:SAYABLE_VALUE_TY 32comparison-schema:DESCRIPTION_OF_ACTION_TY>>>*=-((STORED_ACTION_TY_Adopt(*1), SAT_Tmp-->0=(*2), STORED_ACTION_TY_Unadopt())) 33multiple-block:no 34heap-size-estimate:16 35can-exchange:yes 36 37distinguisher:STORED_ACTION_TY_Distinguish 38i6-printing-routine:STORED_ACTION_TY_Say 39comparison-routine:BlkValueCompare 40constant-compilation-method:special 41 42description:a stored action 43documentation-reference:kind_storedaction 44index-default-value:waiting 45specification-text:A stored action, which can later be tried. 46 47 48ACTION_NAME_TY: 49apply-macro:#BASE-KIND 50singular:action name 51plural:action names 52 53instance-of:WORD_VALUE_TY 54instance-of:SAYABLE_VALUE_TY 55default-value:##Wait 56 57loop-domain-schema:for (*2=0,*1=ActionNumberIndexed(*2): *2<AD_RECORDS: *2++,*1=ActionNumberIndexed(*2)) 58i6-printing-routine:SayActionName 59constant-compilation-method:special 60 61description:an action name 62documentation-reference:kind_actionname 63index-priority:6 64index-default-value:waiting action 65specification-text:An action is what happens when one of the people in the simulated world decides to do something. A full action would be something like 'dropping the box', but an action name is just the choice of which sort of thing is being done: here, it's 'the dropping action'. (Action names are always written with the word 'action' at the end, to make sure they aren't mistaken for full actions.) 66 67{-endlines} 68{-callv:Kinds::Interpreter::batch_done}