Skip to content

Instantly share code, notes, and snippets.

@isnullnull
Last active January 11, 2018 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isnullnull/d72ef8d9fb0d9e9872954c5e787f545c to your computer and use it in GitHub Desktop.
Save isnullnull/d72ef8d9fb0d9e9872954c5e787f545c to your computer and use it in GitHub Desktop.
RoBoHoN に赤ちゃんの「背中スイッチ」を実装した ref: https://qiita.com/n_u/items/5b06d704e7ebafd63eda
<?xml version="1.0" ?>
<hvml version="2.0">
<head>
<producer>com.dev.zdev.aswitch</producer>
<description>背中スイッチ起動</description>
<scene value="com.dev.zdev.aswitch.scn.back" />
<version value="1.0" />
<situation topic_id="0001" trigger="env-event" value="put_down_back" priority="75">true</situation>
</head>
<body>
<topic id="0001" listen="false">
<action index="1">
<speech>うえーん、横たえないで! 目が<emotion type="anger" level="2">覚めちゃったよー!</emotion> もう一回、<emotion type="anger" level="3">だっこーー!</emotion></speech>
</action>
</topic>
</body>
</hvml>
// シーン設定
public static final String SCN_BACK = PACKAGE + ".scn.back";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment