-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
251 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,120 @@ | ||
import { TouchActionConfig } from '@/types/touch'; | ||
import { TouchActionConfig, TouchAreaEnum } from '@/types/touch'; | ||
|
||
export const DEFAULT_TOUCH_CONFIG: TouchActionConfig = { | ||
arm: [], | ||
belly: [], | ||
chest: [], | ||
enabled: false, | ||
head: [], | ||
leg: [], | ||
export const DEFAULT_TOUCH_ACTION_CONFIG: TouchActionConfig = { | ||
[TouchAreaEnum.Head]: [ | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '哇!最喜欢摸摸头!', | ||
}, | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '感觉又充满了力量呢!', | ||
}, | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '哇塞,这个摸摸头的感觉好神奇!', | ||
}, | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '摸摸头让我开心一整天!', | ||
}, | ||
{ | ||
emotion: 'sad', | ||
enabled: true, | ||
text: '听说被摸头是会长不高的呢!', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '干嘛戳我呀?', | ||
}, | ||
], | ||
[TouchAreaEnum.Arm]: [ | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '啊,好喜欢呢~', | ||
}, | ||
{ | ||
emotion: 'relaxed', | ||
enabled: true, | ||
text: '主人的手好温暖啊~', | ||
}, | ||
{ | ||
emotion: 'happy', | ||
enabled: true, | ||
text: '哈哈,牵手让我感到快乐~', | ||
}, | ||
], | ||
[TouchAreaEnum.Leg]: [ | ||
{ | ||
emotion: 'surprised', | ||
enabled: true, | ||
text: '让我们保持纯洁的友谊不好吗?', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '喂,你是要作死吗?', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '主人的手又不听指挥了吗?', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '讨厌~会痒的啦~!', | ||
}, | ||
], | ||
[TouchAreaEnum.Chest]: [ | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '不可以这样欺负我啦!快把手拿开!', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '幺幺零吗?这里有个变态一直在摸我!', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '再摸的话我可要报警了', | ||
}, | ||
{ | ||
emotion: 'surprised', | ||
enabled: true, | ||
text: '干嘛戳我呀!还能不能愉快地聊天了!', | ||
}, | ||
], | ||
[TouchAreaEnum.Belly]: [ | ||
{ | ||
emotion: 'surprised', | ||
enabled: true, | ||
text: '是不小心碰到的吧...', | ||
}, | ||
{ | ||
emotion: 'angry', | ||
enabled: true, | ||
text: '干嘛动我呀,小心我咬你哦!', | ||
}, | ||
{ | ||
emotion: 'relaxed', | ||
enabled: true, | ||
text: '醒醒,我们之间没有结果的!', | ||
}, | ||
{ | ||
emotion: 'relaxed', | ||
enabled: true, | ||
text: '讨厌!我可要生气啦!', | ||
}, | ||
], | ||
enabled: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.