add item to auto deposit

This commit is contained in:
shoopea 2019-09-09 14:15:59 +08:00
parent 306f1d5e32
commit 9f8ada28e8

1
bot.go
View File

@ -659,6 +659,7 @@ func botGDepositAll(m *tb.Message) {
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`23`, `Coke`))
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`24`, `Purified Powder`))
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`31`, `Rope`))
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`35`, `Crafted Leather`))
list := getSQLListID64(fmt.Sprintf("select o.id from obj o where o.obj_sub_type_id = %d;", objSubTypeItemRecipe))
p.ResObjID64 = append(p.ResObjID64, list...)