chirpnest/sql.go
2019-05-09 15:34:34 +08:00

875 lines
131 KiB
Go
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package main
import (
"errors"
"log"
"regexp"
"strconv"
)
func initDB() {
log.Println("Setting up database...")
tx, err := db.Begin()
if err != nil {
log.Fatal(err)
}
defer tx.Rollback()
_, err = tx.Exec("set foreign_key_checks = 0")
failOnError(err, "initDB : set foreign_key_checks = 0")
var name string
rows, err := db.Query("show tables")
failOnError(err, "initDB : show tables")
for rows.Next() {
err = rows.Scan(&name)
failOnError(err, "initDB : show tables listing")
_, err = tx.Exec("drop table " + name)
failOnError(err, "initDB : drop table "+name)
}
err = rows.Err()
failOnError(err, "initDB : show tables listing end")
rows.Close()
_, err = tx.Exec("set foreign_key_checks = 1")
failOnError(err, "initDB : set foreign_key_checks = 1")
err = tx.Commit()
failOnError(err, "initDB : commit cleanup")
log.Println("Database cleaned up")
_, err = db.Exec(`CREATE TABLE code_obj_type (
id SMALLINT UNSIGNED NOT NULL
,intl_id VARCHAR(32) NOT NULL
,name VARCHAR(80) NOT NULL
,PRIMARY KEY (id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table code_obj_type")
_, err = db.Exec(`CREATE TABLE code_obj_sub_type (
id SMALLINT UNSIGNED NOT NULL
,intl_id VARCHAR(32) NOT NULL
,name VARCHAR(80) NOT NULL
,obj_type_id SMALLINT UNSIGNED NOT NULL
,PRIMARY KEY (id)
,FOREIGN KEY (obj_type_id) REFERENCES code_obj_type(id) ON DELETE CASCADE
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table code_obj_sub_type")
_, err = db.Exec(`CREATE TABLE obj (
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT
,obj_type_id SMALLINT UNSIGNED NOT NULL
,obj_sub_type_id SMALLINT UNSIGNED NOT NULL
,PRIMARY KEY (id)
,FOREIGN KEY (obj_type_id) REFERENCES code_obj_type(id) ON DELETE CASCADE
,FOREIGN KEY (obj_sub_type_id) REFERENCES code_obj_sub_type(id) ON DELETE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 0 CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj")
_, err = db.Exec(`CREATE TABLE obj_user (
obj_id BIGINT UNSIGNED NOT NULL
,telegram_id BIGINT UNSIGNED NOT NULL
,user_id VARCHAR(32) NOT NULL
,name VARCHAR(80) NOT NULL
,guild_id BIGINT UNSIGNED
,last_msg TIMESTAMP
,busy_until TIMESTAMP
,role ENUM('commander', 'bartender', 'squire', 'none')
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_user")
_, err = db.Exec(`CREATE TABLE obj_guild (
obj_id BIGINT UNSIGNED NOT NULL
,tag VARCHAR(32) NOT NULL
,name VARCHAR(80) NOT NULL
,chat_id BIGINT NOT NULL
,deposit_chat_id BIGINT NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_guild")
_, err = db.Exec(`CREATE TABLE obj_war (
obj_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT
,start_time TIMESTAMP NOT NULL
,end_time TIMESTAMP NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_war")
_, err = db.Exec(`CREATE TABLE obj_msg (
obj_id BIGINT UNSIGNED NOT NULL
,msg_id BIGINT NOT NULL
,chat_id BIGINT NOT NULL
,user_id BIGINT NOT NULL
,sender_user_id BIGINT NOT NULL
,date TIMESTAMP NOT NULL
,text VARCHAR(4096) NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,UNIQUE KEY (msg_id, chat_id, sender_user_id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_msg")
_, err = db.Exec(`CREATE TABLE obj_msg_report (
obj_id BIGINT UNSIGNED NOT NULL
,war_id BIGINT UNSIGNED NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,FOREIGN KEY (war_id) REFERENCES obj(id) ON DELETE CASCADE
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_msg_report")
_, err = db.Exec(`CREATE TABLE obj_war_report (
obj_id BIGINT UNSIGNED NOT NULL
,user_id BIGINT UNSIGNED NOT NULL
,war_id BIGINT UNSIGNED NOT NULL
,attack SMALLINT UNSIGNED NOT NULL
,defense SMALLINT UNSIGNED NOT NULL
,gold SMALLINT UNSIGNED NOT NULL
,stock SMALLINT UNSIGNED NOT NULL
,exp SMALLINT UNSIGNED NOT NULL
,stamina TINYINT NOT NULL
,crit TINYINT NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,FOREIGN KEY (war_id) REFERENCES obj(id) ON DELETE CASCADE
,UNIQUE KEY (user_id, war_id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_msg_report")
_, err = db.Exec(`CREATE TABLE obj_auction_announce (
obj_id BIGINT UNSIGNED NOT NULL
,lot_id BIGINT UNSIGNED NOT NULL
,item VARCHAR(80)
,cond VARCHAR(32)
,quality VARCHAR(32)
,seller VARCHAR(32)
,buyer VARCHAR(32)
,status VARCHAR(32)
,end TIMESTAMP NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,UNIQUE KEY (lot_id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_auction_announce")
_, err = db.Exec(`CREATE TABLE msg_rules (
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT
,prio SMALLINT NOT NULL
,descn VARCHAR(32) NOT NULL
,rule VARCHAR(4096) NOT NULL
,msg_type_id SMALLINT UNSIGNED NOT NULL
,UNIQUE KEY (id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table msg_rules")
_, err = db.Exec(`CREATE TABLE obj_item (
obj_id BIGINT UNSIGNED NOT NULL
,intl_id VARCHAR(32)
,name VARCHAR(80)
,weight SMALLINT NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,UNIQUE KEY (intl_id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_auction_announce")
_, err = db.Exec(`INSERT INTO code_obj_type (id, intl_id, name)
VALUES (` + strconv.Itoa(objTypeUser) + `, "user", "User")
,(` + strconv.Itoa(objTypeGuild) + `, "guild", "Guild")
,(` + strconv.Itoa(objTypeMessage) + `, "msg", "Message")
,(` + strconv.Itoa(objTypeWar) + `, "war", "War")
,(` + strconv.Itoa(objTypeWarReport) + `, "war_report", "War Report")
,(` + strconv.Itoa(objTypeJob) + `, "job", "Job")
,(` + strconv.Itoa(objTypeItem) + `, "item", "Item")
;`)
failOnError(err, "initDB : populate table code_obj_type")
_, err = db.Exec(`INSERT INTO code_obj_sub_type (id, intl_id, name, obj_type_id)
VALUES (` + strconv.Itoa(objSubTypeMessageUnknown) + `, "unknown", "Unknown", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageWar) + `, "war", "War report", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageMiniWar) + `, "mini_war", "Mini war reprot", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageGuildWar) + `, "guild_war", "Guilds war report", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageReport) + `, "report", "Player war report", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageGReport) + `, "g_report", "Player guilds war report", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageQuest) + `, "quest", "Quest result", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageFight) + `, "fight", "Fight result", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageHero) + `, "hero", "Hero summary", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageMe) + `, "me", "Hero short summary", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageInventory) + `, "inv", "Inventory", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessagePillageInc) + `, "pillage_inc", "Pillage incoming", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageTributeInc) + `, "tribute_inc", "Request incoming", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessagePillageAck) + `, "pillage_ack", "Pillage acknowledged", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageTributeAck) + `, "tribute_ack", "Request acknowledged", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageAuctionAnnounce) + `, "auction_announce", "Auction announce", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageTime) + `, "time", "Time", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeItemResource) + `, "item_res", "Time", ` + strconv.Itoa(objTypeItem) + `)
,(` + strconv.Itoa(objSubTypeItemAlch) + `, "item_alch", "Time", ` + strconv.Itoa(objTypeItem) + `)
,(` + strconv.Itoa(objSubTypeItemMisc) + `, "item_misc", "Time", ` + strconv.Itoa(objTypeItem) + `)
,(` + strconv.Itoa(objSubTypeItemRecipe) + `, "item_recipe", "Time", ` + strconv.Itoa(objTypeItem) + `)
,(` + strconv.Itoa(objSubTypeItemPart) + `, "item_part", "Time", ` + strconv.Itoa(objTypeItem) + `)
,(` + strconv.Itoa(objSubTypeItemOther) + `, "item_other", "Time", ` + strconv.Itoa(objTypeItem) + `)
;`)
failOnError(err, "initDB : populate table code_obj_sub_type")
_, err = db.Exec(`INSERT INTO msg_rules (prio, msg_type_id, descn, rule)
VALUES (5000, ` + strconv.Itoa(objSubTypeMessageReport) + `, "Player war report", "^(?P<Castle>[🐉🦅🐺🦈🦌🥔🌑])(?P<Guild>(\\[[A-Z]{3}\\]){0,1})(?P<User>([A-Za-z0-9 ]*)) ⚔:(?P<Attack>[0-9]+)(?P<AttackMod>\\((-|\\+)[0-9]+\\)){0,1} 🛡:(?P<Defense>[0-9]+) Lvl: (?P<Level>[0-9]+)\\nYour result on the battlefield:\\n🔥Exp: (?P<Exp>[0-9]+)\\n💰Gold: (?P<Gold>-{0,1}[0-9]+)\\n📦Stock: (?P<Stock>-{0,1}[0-9]+)(\\n)*(?P<Stamina>(🔋Stamina restored)){0,1}(\\n)*(?P<Crit>(⚡Critical strike)){0,1}(\\n)*(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageAuctionAnnounce) + `, "Auction annouce", "^Lot #(?P<Lot>[0-9]+) : (?P<Item>.*)\\nSeller: (?P<Seller>.*)\\nCurrent price: (?P<Price>[0-9]+) pouch\\(es\\)\\nBuyer: (?P<Buyer>.*)\\nEnd At: (?P<End>.*)\\nStatus: (?P<Status>.*)(\\n)*(?s:.*)")
,(5000, ` + strconv.Itoa(objSubTypeMessageTime) + `, "Time", "^In Chat Wars world now\\n(?P<Time>.*)\\n(?P<Hour>[0-9]{2}):(?P<Minute>[0-9]{2})\\n(?P<Day>[0-9]{2}) (?P<Month>[a-zA-Z]+) (?P<Year>[0-9]{4})\\n(?s:.*)");`)
failOnError(err, "initDB : populate table msg_rules")
_, err = db.Exec(`
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "01", "Thread", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "02", "Stick", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "03", "Pelt", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "04", "Bone", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "05", "Coal", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "06", "Charcoal", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "07", "Powder", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "08", "Iron Ore", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "09", "Cloth", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "10", "Silver Ore", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "100", "Pouch of Gold", 0 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "11", "Bauxite", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "12", "Cord", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "13", "Magic Stone", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "14", "Wooden Shaft", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "15", "Sapphire", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "16", "Solvent", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "17", "Ruby", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "18", "Hardener", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "19", "Steel", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "20", "Leather", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "21", "Bone Powder", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "22", "String", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "23", "Coke", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "24", "Purified Powder", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "25", "Silver Alloy", 3 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "27", "Steel Mold", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "28", "Silver Mold", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "29", "Blacksmith Frame", 3 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "30", "Artisan Frame", 3 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "31", "Rope", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "32", "Silver Frame", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "33", "Metal Plate", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "34", "Metallic Fiber", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "35", "Crafted Leather", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "36", "Quality Cloth", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "37", "Blacksmith Mold", 3 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemResource) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "38", "Artisan Mold", 3 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "39", "Stinky Sumac", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "40", "Mercy Sassafras", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "41", "Cliff Rue", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "42", "Love Creeper", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "43", "Wolf Root", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "44", "Swamp Lavender", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "45", "White Blossom", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "46", "Ilaves", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "47", "Ephijora", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "48", "Storm Hyssop", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "49", "Cave Garlic", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "50", "Yellow Seed", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "51", "Tecceagrass", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "52", "Spring Bay Leaf", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "53", "Ash Rosemary", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "54", "Sanguine Parsley", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "55", "Sun Tarragon", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "56", "Maccunut", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "57", "Dragon Seed", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "58", "Queen's Pepper", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "59", "Plasma of Abyss", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "60", "Ultramarine Dust", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "61", "Ethereal Bone", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "62", "Itacory", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "63", "Assassin Vine", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "64", "Kloliarway", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "65", "Astrulic", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "66", "Flammia Nut", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "67", "Plexisop", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "68", "Mammoth Dill", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemAlch) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "69", "Silver Dust", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "501", "Wrapping", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "502", "Leash", 2 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "505", "Wooden Arrow", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "507", "Bottle of Remedy", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "509", "Bottle of Poison", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "511", "Steel Arrow", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "513", "Silver Arrow", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "515", "Broad Arrows Pack", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "517", "Heavy Arrows Pack", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "519", "Compound Arrows Pack", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "614", "Gift Coupon: Pig", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "615", "Gift Coupon: Horse", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "617", "Gift Coupon: Mouse", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "618", "Hay", 5 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "619", "Corn", 5 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "620", "Hamsters", 5 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "621", "Cheese", 5 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "623", "Gift Coupon: Ant", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "624", "Gift Coupon: Spider", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "625", "Gift Coupon: Haunted", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "626", "Gift Coupon: Camel", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a01", "Cloth Jacket", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a02", "Leather Shirt", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a03", "Chain Mail", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a04", "Silver Cuirass", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a05", "Mithril Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a06", "Hat", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a07", "Leather Hood", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a08", "Steel Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a09", "Silver Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a10", "Mithril Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a100", "Assault Cape", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a101", "Craftsman Apron", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a102", "Stoneskin Cloak", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a11", "Sandals", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a12", "Leather Shoes", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a13", "Steel Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a14", "Silver Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a15", "Mithril Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a16", "Gloves (Item)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a17", "Leather Gloves", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a18", "Steel Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a19", "Silver Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a20", "Mithril Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a21", "Wooden Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a22", "Skeleton Buckler", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a23", "Bronze Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a24", "Silver Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a25", "Mithril Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a26", "Royal Guard Cape", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a27", "Order Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a28", "Order Helmet", 190 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a29", "Order Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a30", "Order Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a31", "Order Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a32", "Hunter Armor", 450 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a33", "Hunter Helmet", 190 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a34", "Hunter Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a35", "Hunter Gloves", 125 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a36", "Clarity Robe", 450 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a37", "Clarity Circlet", 190 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a38", "Clarity Shoes", 125 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a39", "Clarity Bracers", 125 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a40", "Pencil of Truth", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a41", "Bard's Cape", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a45", "Crusader Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a46", "Crusader Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a47", "Crusader Boots", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a48", "Crusader Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a49", "Crusader Shield", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a50", "Royal Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a51", "Royal Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a52", "Royal Boots", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a53", "Royal Gauntlets", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a54", "Royal Shield", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a55", "Ghost Armor", 480 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a56", "Ghost Helmet", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a57", "Ghost Boots", 90 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a58", "Ghost Gloves", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a59", "Lion Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a60", "Lion Helmet", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a61", "Lion Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a62", "Lion Gloves", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a63", "Demon Robe", 480 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a64", "Demon Circlet", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a65", "Demon Shoes", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a66", "Demon Bracers", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a67", "Divine Robe", 480 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a68", "Divine Circlet", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a69", "Divine Shoes", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a70", "Divine Bracers", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a71", "Storm Cloak", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a72", "Durable Cloak", 30 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a73", "Blessed Cloak", 30 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a74", "Hiking Jar", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a75", "Hiking Bag", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a76", "Stick of Wisdom", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a78", "Council Armor", 510 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a79", "Council Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a80", "Council Boots", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a81", "Council Gloves", 155 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a82", "Council Shield", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a83", "Griffin Armor", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a84", "Griffin Helmet", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a85", "Griffin Boots", 155 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a86", "Griffin Gloves", 155 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a87", "Celestial Armor", 510 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a88", "Celestial Helmet", 210 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a89", "Celestial Boots", 155 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "a90", "Celestial Gloves", 155 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "ch1", "Zombie Chest", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e1", "Cocoa Powder", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e109", "Walker Armor (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e110", "Walker Helmet (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e111", "Walker Boots (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e112", "Walker Gauntlets (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e113", "Walker Shield (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e114", "Zombie Armor (Event Gear)", 480 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e115", "Zombie Helmet (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e116", "Zombie Boots (Event Gear)", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e117", "Zombie Gauntlets (Event Gear)", 140 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e118", "Zombie Shield (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e125", "Demon Shoes (Event Item)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e128", "Manwolf Helmet (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e130", "Manwolf Gloves (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e132", "Werewolf Helmet (Event Gear)", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e139", "Nosferatu Armor (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e144", "War Club", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e147", "Manwolf Knife (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e150", "Walker Club (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e153", "Werewolf Knife (Event Gear)", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e2", "Egg", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e3", "Flour", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e4", "Milk", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "e5", "Sugar", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "est", "Evil Spirits Totem", 50 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "hw102", "Timeless Jade", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "hw104", "Shadow Bloodstone", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "hw107", "Void Emerald", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k01", "Champion Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k02", "Trident Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k03", "Hunter Shaft", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k04", "War Hammer Head", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k05", "Hunter Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k06", "Order Armor Piece", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k07", "Order Helmet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k08", "Order Boots Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k09", "Order Gauntlets Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k10", "Order Shield Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k11", "Hunter Armor Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k12", "Hunter Helmet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k13", "Hunter Boots Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k14", "Hunter Gloves Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k15", "Clarity Robe Piece", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k16", "Clarity Circlet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k17", "Clarity Shoes Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k18", "Clarity Bracers Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k19", "Thundersoul Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k20", "Doomblade Blade", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k21", "Eclipse Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k22", "Guard's Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k23", "King's Defender Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k24", "Raging Lance Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k25", "Composite Bow Shaft", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k26", "Lightning Bow Shaft", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k27", "Hailstorm Bow Shaft", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k28", "Imperial Axe Head", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k29", "Skull Crusher Head", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k30", "Dragon Mace Head", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k31", "Ghost Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k32", "Lion Blade", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k33", "Crusader Armor Piece", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k34", "Crusader Helmet Fragment", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k35", "Crusader Boots Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k36", "Crusader Gauntlets Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k37", "Crusader Shield Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k38", "Royal Armor Piece", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k39", "Royal Helmet Fragment", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k40", "Royal Boots Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k41", "Royal Gauntlets Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k42", "Royal Shield Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k43", "Ghost Armor Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k44", "Ghost Helmet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k45", "Ghost Boots Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k46", "Ghost Gloves Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k47", "Lion Armor Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k48", "Lion Helmet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k49", "Lion Boots Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k50", "Lion Gloves Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k51", "Demon Robe Piece", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k52", "Demon Circlet Fragment", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k53", "Demon Shoes Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k54", "Demon Bracers Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k55", "Divine Robe Piece", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k56", "Divine Circlet Fragment", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k57", "Divine Shoes Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k58", "Divine Bracers Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k59", "Storm Cloak Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k60", "Durable Cloak Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k61", "Blessed Cloak Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k78", "Council Armor Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k79", "Council Helmet Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k80", "Council Boots Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k81", "Council Gloves Part", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k82", "Council Shield Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k83", "Griffin Armor Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k84", "Griffin Helmet Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k85", "Griffin Boots Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k86", "Griffin Gloves Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k87", "Celestial Armor Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k88", "Celestial Helmet Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k89", "Celestial Boots Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k90", "Celestial Gloves Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k91", "Griffin Knife Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k92", "Minotaur Sword Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k93", "Phoenix Sword Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k94", "Heavy Fauchard Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k95", "Guisarme Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k96", "Meteor Bow Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k97", "Nightfall Bow Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k98", "Black Morningstar Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k99", "Maiming Bulawa Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k100", "Assault Cape Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k101", "Craftsman Apron Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemPart) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "k102", "Stoneskin Cloak Part", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p01", "Vial of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p02", "Potion of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p03", "Bottle of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p04", "Vial of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p05", "Potion of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p06", "Bottle of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p07", "Vial of Greed", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p08", "Potion of Greed", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p09", "Bottle of Greed", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p10", "Vial of Nature", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p11", "Potion of Nature", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p12", "Bottle of Nature", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p13", "Vial of Mana", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p14", "Potion of Mana", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p15", "Bottle of Mana", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p16", "Vial of Twilight", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p17", "Potion of Twilight", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p18", "Bottle of Twilight", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p19", "Vial of Morph", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p20", "Potion of Morph", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "p21", "Bottle of Morph", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "pmp", "Pumpkin", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r01", "Champion Sword Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r02", "Trident Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r03", "Hunter Bow Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r04", "War Hammer Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r05", "Hunter Dagger Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r06", "Order Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r07", "Order Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r08", "Order Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r09", "Order Gauntlets Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r10", "Order Shield Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r100", "Assault Cape Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r101", "Craftsman Apron Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r102", "Stoneskin Cloak Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r11", "Hunter Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r12", "Hunter Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r13", "Hunter Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r14", "Hunter Gloves Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r15", "Clarity Robe Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r16", "Clarity Circlet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r17", "Clarity Shoes Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r18", "Clarity Bracers Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r19", "Thundersoul Sword Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r20", "Doomblade Sword Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r21", "Eclipse Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r22", "Guard's Spear Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r23", "King's Defender Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r24", "Raging Lance Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r25", "Composite Bow Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r26", "Lightning Bow Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r27", "Hailstorm Bow Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r28", "Imperial Axe Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r29", "Skull Crusher Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r30", "Dragon Mace Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r31", "Ghost Dagger Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r32", "Lion Knife Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r33", "Crusader Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r34", "Crusader Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r35", "Crusader Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r36", "Crusader Gauntlets Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r37", "Crusader Shield Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r38", "Royal Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r39", "Royal Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r40", "Royal Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r41", "Royal Gauntlets Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r42", "Royal Shield Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r43", "Ghost Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r44", "Ghost Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r45", "Ghost Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r46", "Ghost Gloves Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r47", "Lion Armor Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r48", "Lion Helmet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r49", "Lion Boots Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r50", "Lion Gloves Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r51", "Demon Robe Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r52", "Demon Circlet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r53", "Demon Shoes Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r54", "Demon Bracers Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r55", "Divine Robe Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r56", "Divine Circlet Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r57", "Divine Shoes Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r58", "Divine Bracers Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r59", "Storm Cloak Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r60", "Durable Cloak Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r61", "Blessed Cloak Recipe", 10 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r78", "Council Armor Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r79", "Council Helmet Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r80", "Council Boots Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r81", "Council Gloves Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r82", "Council Shield Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r83", "Griffin Armor Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r84", "Griffin Helmet Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r85", "Griffin Boots Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r86", "Griffin Gloves Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r87", "Celestial Armor Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r88", "Celestial Helmet Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r89", "Celestial Boots Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r90", "Celestial Gloves Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r91", "Griffin Knife Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r92", "Minotaur Sword Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r93", "Phoenix Sword Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r94", "Heavy Fauchard Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r95", "Guisarme Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r96", "Meteor Bow Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r97", "Nightfall Bow Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r98", "Black Morningstar Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemRecipe) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "r99", "Maiming Bulawa Recipe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s01", "📕Scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s02", "📕Scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s03", "📗Scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s04", "📗Scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s05", "📘Scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s06", "📘Scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s11", "📕Rare scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s12", "📕Rare scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s13", "📗Rare scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s14", "📗Rare scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s15", "📘Rare scroll of Rage", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s16", "📘Rare scroll of Peace", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "s51", "✒Sof Engraving", 1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemMisc) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "tch", "Torch", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "td1", "Colorless shard", 50 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w01", "Wooden Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w02", "Short Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w03", "Long Sword", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w04", "Widow Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w05", "Knight's Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w06", "Elven Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w07", "Rapier", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w08", "Short Spear", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w09", "Long Spear", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w10", "Lance", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w11", "Elven Spear", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w12", "Halberd", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w13", "Kitchen Knife", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w14", "Battle Knife", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w15", "Steel Dagger", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w16", "Silver Dagger", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w17", "Mithril Dagger", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w18", "Short Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w19", "Wooden Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w20", "Long Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w21", "Elven Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w22", "Forest Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w23", "Club", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w24", "Bone Club", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w25", "Heavy Club", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w26", "Steel Axe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w27", "Mithril Axe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w28", "Champion Sword", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w29", "Trident", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w30", "Hunter Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w31", "War Hammer", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w32", "Hunter Dagger", 180 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w33", "Thundersoul Sword", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w34", "Doomblade Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w35", "Eclipse", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w36", "Guard's Spear", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w37", "King's Defender", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w38", "Raging Lance", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w39", "Composite Bow", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w40", "Lightning Bow", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w41", "Hailstorm Bow", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w42", "Imperial Axe", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w43", "Skull Crusher", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w44", "Dragon Mace", 200 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w45", "Ghost Dagger", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w46", "Lion Knife", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w91", "Griffin Knife", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w92", "Minotaur Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w93", "Phoenix Sword", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w94", "Heavy Fauchard", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w95", "Guisarme", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w96", "Meteor Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w97", "Nightfall Bow", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w98", "Black Morningstar", -1 FROM obj;
INSERT INTO obj (obj_type_id, obj_sub_type_id) VALUES (` + strconv.Itoa(objTypeItem) + `, ` + strconv.Itoa(objSubTypeItemOther) + `); COMMIT; INSERT INTO obj_item (obj_id, intl_id, name, weight) SELECT MAX(id), "w99", "Maiming Bulawa", 0 FROM obj;
`)
failOnError(err, "initDB : populate table obj_item")
log.Println("Database set up")
}
func putUnprocessedMsg(m ChatWarsMessage) (int64, error) {
res, err := db.Exec(`INSERT INTO obj (obj_type_id, obj_sub_type_id)
VALUES (` + strconv.Itoa(objTypeMessage) + `,` + strconv.Itoa(objSubTypeMessageUnknown) + `);`)
if err != nil {
return 0, err
}
objId, err := res.LastInsertId()
if err != nil {
return 0, err
}
stmt, err := db.Prepare(`INSERT INTO obj_msg (obj_id, msg_id, chat_id, user_id, sender_user_id, date , text)
VALUES (?, ?, ?, ?, ?, FROM_UNIXTIME(?), ?);`)
if err != nil {
return 0, err
}
defer stmt.Close()
_, err = stmt.Exec(objId, m.ID64, m.ChatID64, m.UserID64, m.SenderUserID64, m.Date, m.Text)
if err != nil {
return 0, err
}
return objId, nil
}
func getMsg(objId int64) (ChatWarsMessage, error) {
var m ChatWarsMessage
stmt, err := db.Prepare(`SELECT om.msg_id, om.chat_id, om.sender_user_id, UNIX_TIMESTAMP(om.date), om.text FROM obj_msg om WHERE om.obj_id = ?`)
if err != nil {
return m, err
}
defer stmt.Close()
err = stmt.QueryRow(objId).Scan(&m.ID64, &m.ChatID64, &m.SenderUserID64, &m.Date, &m.Text)
if err != nil {
return m, err
}
return m, nil
}
func getObjSubTypeId(objId int64) (int64, error) {
var objSubTypeId int64
stmt, err := db.Prepare(`SELECT o.sub_type_id FROM obj o WHERE o.id = ?`)
if err != nil {
return 0, err
}
defer stmt.Close()
err = stmt.QueryRow(1).Scan(&objSubTypeId)
if err != nil {
return 0, err
}
return objSubTypeId, nil
}
func insertMsgReport(objId int64, war_date int32, atk int32, def int32, exp int32, gold int32, stock int32, crit bool, stamina bool) error {
objSubTypeId, err := getObjSubTypeId(objId)
if err != nil {
return err
}
if objSubTypeId != objSubTypeMessageUnknown {
return errors.New("Message is not of type Unknown")
}
/*
obj_id BIGINT UNSIGNED NOT NULL
,war_date TIMESTAMP NOT NULL
,attack SMALLINT UNSIGNED NOT NULL
,defense SMALLINT UNSIGNED NOT NULL
,gold SMALLINT UNSIGNED NOT NULL
,stock MALLINT UNSIGNED NOT NULL
,exp SMALLINT UNSIGNED NOT NULL
,stamina TINYINT NOT NULL
,crit TINYINT NOT NULL
stmt, err := db.Prepare(`INSERT INTO obj_msg_report (obj_id, war_date, attack, defense, gold, stock, exp, stamina, crit)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?FROM_UNIXTIME(?), ?);`)
if err != nil {
return err
}
defer stmt.Close()
_, err = stmt.Exec(objId, m.ID64, m.ChatID64, m.UserID64, m.SenderUserID64, m.Date, m.Text)
if err != nil {
return err
}
*/
return nil
}
func insertAuctionAnnounce(objId int64, war_date int32, atk int32, def int32, exp int32, gold int32, stock int32, crit bool, stamina bool) error {
objSubTypeId, err := getObjSubTypeId(objId)
if err != nil {
return err
}
if objSubTypeId != objSubTypeMessageUnknown {
return errors.New("Message is not of type Unknown")
}
/*
obj_id BIGINT UNSIGNED NOT NULL
,lot_id BIGINT UNSIGNED NOT NULL
,item VARCHAR(80)
,cond VARCHAR(32)
,quality VARCHAR(32)
,seller VARCHAR(32)
,buyer VARCHAR(32)
,status VARCHAR(32)
,end TIMESTAMP NOT NULL
stmt, err := db.Prepare(`INSERT INTO obj_msg_report (obj_id, war_date, attack, defense, gold, stock, exp, stamina, crit)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?FROM_UNIXTIME(?), ?);`)
if err != nil {
return err
}
defer stmt.Close()
_, err = stmt.Exec(objId, m.ID64, m.ChatID64, m.UserID64, m.SenderUserID64, m.Date, m.Text)
if err != nil {
return err
}
*/
return nil
}
func loadMsgParsingRules() (m map[int]MessageParsingRule, err error) {
var (
id int32
priority int32
descn string
rule string
msgTypeID int32
)
log.Println("Loading message parsing rules...")
m = make(map[int]MessageParsingRule)
count := int(0)
defer func() {
if rec := recover(); rec != nil {
log.Println("Error parsing rules : ", rec)
err = errors.New("panic")
}
}()
rules, err := db.Query(`SELECT r.id, r.prio, r.descn, r.rule, r.msg_type_id FROM msg_rules r ORDER BY r.prio DESC;`)
if err != nil {
return m, err
}
defer rules.Close()
for rules.Next() {
err = rules.Scan(&id, &priority, &descn, &rule, &msgTypeID)
if err != nil {
return m, err
}
i := new(MessageParsingRule)
i.ID = id
i.Priority = priority
i.Description = descn
i.Rule = rule
i.MsgTypeID = msgTypeID
i.re = regexp.MustCompile(rule)
m[count] = *i
log.Printf("New rule : %s\n", rule)
count++
}
return m, nil
}