pg = pg or {} pg.dorm_data_template = { { training_ship_number = 6, name = "一級房間", time = 15, exp = 1, capacity = 40000, consume = 5, id = 1, comfortable = 0, fix_ship_number = 6, limit = { 20, 16, 1, 1, 16, 8 }, comfortable_count = { { 1, 1 }, { 2, 20 }, { 3, 16 }, { 4, 1 }, { 5, 2 }, { 6, 16 }, { 7, 8 } } }, { training_ship_number = 6, name = "二級房間", time = 15, exp = 1, capacity = 40000, consume = 5, id = 2, comfortable = 5, fix_ship_number = 6, limit = { 24, 20, 1, 1, 20, 10 }, comfortable_count = { { 1, 1 }, { 2, 24 }, { 3, 20 }, { 4, 1 }, { 5, 3 }, { 6, 20 }, { 7, 10 } } }, { training_ship_number = 6, name = "三級房間", time = 15, exp = 1, capacity = 40000, consume = 5, id = 3, comfortable = 10, fix_ship_number = 6, limit = { 28, 24, 1, 1, 24, 12 }, comfortable_count = { { 1, 1 }, { 2, 28 }, { 3, 24 }, { 4, 1 }, { 5, 4 }, { 6, 24 }, { 7, 12 } } }, { training_ship_number = 6, name = "四級房間", time = 15, exp = 1, capacity = 40000, consume = 5, id = 4, comfortable = 15, fix_ship_number = 6, limit = { 34, 30, 1, 1, 30, 15 }, comfortable_count = { { 1, 1 }, { 2, 34 }, { 3, 30 }, { 4, 1 }, { 5, 5 }, { 6, 30 }, { 7, 15 } } }, all = { 1, 2, 3, 4 } }