game: 커맨드 순서 변경

This commit is contained in:
2022-03-23 20:12:59 +09:00
parent ad99cd8cb0
commit cb53eef4a2
2 changed files with 778 additions and 124 deletions
+17 -17
View File
@@ -275,9 +275,17 @@ class GameConstBase
/** @var array 선택 가능한 커맨드 */ /** @var array 선택 가능한 커맨드 */
public static $availableGeneralCommand = [ public static $availableGeneralCommand = [
'' => [ '개인' => [
'휴식', '휴식',
'che_요양' 'che_요양',
'che_단련',
'che_숙련전환',
'che_견문',
'che_은퇴',
'che_장비매매',
'che_군량매매',
'che_내정특기초기화',
'che_전투특기초기화',
], ],
'내정' => [ '내정' => [
'che_농지개간', 'che_농지개간',
@@ -291,43 +299,35 @@ class GameConstBase
'che_물자조달', 'che_물자조달',
], ],
'군사' => [ '군사' => [
'che_소집해제',
'che_첩보',
'che_징병', 'che_징병',
'che_모병', 'che_모병',
'che_훈련', 'che_훈련',
'che_사기진작', 'che_사기진작',
'che_출병', 'che_출병',
'che_집합',
'che_소집해제',
'che_첩보',
], ],
'인사' => [ '인사' => [
'che_이동', 'che_이동',
'che_강행', 'che_강행',
'che_인재탐색', 'che_인재탐색',
'che_등용', 'che_등용',
'che_집합',
'che_귀환', 'che_귀환',
'che_임관', 'che_임관',
'che_랜덤임관', 'che_랜덤임관',
'che_장수대상임관', 'che_장수대상임관',
], ],
'계략' => [ '계략' => [
'che_화계',
'che_파괴',
'che_탈취',
'che_선동', 'che_선동',
'che_탈취',
'che_파괴',
'che_화계',
], ],
'개인' => [ '국가' => [
'che_내정특기초기화',
'che_전투특기초기화',
'che_단련',
'che_숙련전환',
'che_견문',
'che_장비매매',
'che_군량매매',
'che_증여', 'che_증여',
'che_헌납', 'che_헌납',
'che_하야', 'che_하야',
'che_은퇴',
'che_거병', 'che_거병',
'che_건국', 'che_건국',
'che_선양', 'che_선양',
+761 -107
View File
@@ -1,19 +1,27 @@
{ {
"title":"【이벤트】 대리전", "title": "【이벤트】 대리전",
"startYear":180, "startYear": 180,
"map":{ "map": {
"mapName":"miniche_b" "mapName": "miniche_b"
}, },
"history":[ "history": [
"<C>●</>180년 1월:<L><b>【이벤트】</b></>NPC 군주 뒤에 플레이해보는 이벤트 깃수" "<C>●</>180년 1월:<L><b>【이벤트】</b></>NPC 군주 뒤에 플레이해보는 이벤트 깃수"
], ],
"const": { "const": {
"joinRuinedNPCProp":0, "joinRuinedNPCProp": 0,
"npcBanMessageProb":1, "npcBanMessageProb": 1,
"availableGeneralCommand": { "availableGeneralCommand": {
"": [ "개인": [
"휴식", "휴식",
"che_요양" "che_요양",
"che_단련",
"che_숙련전환",
"che_견문",
"che_은퇴",
"che_장비매매",
"che_군량매매",
"che_내정특기초기화",
"che_전투특기초기화"
], ],
"내정": [ "내정": [
"che_농지개간", "che_농지개간",
@@ -27,36 +35,29 @@
"che_물자조달" "che_물자조달"
], ],
"군사": [ "군사": [
"che_소집해제",
"che_첩보",
"che_징병", "che_징병",
"che_모병", "che_모병",
"che_훈련", "che_훈련",
"che_사기진작", "che_사기진작",
"che_출병" "che_출병",
"che_집합",
"che_소집해제",
"che_첩보"
], ],
"인사": [ "인사": [
"che_이동", "che_이동",
"che_강행", "che_강행",
"che_인재탐색", "che_인재탐색",
"che_집합",
"che_귀환", "che_귀환",
"che_랜덤임관" "che_랜덤임관"
], ],
"계략": [ "계략": [
"che_화계", "che_선동",
"che_파괴",
"che_탈취", "che_탈취",
"che_선동" "che_파괴",
"che_화계"
], ],
"개인": [ "국가": [
"che_내정특기초기화",
"che_전투특기초기화",
"che_단련",
"che_숙련전환",
"che_견문",
"che_장비매매",
"che_군량매매",
"che_증여", "che_증여",
"che_헌납", "che_헌납",
"che_하야" "che_하야"
@@ -93,102 +94,755 @@
] ]
} }
}, },
"nation":[ "nation": [
["엄백호", "#800080", 10000, 10000, "엄백호", 500, "che_덕가", 1, ["건안"]], [
["맹획", "#A0522D", 10000, 10000, "맹획", 500, "che_덕가", 1, ["월수"]], "엄백호",
["유표", "#E0FFFF", 10000, 10000, "유표", 500, "che_도가", 1, ["영릉"]], "#800080",
["올돌골", "#800000", 10000, 10000, "올돌골", 500, "che_도적", 1, ["남해"]], 10000,
["동탁", "#A9A9A9", 10000, 10000, "동탁", 500, "che_도적", 1, ["안정"]], 10000,
["유비", "#008000", 10000, 10000, "유비", 500, "che_명가", 1, ["평원"]], "엄백호",
["유기", "#008080", 10000, 10000, "유기", 500, "che_명가", 1, ["강하"]], 500,
["유장", "#483D8B", 10000, 10000, "유장", 500, "che_가", 1, ["덕양"]], "che_가",
["조조", "#000080", 10000, 10000, "조조", 500, "che_법가", 1, ["진류"]], 1,
["원소", "#FF00FF", 10000, 10000, "원소", 500, "che_병가", 1, ["거록"]], [
["공손찬", "#87CEEB", 10000, 10000, "공손찬", 500, "che_병가", 1, ["계"]], "건안"
["신라", "#FFA500", 10000, 10000, "신라", 500, "che_불가", 1, ["계림"]], ]
["고구려", "#FF6347", 10000, 10000, "고구려", 500, "che_불가", 1, ["국내"]], ],
["장로", "#20B2AA", 10000, 10000, "장로", 500, "che_오두미도", 1, ["상용"]], [
["도겸", "#00FF00", 10000, 10000, "도겸", 500, "che_오두미도", 1, ["하비"]], "맹획",
["손권", "#FF0000", 10000, 10000, "손권", 500, "che_유가", 1, ["오"]], "#A0522D",
["헌제", "#BA55D3", 10000, 10000, "헌제", 500, "che_유가", 1, ["홍농"]], 10000,
["원술", "#FFC0CB", 10000, 10000, "원술", 500, "che_음양가", 1, ["여남"]], 10000,
["마등", "#808000", 10000, 10000, "마등", 500, "che_종횡가", 1, ["무도"]], "맹획",
["목록대왕", "#7CFC00", 10000, 10000, "목록대왕", 500, "che_종횡가", 1, ["건녕"]], 500,
["장량", "#FFD700", 10000, 10000, "장량", 500, "che_태평도", 1, ["하내"]] "che_덕가",
1,
[
"월수"
]
],
[
"유표",
"#E0FFFF",
10000,
10000,
"유표",
500,
"che_도가",
1,
[
"영릉"
]
],
[
"올돌골",
"#800000",
10000,
10000,
"올돌골",
500,
"che_도적",
1,
[
"남해"
]
],
[
"동탁",
"#A9A9A9",
10000,
10000,
"동탁",
500,
"che_도적",
1,
[
"안정"
]
],
[
"유비",
"#008000",
10000,
10000,
"유비",
500,
"che_명가",
1,
[
"평원"
]
],
[
"유기",
"#008080",
10000,
10000,
"유기",
500,
"che_명가",
1,
[
"강하"
]
],
[
"유장",
"#483D8B",
10000,
10000,
"유장",
500,
"che_묵가",
1,
[
"덕양"
]
],
[
"조조",
"#000080",
10000,
10000,
"조조",
500,
"che_법가",
1,
[
"진류"
]
],
[
"원소",
"#FF00FF",
10000,
10000,
"원소",
500,
"che_병가",
1,
[
"거록"
]
],
[
"공손찬",
"#87CEEB",
10000,
10000,
"공손찬",
500,
"che_병가",
1,
[
"계"
]
],
[
"신라",
"#FFA500",
10000,
10000,
"신라",
500,
"che_불가",
1,
[
"계림"
]
],
[
"고구려",
"#FF6347",
10000,
10000,
"고구려",
500,
"che_불가",
1,
[
"국내"
]
],
[
"장로",
"#20B2AA",
10000,
10000,
"장로",
500,
"che_오두미도",
1,
[
"상용"
]
],
[
"도겸",
"#00FF00",
10000,
10000,
"도겸",
500,
"che_오두미도",
1,
[
"하비"
]
],
[
"손권",
"#FF0000",
10000,
10000,
"손권",
500,
"che_유가",
1,
[
"오"
]
],
[
"헌제",
"#BA55D3",
10000,
10000,
"헌제",
500,
"che_유가",
1,
[
"홍농"
]
],
[
"원술",
"#FFC0CB",
10000,
10000,
"원술",
500,
"che_음양가",
1,
[
"여남"
]
],
[
"마등",
"#808000",
10000,
10000,
"마등",
500,
"che_종횡가",
1,
[
"무도"
]
],
[
"목록대왕",
"#7CFC00",
10000,
10000,
"목록대왕",
500,
"che_종횡가",
1,
[
"건녕"
]
],
[
"장량",
"#FFD700",
10000,
10000,
"장량",
500,
"che_태평도",
1,
[
"하내"
]
]
], ],
"general":[ "general": [
[999, "엄백호", 1217, 1, null, 85, 85, 85, 12, 150, 250, null, null], [
[999, "맹획", 1108, 2, null, 85, 85, 85, 12, 150, 250, null, null], 999,
[999, "유표", 1293, 3, null, 85, 85, 85, 12, 150, 250, null, null], "엄백호",
[999, "올돌골", 1241, 4, null, 85, 85, 85, 12, 150, 250, null, null], 1217,
[999, "동탁", 1083, 5, null, 85, 85, 85, 12, 150, 250, null, null], 1,
[999, "유비", 1281, 6, null, 85, 85, 85, 12, 150, 250, null, null], null,
[999, "유기", 1276, 7, null, 85, 85, 85, 12, 150, 250, null, null], 85,
[999, "유장", 1290, 8, null, 85, 85, 85, 12, 150, 250, null, null], 85,
[999, "조조", 1392, 9, null, 85, 85, 85, 12, 150, 250, null, null], 85,
[999, "원소", 1268, 10, null, 85, 85, 85, 12, 150, 250, null, null], 12,
[999, "공손찬", 1033, 11, null, 85, 85, 85, 12, 150, 250, null, null], 150,
[999, "석벌휴", null, 12, null, 85, 85, 85, 12, 150, 250, null, null], 250,
[999, "고남무", null, 13, null, 85, 85, 85, 12, 150, 250, null, null], null,
[999, "장로", 1319, 14, null, 85, 85, 85, 12, 150, 250, null, null], null
[999, "도겸", 1074, 15, null, 85, 85, 85, 12, 150, 250, null, null], ],
[999, "손권", 1169, 16, null, 85, 85, 85, 12, 150, 250, null, null], [
[999, "헌제", 1002, 17, null, 85, 85, 85, 12, 150, 250, null, null], 999,
[999, "원술", 1269, 18, null, 85, 85, 85, 12, 150, 250, null, null], "맹획",
[999, "마등", 1094, 19, null, 85, 85, 85, 12, 150, 250, null, null], 1108,
[999, "목록대왕", 1110, 20, null, 85, 85, 85, 12, 150, 250, null, null], 2,
[999, "장량", 1318, 21, null, 85, 85, 85, 12, 150, 250, null, null] null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"유표",
1293,
3,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"올돌골",
1241,
4,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"동탁",
1083,
5,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"유비",
1281,
6,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"유기",
1276,
7,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"유장",
1290,
8,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"조조",
1392,
9,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"원소",
1268,
10,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"공손찬",
1033,
11,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"석벌휴",
null,
12,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"고남무",
null,
13,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"장로",
1319,
14,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"도겸",
1074,
15,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"손권",
1169,
16,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"헌제",
1002,
17,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"원술",
1269,
18,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"마등",
1094,
19,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"목록대왕",
1110,
20,
null,
85,
85,
85,
12,
150,
250,
null,
null
],
[
999,
"장량",
1318,
21,
null,
85,
85,
85,
12,
150,
250,
null,
null
]
], ],
"events":[ "events": [
[ [
"month", 1000, "month",
["or", ["Date", "==", null, 12], ["Date", "==", null, 6]], 1000,
["CreateManyNPC", 10, 10], [
["DeleteEvent"] "or",
], [
[ "Date",
"month", 1000, "==",
["Date", "==", 181, 1], null,
["OpenNationBetting", 4, 1000], 12
["OpenNationBetting", 1, 1000], ],
["DeleteEvent"] [
], "Date",
[ "==",
"month", 1000, null,
["and", 6
["Date", ">=", 183, 1], ]
["RemainNation", "<=", 16]
], ],
["OpenNationBetting", 4, 1000], [
["OpenNationBetting", 1, 1000], "CreateManyNPC",
["DeleteEvent"] 10,
10
],
[
"DeleteEvent"
]
], ],
[ [
"month", 1000, "month",
["and", 1000,
["Date", ">=", 183, 1], [
["RemainNation", "<=", 8] "Date",
"==",
181,
1
], ],
["OpenNationBetting", 1, 1000], [
["DeleteEvent"] "OpenNationBetting",
4,
1000
],
[
"OpenNationBetting",
1,
1000
],
[
"DeleteEvent"
]
], ],
[ [
"month", 1000, "month",
["and", 1000,
["Date", ">=", 183, 1], [
["RemainNation", "<=", 4] "and",
[
"Date",
">=",
183,
1
],
[
"RemainNation",
"<=",
16
]
], ],
["OpenNationBetting", 1, 1000], [
["DeleteEvent"] "OpenNationBetting",
4,
1000
],
[
"OpenNationBetting",
1,
1000
],
[
"DeleteEvent"
]
], ],
[ [
"destroy_nation", 1000, "month",
["and", 1000,
["Date", ">=", 183, 1], [
["RemainNation", "==", 1] "and",
[
"Date",
">=",
183,
1
],
[
"RemainNation",
"<=",
8
]
], ],
["BlockScoutAction"], [
["DeleteEvent"] "OpenNationBetting",
1,
1000
],
[
"DeleteEvent"
]
],
[
"month",
1000,
[
"and",
[
"Date",
">=",
183,
1
],
[
"RemainNation",
"<=",
4
]
],
[
"OpenNationBetting",
1,
1000
],
[
"DeleteEvent"
]
],
[
"destroy_nation",
1000,
[
"and",
[
"Date",
">=",
183,
1
],
[
"RemainNation",
"==",
1
]
],
[
"BlockScoutAction"
],
[
"DeleteEvent"
]
] ]
] ]
} }