game: CR 맵 초기화
This commit is contained in:
@@ -165,3 +165,52 @@
|
||||
background: url('_tK_gameImagePath_/map/pokemon_v1/back_pal8.png') no-repeat;
|
||||
background-size: 700px 500px;
|
||||
}
|
||||
|
||||
/*CR 지도*/
|
||||
.map_theme_cr .map_bglayer1{
|
||||
background: url('_tK_gameImagePath_/map/cr/bg-fs8.png') no-repeat;
|
||||
background-size: 700px 500px;
|
||||
}
|
||||
|
||||
.map_theme_cr.map_detail .city_base .city_bg {
|
||||
background-image: none !important;
|
||||
width: 39.5px !important;
|
||||
height: 39.5px !important;
|
||||
left: 1px !important;
|
||||
top: -4px !important;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.map_theme_cr.map_detail .city_bg.bFF0000 { background-color: #FF0000; }
|
||||
.map_theme_cr.map_detail .city_bg.b800000 { background-color: #800000; }
|
||||
.map_theme_cr.map_detail .city_bg.bA0522D { background-color: #A0522D; }
|
||||
.map_theme_cr.map_detail .city_bg.bFF6347 { background-color: #FF6347; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFA500 { background-color: #FFA500; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFDAB9 { background-color: #FFDAB9; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFD700 { background-color: #FFD700; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFFF00 { background-color: #FFFF00; }
|
||||
.map_theme_cr.map_detail .city_bg.b7CFC00 { background-color: #7CFC00; }
|
||||
.map_theme_cr.map_detail .city_bg.b00FF00 { background-color: #00FF00; }
|
||||
.map_theme_cr.map_detail .city_bg.b808000 { background-color: #808000; }
|
||||
.map_theme_cr.map_detail .city_bg.b008000 { background-color: #008000; }
|
||||
.map_theme_cr.map_detail .city_bg.b2E8B57 { background-color: #2E8B57; }
|
||||
.map_theme_cr.map_detail .city_bg.b008080 { background-color: #008080; }
|
||||
.map_theme_cr.map_detail .city_bg.b20B2AA { background-color: #20B2AA; }
|
||||
.map_theme_cr.map_detail .city_bg.b6495ED { background-color: #6495ED; }
|
||||
.map_theme_cr.map_detail .city_bg.b7FFFD4 { background-color: #7FFFD4; }
|
||||
.map_theme_cr.map_detail .city_bg.bAFEEEE { background-color: #AFEEEE; }
|
||||
.map_theme_cr.map_detail .city_bg.b87CEEB { background-color: #87CEEB; }
|
||||
.map_theme_cr.map_detail .city_bg.b00FFFF { background-color: #00FFFF; }
|
||||
.map_theme_cr.map_detail .city_bg.b00BFFF { background-color: #00BFFF; }
|
||||
.map_theme_cr.map_detail .city_bg.b0000FF { background-color: #0000FF; }
|
||||
.map_theme_cr.map_detail .city_bg.b000080 { background-color: #000080; }
|
||||
.map_theme_cr.map_detail .city_bg.b483D8B { background-color: #483D8B; }
|
||||
.map_theme_cr.map_detail .city_bg.b7B68EE { background-color: #7B68EE; }
|
||||
.map_theme_cr.map_detail .city_bg.bBA55D3 { background-color: #BA55D3; }
|
||||
.map_theme_cr.map_detail .city_bg.b800080 { background-color: #800080; }
|
||||
.map_theme_cr.map_detail .city_bg.bFF00FF { background-color: #FF00FF; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFC0CB { background-color: #FFC0CB; }
|
||||
.map_theme_cr.map_detail .city_bg.bF5F5DC { background-color: #F5F5DC; }
|
||||
.map_theme_cr.map_detail .city_bg.bE0FFFF { background-color: #E0FFFF; }
|
||||
.map_theme_cr.map_detail .city_bg.bFFFFFF { background-color: #FFFFFF; }
|
||||
.map_theme_cr.map_detail .city_bg.bA9A9A9 { background-color: #A9A9A9; }
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
function getCityPosition(){
|
||||
return {"1":["서량",127,101],"2":["무도",127,222],"3":["성도",127,344],"4":["건녕",127,384],"5":["안정",167,141],"6":["한중",167,222],"7":["검각",167,263],"8":["자동",167,303],"9":["강주",167,344],"10":["장안",208,182],"11":["영안",208,384],"12":["홍농",248,182],"13":["완",248,222],"14":["양양",248,303],"15":["강릉",248,344],"16":["무릉",248,384],"17":["영릉",248,425],"18":["낙양",289,182],"19":["신야",289,263],"20":["강하",289,344],"21":["장사",289,384],"22":["계양",289,425],"23":["남해",289,465],"24":["업",329,101],"25":["진유",329,141],"26":["허창",329,182],"27":["여남",329,222],"28":["시상",329,344],"29":["평원",370,60],"30":["복양",370,101],"31":["초",370,141],"32":["수춘",370,222],"33":["단양",370,263],"34":["여강",370,303],"35":["계",410,20],"36":["남피",410,60],"37":["소패",410,141],"38":["건업",410,222],"39":["북평",451,20],"40":["북해",451,101],"41":["하비",451,141],"42":["광릉",451,182],"43":["오",451,263],"44":["회계",451,303],"45":["양평",491,20],"46":["국내",532,20],"47":["한",532,60],"48":["사비",532,101],"49":["매소",572,60],"50":["서라벌",572,101],"51":["운남",127,425],"52":["천수",127,182],"53":["졸본",572,20]};
|
||||
}
|
||||
|
||||
function formatCityInfo(city) {
|
||||
|
||||
|
||||
var regionMap = {"하북":1,"1":"하북","중원":2,"2":"중원","서북":3,"3":"서북","서촉":4,"4":"서촉","남중":5,"5":"남중","초":6,"6":"초","오월":7,"7":"오월","동이":8,"8":"동이"};
|
||||
|
||||
var levelMap = {"수":1,"1":"수","진":2,"2":"진","관":3,"3":"관","이":4,"4":"이","소":5,"5":"소","중":6,"6":"중","대":7,"7":"대","특":8,"8":"특"};
|
||||
|
||||
var region_str = regionMap[city.region];
|
||||
var level_str = levelMap[city.level];
|
||||
|
||||
city.text = '【' + region_str + '|' + level_str + '】' + city.name;
|
||||
city.region_str = region_str;
|
||||
city.level_str = level_str;
|
||||
|
||||
return city;
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
namespace sammo;
|
||||
|
||||
class CityConst extends CityConstBase{
|
||||
|
||||
protected static $initCity = [
|
||||
//id, 도시, 규모, 인구, 농, 상, 치, 성, 수,(x100)지역, x, y, 연결도시
|
||||
[ 1, "서량", "소", 4300, 50, 50, 50, 101, 99, "중원", 127.25, 101.25, ["안정"]],
|
||||
[ 2, "무도", "소", 2550, 50, 50, 50, 51, 49, "중원", 127.25, 222.75, ["한중", "검각", "천수"]],
|
||||
[ 3, "성도", "중", 11120, 90, 80, 85, 204, 196, "중원", 127.25, 344.25, ["자동", "강주", "건녕"]],
|
||||
[ 4, "건녕", "중", 7750, 60, 50, 55, 51, 49, "중원", 127.25, 384.75, ["성도", "강주", "운남"]],
|
||||
[ 5, "안정", "소", 2900, 60, 50, 55, 52, 48, "중원", 167.75, 141.75, ["서량", "장안", "천수"]],
|
||||
[ 6, "한중", "중", 10900, 60, 50, 55, 101, 99, "중원", 167.75, 222.75, ["무도", "검각", "장안", "천수"]],
|
||||
[ 7, "검각", "중", 5750, 50, 50, 50, 50, 50, "중원", 167.75, 263.25, ["무도", "한중", "자동"]],
|
||||
[ 8, "자동", "중", 7950, 60, 50, 55, 50, 50, "중원", 167.75, 303.75, ["성도", "검각", "강주"]],
|
||||
[ 9, "강주", "소", 4300, 70, 50, 60, 100, 100, "중원", 167.75, 344.25, ["성도", "건녕", "자동", "영안"]],
|
||||
[10, "장안", "중", 9700, 90, 90, 90, 202, 198, "중원", 208.25, 182.25, ["안정", "한중", "홍농", "완"]],
|
||||
[11, "영안", "중", 6900, 50, 50, 50, 50, 50, "중원", 208.25, 384.75, ["강주", "강릉", "무릉", "영릉"]],
|
||||
[12, "홍농", "중", 8000, 60, 60, 60, 155, 145, "중원", 248.75, 182.25, ["장안", "완", "낙양"]],
|
||||
[13, "완", "중", 8870, 70, 80, 75, 151, 149, "중원", 248.75, 222.75, ["장안", "홍농", "낙양", "신야"]],
|
||||
[14, "양양", "중", 11035, 80, 80, 80, 205, 195, "중원", 248.75, 303.75, ["강릉", "신야", "강하"]],
|
||||
[15, "강릉", "중", 7250, 80, 60, 70, 154, 146, "중원", 248.75, 344.25, ["영안", "양양", "무릉", "강하", "장사"]],
|
||||
[16, "무릉", "소", 2550, 30, 20, 25, 50, 50, "중원", 248.75, 384.75, ["영안", "강릉", "영릉", "강하", "장사", "계양"]],
|
||||
[17, "영릉", "중", 7750, 30, 20, 25, 50, 50, "중원", 248.75, 425.25, ["영안", "무릉", "장사", "계양", "남해"]],
|
||||
[18, "낙양", "중", 17800, 80, 100, 90, 209, 191, "중원", 289.25, 182.25, ["홍농", "완", "허창", "여남", "진유"]],
|
||||
[19, "신야", "중", 6500, 40, 40, 40, 50, 50, "중원", 289.25, 263.25, [ "완", "양양", "여남"]],
|
||||
[20, "강하", "소", 4150, 60, 60, 60, 104, 96, "중원", 289.25, 344.25, ["양양", "강릉", "무릉", "장사", "시상"]],
|
||||
[21, "장사", "중", 10235, 70, 50, 60, 100, 100, "중원", 289.25, 384.75, ["강릉", "무릉", "영릉", "강하", "계양", "시상"]],
|
||||
[22, "계양", "중", 6000, 30, 30, 30, 50, 50, "중원", 289.25, 425.25, ["무릉", "영릉", "장사", "남해"]],
|
||||
[23, "남해", "소", 3250, 30, 40, 35, 103, 97, "중원", 289.25, 465.75, ["영릉", "계양"]],
|
||||
[24, "업", "중", 8565, 90, 80, 85, 205, 195, "중원", 329.75, 101.25, ["진유", "평원", "복양", "초"]],
|
||||
[25, "진유", "소", 4510, 80, 60, 70, 103, 97, "중원", 329.75, 141.75, ["낙양", "업", "허창", "복양", "초"]],
|
||||
[26, "허창", "중", 15800, 100, 80, 90, 206, 194, "중원", 329.75, 182.25, ["낙양", "진유", "여남", "초", "수춘"]],
|
||||
[27, "여남", "소", 4100, 70, 70, 70, 155, 145, "중원", 329.75, 222.75, ["낙양", "신야", "허창", "수춘", "단양"]],
|
||||
[28, "시상", "중", 6650, 60, 60, 60, 104, 96, "중원", 329.75, 344.25, ["강하", "장사", "여강"]],
|
||||
[29, "평원", "중", 7480, 50, 50, 50, 52, 48, "중원", 370.25, 60.75, [ "업", "복양", "계", "남피"]],
|
||||
[30, "복양", "소", 2705, 80, 60, 70, 156, 144, "중원", 370.25, 101.25, [ "업", "진유", "평원", "초", "남피", "소패"]],
|
||||
[31, "초", "소", 4140, 60, 70, 65, 100, 100, "중원", 370.25, 141.75, [ "업", "진유", "허창", "복양", "소패"]],
|
||||
[32, "수춘", "소", 4050, 80, 80, 80, 154, 146, "중원", 370.25, 222.75, ["허창", "여남", "단양", "건업"]],
|
||||
[33, "단양", "소", 4400, 50, 50, 50, 103, 97, "중원", 370.25, 263.25, ["여남", "수춘", "여강", "건업"]],
|
||||
[34, "여강", "소", 3500, 60, 60, 60, 51, 49, "중원", 370.25, 303.75, ["단양", "시상"]],
|
||||
[35, "계", "소", 2550, 70, 70, 70, 153, 147, "중원", 410.75, 20.25, ["평원", "남피", "북평"]],
|
||||
[36, "남피", "중", 11730, 70, 80, 75, 152, 148, "중원", 410.75, 60.75, ["평원", "복양", "계", "북평", "북해"]],
|
||||
[37, "소패", "소", 2140, 80, 60, 70, 51, 49, "중원", 410.75, 141.75, ["복양", "초", "북해", "하비", "광릉"]],
|
||||
[38, "건업", "중", 9800, 100, 80, 90, 207, 193, "중원", 410.75, 222.75, ["수춘", "단양", "광릉", "오"]],
|
||||
[39, "북평", "소", 2550, 70, 50, 60, 101, 99, "중원", 451.25, 20.25, [ "계", "남피", "양평"]],
|
||||
[40, "북해", "소", 1540, 60, 80, 70, 152, 148, "중원", 451.25, 101.25, ["남피", "소패", "하비", "사비"]],
|
||||
[41, "하비", "소", 4980, 90, 70, 80, 153, 147, "중원", 451.25, 141.75, ["소패", "북해", "광릉"]],
|
||||
[42, "광릉", "중", 8500, 70, 70, 70, 153, 147, "중원", 451.25, 182.25, ["건업", "하비", "소패"]],
|
||||
[43, "오", "중", 6900, 70, 50, 60, 156, 144, "중원", 451.25, 263.25, ["건업", "회계"]],
|
||||
[44, "회계", "소", 2700, 80, 50, 65, 104, 96, "중원", 451.25, 303.75, [ "오"]],
|
||||
[45, "양평", "소", 3500, 60, 40, 50, 51, 49, "중원", 491.75, 20.25, ["북평", "국내", "한"]],
|
||||
[46, "국내", "중", 8500, 70, 60, 65, 155, 145, "중원", 532.25, 20.25, ["양평", "한", "매소", "졸본"]],
|
||||
[47, "한", "중", 11500, 80, 90, 85, 207, 193, "중원", 532.25, 60.75, ["양평", "국내", "사비", "매소","서라벌","졸본"]],
|
||||
[48, "사비", "중", 6500, 60, 70, 65, 103, 97, "중원", 532.25, 101.25, [ "한", "매소","서라벌","북해"]],
|
||||
[49, "매소", "소", 2465, 40, 50, 45, 50, 50, "중원", 572.75, 60.75, ["국내", "한", "사비","서라벌","졸본"]],
|
||||
[50, "서라벌", "중", 7400, 60, 60, 60, 103, 97, "중원", 572.75, 101.25, [ "한", "사비", "매소"]],
|
||||
[51, "운남", "중", 9520, 60, 40, 50, 51, 49, "중원", 127.25, 425.25, ["건녕"]],
|
||||
[52, "천수", "소", 2010, 50, 60, 55, 102, 98, "중원", 127.25, 182.25, ["안정", "한중", "무도"]],
|
||||
[53, "졸본", "소", 1190, 55, 55, 55, 101, 99, "중원", 572.75, 20.25, ["국내", "한", "매소"]],
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"title":"【공백지】 이세계",
|
||||
"startYear":180,
|
||||
"map":{
|
||||
"mapName":"cr",
|
||||
"unitSet":"basic"
|
||||
},
|
||||
"history":[
|
||||
],
|
||||
"const": {
|
||||
"joinRuinedNPCProp":0,
|
||||
"npcBanMessageProb":1,
|
||||
"allItems":{
|
||||
"horse": {
|
||||
"che_명마_01_노기": 0,
|
||||
"che_명마_02_조랑": 0,
|
||||
"che_명마_03_노새": 0,
|
||||
"che_명마_04_나귀": 0,
|
||||
"che_명마_05_갈색마": 0,
|
||||
"che_명마_06_흑색마": 0,
|
||||
"che_명마_07_백마": 2,
|
||||
"che_명마_07_기주마": 2,
|
||||
"che_명마_07_오환마": 2,
|
||||
"che_명마_07_백상": 2,
|
||||
"che_명마_08_양주마": 2,
|
||||
"che_명마_08_흉노마": 2,
|
||||
"che_명마_09_과하마": 2,
|
||||
"che_명마_09_의남백마": 2,
|
||||
"che_명마_10_대완마": 2,
|
||||
"che_명마_10_옥추마": 2,
|
||||
"che_명마_11_서량마": 2,
|
||||
"che_명마_11_화종마": 2,
|
||||
"che_명마_12_사륜거": 2,
|
||||
"che_명마_12_옥란백용구": 2,
|
||||
"che_명마_13_절영": 2,
|
||||
"che_명마_13_적로": 2,
|
||||
"che_명마_14_적란마": 2,
|
||||
"che_명마_14_조황비전": 2,
|
||||
"che_명마_15_한혈마": 2,
|
||||
"che_명마_15_적토마": 2
|
||||
},
|
||||
"weapon": {
|
||||
"che_무기_01_단도": 0,
|
||||
"che_무기_02_단궁": 0,
|
||||
"che_무기_03_단극": 0,
|
||||
"che_무기_04_목검": 0,
|
||||
"che_무기_05_죽창": 0,
|
||||
"che_무기_06_소부": 0,
|
||||
"che_무기_07_동추": 2,
|
||||
"che_무기_07_철편": 2,
|
||||
"che_무기_07_철쇄": 2,
|
||||
"che_무기_07_맥궁": 2,
|
||||
"che_무기_08_유성추": 2,
|
||||
"che_무기_08_철질여골": 2,
|
||||
"che_무기_09_쌍철극": 2,
|
||||
"che_무기_09_동호비궁": 2,
|
||||
"che_무기_10_삼첨도": 2,
|
||||
"che_무기_10_대부": 2,
|
||||
"che_무기_11_고정도": 2,
|
||||
"che_무기_11_이광궁": 2,
|
||||
"che_무기_12_철척사모": 2,
|
||||
"che_무기_12_칠성검": 2,
|
||||
"che_무기_13_사모": 2,
|
||||
"che_무기_13_양유기궁": 2,
|
||||
"che_무기_14_언월도": 2,
|
||||
"che_무기_14_방천화극": 2,
|
||||
"che_무기_15_청홍검": 2,
|
||||
"che_무기_15_의천검": 2
|
||||
},
|
||||
"book": {
|
||||
"che_서적_01_효경전": 0,
|
||||
"che_서적_02_회남자": 0,
|
||||
"che_서적_03_변도론": 0,
|
||||
"che_서적_04_건상역주": 0,
|
||||
"che_서적_05_여씨춘추": 0,
|
||||
"che_서적_06_사민월령": 0,
|
||||
"che_서적_07_위료자": 2,
|
||||
"che_서적_07_사마법": 2,
|
||||
"che_서적_07_한서": 2,
|
||||
"che_서적_07_논어": 2,
|
||||
"che_서적_08_전론": 2,
|
||||
"che_서적_08_사기": 2,
|
||||
"che_서적_09_장자": 2,
|
||||
"che_서적_09_역경": 2,
|
||||
"che_서적_10_시경": 2,
|
||||
"che_서적_10_구국론": 2,
|
||||
"che_서적_11_상군서": 2,
|
||||
"che_서적_11_춘추전": 2,
|
||||
"che_서적_12_산해경": 2,
|
||||
"che_서적_12_맹덕신서": 2,
|
||||
"che_서적_13_관자": 2,
|
||||
"che_서적_13_병법24편": 2,
|
||||
"che_서적_14_한비자": 2,
|
||||
"che_서적_14_오자병법": 2,
|
||||
"che_서적_15_노자": 2,
|
||||
"che_서적_15_손자병법": 2
|
||||
},
|
||||
"item": {
|
||||
"che_치료_환약": 0,
|
||||
"che_저격_수극": 0,
|
||||
"che_사기_탁주": 0,
|
||||
"che_훈련_청주": 0,
|
||||
"che_계략_이추": 0,
|
||||
"che_계략_향낭": 0,
|
||||
"event_전투특기_격노": 0,
|
||||
"event_전투특기_견고": 0,
|
||||
"event_전투특기_공성": 0,
|
||||
"event_전투특기_궁병": 0,
|
||||
"event_전투특기_귀병": 0,
|
||||
"event_전투특기_기병": 0,
|
||||
"event_전투특기_돌격": 0,
|
||||
"event_전투특기_무쌍": 0,
|
||||
"event_전투특기_반계": 0,
|
||||
"event_전투특기_보병": 0,
|
||||
"event_전투특기_신산": 0,
|
||||
"event_전투특기_신중": 0,
|
||||
"event_전투특기_위압": 0,
|
||||
"event_전투특기_의술": 0,
|
||||
"event_전투특기_저격": 0,
|
||||
"event_전투특기_집중": 0,
|
||||
"event_전투특기_징병": 0,
|
||||
"event_전투특기_척사": 0,
|
||||
"event_전투특기_필살": 0,
|
||||
"event_전투특기_환술": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"events":[
|
||||
[
|
||||
"month", 1000,
|
||||
["or", ["Date", "==", null, 12], ["Date", "==", null, 6]],
|
||||
["CreateManyNPC", 10, 10],
|
||||
["DeleteEvent"]
|
||||
],
|
||||
[
|
||||
"month", 1000,
|
||||
["Date", "==", 181, 1],
|
||||
["RaiseNPCNation"],
|
||||
["DeleteEvent"]
|
||||
],
|
||||
[
|
||||
"month", 999,
|
||||
["Date", "==", 181, 1],
|
||||
["OpenNationBetting", 4, 5000],
|
||||
["OpenNationBetting", 1, 2000],
|
||||
["DeleteEvent"]
|
||||
],
|
||||
[
|
||||
"month", 999,
|
||||
["and",
|
||||
["Date", ">=", 183, 1],
|
||||
["RemainNation", "<=", 8]
|
||||
],
|
||||
["OpenNationBetting", 1, 1000],
|
||||
["DeleteEvent"]
|
||||
],
|
||||
[
|
||||
"destroy_nation", 1000,
|
||||
["and",
|
||||
["Date", ">=", 183, 1],
|
||||
["RemainNation", "==", 1]
|
||||
],
|
||||
["BlockScoutAction"],
|
||||
["DeleteEvent"]
|
||||
],
|
||||
[
|
||||
"month", 1000,
|
||||
true,
|
||||
["ChangeCity", "all", {
|
||||
"trade":100
|
||||
}]
|
||||
],
|
||||
[
|
||||
"destroy_nation", 1000,
|
||||
["and",
|
||||
["Date", ">=", 183, 1],
|
||||
["RemainNation", "==", 1]
|
||||
],
|
||||
["BlockScoutAction"],
|
||||
["DeleteEvent"]
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user