fun: kittanspeak

This commit is contained in:
cha0s 2024-07-22 03:55:49 -05:00
parent 2d2adbbfd6
commit e13d33fbbf

View File

@ -115,6 +115,26 @@ export default async function createHomestead(id) {
Controlled: {},
Direction: {direction: 2},
Forces: {},
Interactive: {
interacting: 1,
interactScript: `
const lines = [
'mrowwr',
'p<shake>rrr</shake>o<wave>wwwww</wave>',
'mew<rate frequency={0.5}> </rate>mew!',
'me<wave>wwwww</wave>',
'pu<shake>rrrrr</shake>',
];
const line = lines[Math.floor(Math.random() * lines.length)];
subject.Interlocutor.dialogue({
body: line,
linger: 2,
origin: 'track',
position: {x: subject.Position.x, y: subject.Position.y - 32},
})
`,
},
Interlocutor: {},
Position: {x: 250, y: 250},
Speed: {speed: 20},
Sprite: {