${scene.setting}
红烧肉的秘密
const characters = [
{ name: "小美", role: "美食博主" },
{ name: "阿强", role: "家里的大厨" }
];
const scenes = [
{
setting: "厨房",
dialogue: [
{ speaker: "小美", line: "今天我来教大家红烧肉的做法!" },
{ speaker: "阿强", line: "我可是一把好手,你要跟我学吗?" },
{ speaker: "小美", line: "当然!我们要准备五花肉!" }
]
},
{
setting: "厨房",
dialogue: [
{ speaker: "阿强", line: "记得要切成大块,这样才好入味。" },
{ speaker: "小美", line: "好的,接下来我们要焯水!" }
]
},
{
setting: "厨房",
dialogue: [
{ speaker: "阿强", line: "焯水后,放点油,煸炒出油脂。" },
{ speaker: "小美", line: "然后加入生抽、老抽和冰糖,对吧?" },
{ speaker: "阿强", line: "没错,糖要炒至焦糖色!" }
]
},
{
setting: "厨房",
dialogue: [
{ speaker: "小美", line: "加水慢炖,香味扑鼻而来!" },
{ speaker: "阿强", line: "看看,这才是真正的红烧肉!" }
]
},
{
setting: "厨房",
dialogue: [
{ speaker: "小美", line: "太好吃了!今天的菜谱你们都学会了吗?" },
{ speaker: "阿强", line: "快去试试吧,红烧肉在等你们!" }
]
}
];
scenes.forEach(scene => {
document.write(``);
scene.dialogue.forEach(dialogue => {
document.write(`
${dialogue.speaker}: ${dialogue.line}
`);});
});