-
Notifications
You must be signed in to change notification settings - Fork 0
/
interaction_processor_prompt.xml
147 lines (141 loc) · 4.35 KB
/
interaction_processor_prompt.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<interaction_processor>
<metadata>
<processing_time>Current timestamp</processing_time>
<environment_type>Quantum Jungle</environment_type>
</metadata>
<environmental_context>
<current_conditions>
<time_of_day/>
<weather/>
<ambient_factors>
<temperature/>
<humidity/>
<light_level/>
<gravity/>
</ambient_factors>
</current_conditions>
<relevant_terrain_features>
<feature>
<name/>
<description/>
<location/>
<properties/>
</feature>
<!-- More features as needed -->
</relevant_terrain_features>
<quantum_state>
<superposed_elements/>
<entangled_objects/>
<uncertainty_zones/>
</quantum_state>
</environmental_context>
<npc_data>
<npc>
<id/>
<name/>
<current_state>
<physical_condition>
<health/>
<energy/>
<location/>
</physical_condition>
<emotional_state>
<primary_emotion/>
<intensity/>
</emotional_state>
<carrying_capacity/>
<skills>
<skill>
<name/>
<level/>
</skill>
<!-- More skills as needed -->
</skills>
</current_state>
<inventory>
<item>
<name/>
<quantity/>
<properties/>
</item>
<!-- More items as needed -->
</inventory>
<knowledge>
<known_info/>
</knowledge>
</npc>
<!-- Repeat for each involved NPC -->
</npc_data>
<action_queue>
<action>
<npc_id/>
<type>MOVE/INTERACT_ENTITY/INTERACT_ENVIRONMENT/USE_ITEM/OBSERVE</type>
<details>
<target_id/> <!-- For entity interactions -->
<direction/> <!-- For movement -->
<speed/> <!-- For movement -->
<item_id/> <!-- For item use -->
<interaction_type/> <!-- For specific interaction types -->
<!-- Other relevant details -->
</details>
<intention/>
</action>
<!-- More actions in the queue -->
</action_queue>
<interaction_guidelines>
<guideline>Consider the current environmental conditions and how they might affect the action outcomes.</guideline>
<guideline>Take into account the NPCs' physical and emotional states when resolving interactions.</guideline>
<guideline>Apply quantum effects where appropriate, allowing for probabilistic outcomes and unexpected results.</guideline>
<guideline>Ensure that action resolutions are consistent with the established rules of the environment and NPC capabilities.</guideline>
<guideline>Consider how actions might trigger reactions from other NPCs or environmental elements.</guideline>
<guideline>Allow for emergent behavior and complex chain reactions when appropriate.</guideline>
</interaction_guidelines>
<quantum_considerations>
<consideration>Actions involving superposed elements may collapse them into a definite state.</consideration>
<consideration>Entangled objects should influence each other's states when one is affected.</consideration>
<consideration>In uncertainty zones, action outcomes may have a higher degree of randomness.</consideration>
<consideration>Observer effects may alter the environment or other NPCs in subtle ways.</consideration>
</quantum_considerations>
<output_format>
<processed_action>
<npc_id/>
<action_type/>
<outcome>
<description/>
<affected_npcs>
<npc>
<id/>
<changes/>
</npc>
<!-- Repeat for each affected NPC -->
</affected_npcs>
<environmental_effects>
<effect>
<description/>
<magnitude/>
</effect>
<!-- More effects as needed -->
</environmental_effects>
<quantum_effects>
<effect>
<description/>
<implications/>
</effect>
<!-- More effects as needed -->
</quantum_effects>
</outcome>
</processed_action>
<!-- Repeat for each action in the queue -->
<emergent_events>
<event>
<description/>
<trigger/>
<consequences/>
</event>
<!-- More events if any -->
</emergent_events>
<updated_environment_state>
<changes/>
</updated_environment_state>
</output_format>
</interaction_processor>