diff --git a/f_install/templates/common.orig.css b/f_install/templates/common.orig.css index ca16ab23..ab795610 100644 --- a/f_install/templates/common.orig.css +++ b/f_install/templates/common.orig.css @@ -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; } diff --git a/hwe/js/map/theme_cr.js b/hwe/js/map/theme_cr.js new file mode 100644 index 00000000..4f0db973 --- /dev/null +++ b/hwe/js/map/theme_cr.js @@ -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; +} \ No newline at end of file diff --git a/hwe/scenario/map/cr.php b/hwe/scenario/map/cr.php new file mode 100644 index 00000000..8e201f1b --- /dev/null +++ b/hwe/scenario/map/cr.php @@ -0,0 +1,63 @@ +=", 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"] + ] + ] +} \ No newline at end of file