AristoteQuest:
type: assignment
interact scripts:
- 1 AristoteMain
AristoteMain:
type: interact
steps:
1:
click trigger:
script:
- engage
- narrate "<npc.name> //works"
- define message "My custom message."
- run RealisticChat def:<npc.name>|<def[message]>
- disengage
RealisticChat:
type: task
debug: false
script:
- narrate "<def[1]><&co> <def[2]>"
- - spawn armor_stand[has_ai=false;display_name=test] <npc.location.add[0,2,0]> save:bubble
+ - spawn armor_stand[has_ai=false;display_name=<def[2]>] <npc.location.add[0,2,0]> save:bubble
- define chat <entry[bubble].spawned_entities.get[1]>
- mount <def[chat]>|<npc> <npc.location>
- adjust <def[chat]> has_ai:false
- adjust <def[chat]> visible:false
- adjust <def[chat]> custom_name_visible:true
- adjust <def[chat]> custom_name:<aqua><tata>
- wait 3s
- remove <def[chat]>