-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
30 lines (27 loc) · 754 Bytes
/
init.lua
File metadata and controls
30 lines (27 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local bt = require("bt")
local flower = require("selector.flower")
local valentine = require("selector.valentine")
local buy_flower = require("action.buy_flower")
local check_money = require("action.check_money")
local play_ball = require("action.play_ball")
local see_gf = require("action.see_gf")
local take_money = require("action.take_money")
local root = {
selector = {
{
condition = valentine.condition,
selector = valentine.selector,
},
{
condition = flower.condition,
selector = flower.selector,
},
check_money,
buy_flower,
take_money,
see_gf,
play_ball,
}
}
local bt = bt:new(root)
bt:describe('today.valentine')