Hello
I have created a room with 5 tables at which various amounts of people sit.
When the player approaches a table, the story will show a list of all the people at that table.
I want the following code to show features of each player from a list of people (specified in the description under [list of people]) at that specific table. And subsequently for all the other tables as well.
The code should be separate for each table.
Here is the code:
Planning Section Table is a room. The description of the Planning Section Table is "A big square table seating eight people. At the west side of the table sits the [bold type]Planning Section Chief and the Situation Unit Leader[roman type], at the south side of the table sits the [bold type]Damage Assessment Unit Leader and the Recovery Coordinator[roman type], at the east side of the table sits the [bold type]Resource Tracking Unit Leader and the Demobilization Coordinator[roman type] and at the north side of the table sits the [bold type]Documentation Unit Leader and the Information Management Coordinator[roman type][paragraph break]Go west to the Inside-EOC or south to the Financial Section Table or north to the Public Information & Operations Section Table[paragraph break][list of people]Planning Section Chief, Situation Unit Leader, Damage Assessment Unit Leader, Recovery Coordinator, Resource Tracking Unit Leader, Demobilization Coordinator, Documentation Unit Leader, Information Management Coordinator."
*Feature is a kind of value. The features are honest, accountable, organized, loyal, punctual, flexible, team player, creative, technological competent and problem solver.*
*Appearance relates various persons to various features. The verb to appear means the appearance relation.*
*Planning Section Chief appears honest.*
*Situation Unit Leader appears accountable.*
*Damage Assessment Unit Leader appears loyal.*
*Recovery Coordinator appears honest.*
*Resource Tracking Unit Leader appears organized.*
*Demobilization Coordinator appears technological competent.*
*Documentation Unit Leader appears accountable.*
*Information Management Coordinator appears punctual.*
*To say list of people:*
* say "[paragraph break]The honest ones: [list of people who appear honest][paragraph break]";*
* say "The accountable ones: [list of people who appear accountable][paragraph break]";*
* say "The organized ones: [list of people who appear organized][paragraph break]";*
* say "The loyal ones: [list of people who appear loyal][paragraph break]";*
* say "The punctual ones: [list of people who appear punctual][paragraph break]";*
* say "The flexible ones: [list of people who appear flexible][paragraph break]";*
* say "The Team player ones: [list of people who appear team player][paragraph break]";*
* say "The creative ones: [list of people who appear creative][paragraph break]";*
* say "The technological competent ones: [list of people who appear technological competent][paragraph break]";*
* say "The problem solver ones: [list of people who appear problem solver][paragraph break]".*
The part that starts with Feature is a value… needs to function at each table separately only evaluating the people at that table and not the others.
Currently that code evaluates everybody in the room.
I have struggled the whole afternoon trying to figure this out but now I need your help please.