I love defining kinds of value in a table. But I’m not sure if I can define all the properties I want here. How can I add the “repeatable” condition to this table?
[code]A turn-based event is a kind of value. Some turn-based events are defined by the Table of Turn-based Events.
A turn-based event has a stored action called the scheduled action. The scheduled action of a turn-based event is usually the action of waiting.
A turn-based event has a turn-based event called the next move. The next move of a turn-based event is usually normal keyboard input.
A turn-based event can be repeatable. A turn-based event has a number called the maximum repeats. The maximum repeats of a turn-based event is usually 100. A turn-based event can be uneventful.
Table of Turn-based Events
turn-based event scheduled action (stored action) maximum repeats (number)
normal keyboard input – --
Test is a room.
When play begins:
repeat with E running through turn-based events:
showme the maximum repeats of E;
showme whether or not E is repeatable;[/code]
Everything I’ve tried gives a compiler error.
Also, I thought leaving a table cell blank would give it the kind’s default value - apparently it doesn’t because the maximum repeats is 0. Is there any way to specify in the table that we want to use the default value?