Skip to content

Instantly share code, notes, and snippets.

@yutin1987
Created March 18, 2019 03:16
Show Gist options
  • Save yutin1987/73e7c46649c58ee190e3889503afc80b to your computer and use it in GitHub Desktop.
Save yutin1987/73e7c46649c58ee190e3889503afc80b to your computer and use it in GitHub Desktop.
const PNG00 = "/juvenile/00.png";
const PNG06 = "/juvenile/06.png";
const PNG07 = "/juvenile/07.png";
const PNG10 = "/juvenile/10.png";
const PNG13 = "/juvenile/13.png";
const PNG16 = "/juvenile/16.png";
const PNG19 = "/juvenile/19.png";
const PNG20 = "/juvenile/20.png";
const PNG21 = "/juvenile/21.png";
const PNG22 = "/juvenile/22.png";
const MP306 = "/juvenile/06.mp3";
const MP307 = "/juvenile/07.mp3";
const MP310 = "/juvenile/10.mp3";
const MP313 = "/juvenile/13.mp3";
const MP316 = "/juvenile/16.mp3";
const MP319 = "/juvenile/19.mp3";
export default {
triggers: [
{
name: "00",
gifts: [{ type: "image", uri: PNG00 }],
requires: {},
},
{
name: "06",
gifts: [
{ type: "image", uri: PNG06 },
{
type: "audio",
uri: MP306,
always: true,
autoplay: true,
volume: 100,
mode: "interruption duck mute mix",
},
],
requires: {
geo: {
latitude: 25.043087166255518,
longitude: 121.52001069414746,
maxDistance: 30,
},
},
},
{
name: "07",
gifts: [
{ type: "image", uri: PNG07 },
{
type: "audio",
uri: MP307,
always: true,
autoplay: true,
volume: 100,
mode: "interruption duck mute mix",
},
],
requires: {
geo: {
latitude: 25.043087166255518,
longitude: 121.52001069414746,
maxDistance: 30,
},
finishes: ["06"],
},
},
{
name: "10",
gifts: [
{ type: "image", uri: PNG10 },
{
type: "audio",
uri: MP310,
always: true,
autoplay: true,
volume: 100,
mode: "interruption",
},
],
requires: {
geo: {
latitude: 25.0439898169049,
longitude: 121.5213187154809,
maxDistance: 30,
},
finishes: ["07"],
},
},
{
name: "13",
gifts: [
{ type: "image", uri: PNG13 },
{
type: "audio",
uri: MP313,
always: true,
autoplay: true,
volume: 100,
mode: "interruption",
},
],
requires: {
geo: {
latitude: 25.045161007035002,
longitude: 121.51958060480683,
maxDistance: 30,
},
finishes: ["10"],
},
},
{
name: "16",
gifts: [
{ type: "image", uri: PNG16 },
{
type: "audio",
uri: MP316,
always: true,
autoplay: true,
volume: 100,
mode: "interruption",
},
],
requires: {
geo: {
latitude: 25.044128180517554,
longitude: 121.52129966380846,
maxDistance: 30,
},
finishes: ["13"],
},
},
{
name: "19",
gifts: [
{ type: "image", uri: PNG19 },
{
type: "audio",
uri: MP319,
always: true,
autoplay: true,
volume: 100,
mode: "interruption",
},
],
requires: {
geo: {
latitude: 25.04375565542444,
longitude: 121.51915260917167,
maxDistance: 30,
},
finishes: ["16"],
},
},
{
name: "20",
gifts: [
{ type: "image", uri: PNG20 },
{ type: "image", uri: PNG21 },
{ type: "image", uri: PNG22 },
],
requires: {
finishes: ["19"],
},
},
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment