fun: kittanspeak
This commit is contained in:
parent
2d2adbbfd6
commit
e13d33fbbf
|
@ -115,6 +115,26 @@ export default async function createHomestead(id) {
|
||||||
Controlled: {},
|
Controlled: {},
|
||||||
Direction: {direction: 2},
|
Direction: {direction: 2},
|
||||||
Forces: {},
|
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},
|
Position: {x: 250, y: 250},
|
||||||
Speed: {speed: 20},
|
Speed: {speed: 20},
|
||||||
Sprite: {
|
Sprite: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user