init: 2.B

This commit is contained in:
AncTe committed 2026-02-28 20:23:34 +08:00
commit 6bf32174d8
610 files changed
+151444

No files matched your search

+226
View File
@@ -0,0 +1,226 @@
interface IdToCls {
yellowWall: 'animates';
whiteWall: 'animates';
blueWall: 'animates';
star: 'animates';
lava: 'animates';
ice: 'animates';
blueShopLeft: 'terrains';
blueShopRight: 'terrains';
pinkShopLeft: 'terrains';
pinkShopRight: 'terrains';
lavaNet: 'animates';
poisonNet: 'animates';
weakNet: 'animates';
curseNet: 'animates';
blueLava: 'animates';
water: 'animates';
autotile: 'autotile';
yellowKey: 'items';
blueKey: 'items';
redKey: 'items';
greenKey: 'items';
steelKey: 'items';
bigKey: 'items';
redGem: 'items';
blueGem: 'items';
greenGem: 'items';
yellowGem: 'items';
redPotion: 'items';
bluePotion: 'items';
greenPotion: 'items';
yellowPotion: 'items';
sword1: 'items';
shield1: 'items';
sword2: 'items';
shield2: 'items';
sword3: 'items';
shield3: 'items';
sword4: 'items';
shield4: 'items';
sword5: 'items';
shield5: 'items';
book: 'items';
fly: 'items';
pickaxe: 'items';
icePickaxe: 'items';
bomb: 'items';
centerFly: 'items';
upFly: 'items';
downFly: 'items';
coin: 'items';
freezeBadge: 'items';
cross: 'items';
superPotion: 'items';
earthquake: 'items';
poisonWine: 'items';
weakWine: 'items';
curseWine: 'items';
superWine: 'items';
dagger: 'items';
pack: 'items';
amulet: 'items';
hammer: 'items';
lifeWand: 'items';
jumpShoes: 'items';
sword0: 'items';
shield0: 'items';
skill1: 'items';
wand: 'items';
yellowDoor: 'animates';
blueDoor: 'animates';
redDoor: 'animates';
greenDoor: 'animates';
specialDoor: 'animates';
steelDoor: 'animates';
upFloor: 'terrains';
downFloor: 'terrains';
portal: 'animates';
starPortal: 'animates';
upPortal: 'animates';
leftPortal: 'animates';
downPortal: 'animates';
rightPortal: 'animates';
crystalUp: 'animates';
crystalBottom: 'animates';
fire: 'animates';
switch: 'animates';
magentaWall: 'animates';
man: 'npcs';
trader: 'npcs';
thief: 'npcs';
fairy: 'npcs';
wizard: 'npcs';
recluse: 'npcs';
king: 'npcs';
youngMan: 'npcs';
sign: 'npcs';
expShop: 'npcs';
moneyShop: 'npcs';
princess: 'npcs';
npc0: 'npc48';
npc1: 'npc48';
npc2: 'npc48';
npc3: 'npc48';
greenMan: 'npcs';
blueTrader: 'npcs';
autotile1: 'autotile';
autotile2: 'autotile';
autotile3: 'autotile';
arrowUp: 'terrains';
arrowDown: 'terrains';
arrowLeft: 'terrains';
arrowRight: 'terrains';
light: 'terrains';
darkLight: 'terrains';
ski: 'terrains';
flower: 'terrains';
box: 'terrains';
boxed: 'terrains';
greenSlime: 'enemys';
redSlime: 'enemys';
blackSlime: 'enemys';
slimelord: 'enemys';
bat: 'enemys';
bigBat: 'enemys';
redBat: 'enemys';
vampire: 'enemys';
skeleton: 'enemys';
skeletonWarrior: 'enemys';
skeletonCaptain: 'enemys';
ghostSoldier: 'enemys';
zombie: 'enemys';
zombieKnight: 'enemys';
rock: 'enemys';
slimeman: 'enemys';
bluePriest: 'enemys';
redPriest: 'enemys';
brownWizard: 'enemys';
redWizard: 'enemys';
yellowGateKeeper: 'enemys';
blueGateKeeper: 'enemys';
redGateKeeper: 'enemys';
swordsman: 'enemys';
soldier: 'enemys';
yellowKnight: 'enemys';
redKnight: 'enemys';
darkKnight: 'enemys';
blackKing: 'enemys';
yellowKing: 'enemys';
greenKing: 'enemys';
blueKnight: 'enemys';
goldSlime: 'enemys';
poisonSkeleton: 'enemys';
poisonBat: 'enemys';
ironRock: 'enemys';
skeletonPriest: 'enemys';
skeletonKing: 'enemys';
skeletonPresbyter: 'enemys';
skeletonKnight: 'enemys';
evilHero: 'enemys';
devilWarrior: 'enemys';
demonPriest: 'enemys';
goldHornSlime: 'enemys';
redKing: 'enemys';
blueKing: 'enemys';
magicMaster: 'enemys';
silverSlime: 'enemys';
blademaster: 'enemys';
whiteHornSlime: 'enemys';
evilPrincess: 'enemys';
evilFairy: 'enemys';
yellowPriest: 'enemys';
redSwordsman: 'enemys';
whiteSlimeman: 'enemys';
poisonZombie: 'enemys';
dragon: 'enemys';
octopus: 'enemys';
fairyEnemy: 'enemys';
princessEnemy: 'enemys';
angel: 'enemy48';
elemental: 'enemy48';
steelGuard: 'enemy48';
evilBat: 'enemy48';
silverSlimelord: 'enemys';
goldSlimelord: 'enemys';
grayRock: 'enemys';
greenKnight: 'enemys';
bowman: 'enemys';
purpleBowman: 'enemys';
watcherSlime: 'enemys';
frostBat: 'enemys';
devilKnight: 'enemys';
grayPriest: 'enemys';
greenGateKeeper: 'enemys';
ground: 'terrains';
sWallT: 'terrains';
sWallL: 'terrains';
sWallR: 'terrains';
sWallB: 'terrains';
grass: 'terrains';
sWallTL: 'terrains';
sWallBR: 'terrains';
grass2: 'terrains';
sWallTR: 'terrains';
sWallBL: 'terrains';
ground2: 'terrains';
sWallTB: 'terrains';
ground3: 'terrains';
sWallLR: 'terrains';
sWallBLR: 'terrains';
sWallTLR: 'terrains';
sWallTBR: 'terrains';
sWallTBL: 'terrains';
tallYellowDoor: 'npc48';
tallBlueDoor: 'npc48';
tallRedDoor: 'npc48';
tallGreenDoor: 'npc48';
tallSpecialDoor: 'npc48';
tallSteelDoor: 'npc48';
keiskeiFairy: 'enemys';
tulipFairy: 'enemys';
bearDown: 'enemy48';
bearLeft: 'enemy48';
bearRight: 'enemy48';
bearUp: 'enemy48';
}
+78
View File
@@ -0,0 +1,78 @@
type FloorIds =
| 'empty'
| 'sample0'
| 'sample1'
| 'sample2'
| 'MT0'
type ImageIds =
| 'bear.png'
| 'bg.jpg'
| 'brave.png'
| 'cloud.png'
| 'dragon.png'
| 'fog.png'
| 'hero.png'
| 'sun.png'
| 'winskin.png'
type AnimationIds =
| 'hand'
| 'sword'
| 'zone'
type SoundIds =
| 'attack.opus'
| 'bomb.opus'
| 'cancel.opus'
| 'centerFly.opus'
| 'confirm.opus'
| 'cursor.opus'
| 'door.opus'
| 'equip.opus'
| 'error.opus'
| 'floor.opus'
| 'gem.opus'
| 'icePickaxe.opus'
| 'item.opus'
| 'jump.opus'
| 'load.opus'
| 'open_ui.opus'
| 'pickaxe.opus'
| 'recovery.opus'
| 'save.opus'
| 'shop.opus'
| 'zone.opus'
type BgmIds =
| 'bgm.opus'
type FontIds = never
interface NameMap {
'确定': 'confirm.opus';
'取消': 'cancel.opus';
'操作失败': 'error.opus';
'光标移动': 'cursor.opus';
'打开界面': 'open_ui.opus';
'读档': 'load.opus';
'存档': 'save.opus';
'获得道具': 'item.opus';
'回血': 'recovery.opus';
'炸弹': 'bomb.opus';
'飞行器': 'centerFly.opus';
'开关门': 'door.opus';
'上下楼': 'floor.opus';
'跳跃': 'jump.opus';
'破墙镐': 'pickaxe.opus';
'破冰镐': 'icePickaxe.opus';
'宝石': 'gem.opus';
'阻激夹域': 'zone.opus';
'穿脱装备': 'equip.opus';
'背景音乐': 'bgm.opus';
'攻击': 'attack.opus';
'背景图': 'bg.jpg';
'商店': 'shop.opus';
'领域': 'zone';
}
+3
View File
@@ -0,0 +1,3 @@
type EventDeclaration =
| '加点事件'
| '回收钥匙商店'
+53
View File
@@ -0,0 +1,53 @@
interface ItemDeclaration {
yellowKey: 'tools';
blueKey: 'tools';
redKey: 'tools';
redGem: 'items';
blueGem: 'items';
greenGem: 'items';
yellowGem: 'items';
redPotion: 'items';
bluePotion: 'items';
yellowPotion: 'items';
greenPotion: 'items';
sword0: 'equips';
sword1: 'items';
sword2: 'items';
sword3: 'items';
sword4: 'items';
sword5: 'items';
shield0: 'equips';
shield1: 'items';
shield2: 'items';
shield3: 'items';
shield4: 'items';
shield5: 'items';
superPotion: 'items';
book: 'constants';
fly: 'constants';
coin: 'constants';
freezeBadge: 'constants';
cross: 'constants';
dagger: 'constants';
amulet: 'constants';
bigKey: 'tools';
greenKey: 'tools';
steelKey: 'tools';
pickaxe: 'tools';
icePickaxe: 'tools';
bomb: 'tools';
centerFly: 'tools';
upFly: 'tools';
downFly: 'tools';
earthquake: 'tools';
poisonWine: 'tools';
weakWine: 'tools';
curseWine: 'tools';
superWine: 'tools';
hammer: 'tools';
lifeWand: 'tools';
jumpShoes: 'tools';
skill1: 'constants';
wand: 'items';
pack: 'items';
}
+452
View File
@@ -0,0 +1,452 @@
interface IdToNumber {
yellowWall: 1;
whiteWall: 2;
blueWall: 3;
star: 4;
lava: 5;
ice: 6;
blueShopLeft: 7;
blueShopRight: 8;
pinkShopLeft: 9;
pinkShopRight: 10;
lavaNet: 11;
poisonNet: 12;
weakNet: 13;
curseNet: 14;
blueLava: 15;
water: 16;
autotile: 20;
yellowKey: 21;
blueKey: 22;
redKey: 23;
greenKey: 24;
steelKey: 25;
bigKey: 26;
redGem: 27;
blueGem: 28;
greenGem: 29;
yellowGem: 30;
redPotion: 31;
bluePotion: 32;
greenPotion: 33;
yellowPotion: 34;
sword1: 35;
shield1: 36;
sword2: 37;
shield2: 38;
sword3: 39;
shield3: 40;
sword4: 41;
shield4: 42;
sword5: 43;
shield5: 44;
book: 45;
fly: 46;
pickaxe: 47;
icePickaxe: 48;
bomb: 49;
centerFly: 50;
upFly: 51;
downFly: 52;
coin: 53;
freezeBadge: 54;
cross: 55;
superPotion: 56;
earthquake: 57;
poisonWine: 58;
weakWine: 59;
curseWine: 60;
superWine: 61;
dagger: 62;
pack: 63;
amulet: 64;
hammer: 65;
lifeWand: 68;
jumpShoes: 69;
sword0: 70;
shield0: 71;
skill1: 72;
wand: 73;
yellowDoor: 81;
blueDoor: 82;
redDoor: 83;
greenDoor: 84;
specialDoor: 85;
steelDoor: 86;
upFloor: 87;
downFloor: 88;
portal: 89;
starPortal: 90;
upPortal: 91;
leftPortal: 92;
downPortal: 93;
rightPortal: 94;
crystalUp: 101;
crystalBottom: 102;
fire: 103;
switch: 104;
magentaWall: 109;
man: 121;
trader: 122;
thief: 123;
fairy: 124;
wizard: 125;
recluse: 126;
king: 127;
youngMan: 128;
sign: 129;
expShop: 130;
moneyShop: 131;
princess: 132;
npc0: 133;
npc1: 134;
npc2: 135;
npc3: 136;
greenMan: 137;
blueTrader: 138;
autotile1: 151;
autotile2: 152;
autotile3: 153;
arrowUp: 161;
arrowDown: 162;
arrowLeft: 163;
arrowRight: 164;
light: 165;
darkLight: 166;
ski: 167;
flower: 168;
box: 169;
boxed: 170;
greenSlime: 201;
redSlime: 202;
blackSlime: 203;
slimelord: 204;
bat: 205;
bigBat: 206;
redBat: 207;
vampire: 208;
skeleton: 209;
skeletonWarrior: 210;
skeletonCaptain: 211;
ghostSoldier: 212;
zombie: 213;
zombieKnight: 214;
rock: 215;
slimeman: 216;
bluePriest: 217;
redPriest: 218;
brownWizard: 219;
redWizard: 220;
yellowGateKeeper: 221;
blueGateKeeper: 222;
redGateKeeper: 223;
swordsman: 224;
soldier: 225;
yellowKnight: 226;
redKnight: 227;
darkKnight: 228;
blackKing: 229;
yellowKing: 230;
greenKing: 231;
blueKnight: 232;
goldSlime: 233;
poisonSkeleton: 234;
poisonBat: 235;
ironRock: 236;
skeletonPriest: 237;
skeletonKing: 238;
skeletonPresbyter: 239;
skeletonKnight: 240;
evilHero: 241;
devilWarrior: 242;
demonPriest: 243;
goldHornSlime: 244;
redKing: 245;
blueKing: 246;
magicMaster: 247;
silverSlime: 248;
blademaster: 249;
whiteHornSlime: 250;
evilPrincess: 251;
evilFairy: 252;
yellowPriest: 253;
redSwordsman: 254;
whiteSlimeman: 255;
poisonZombie: 256;
dragon: 257;
octopus: 258;
fairyEnemy: 259;
princessEnemy: 260;
angel: 261;
elemental: 262;
steelGuard: 263;
evilBat: 264;
silverSlimelord: 265;
goldSlimelord: 266;
grayRock: 267;
greenKnight: 270;
bowman: 271;
purpleBowman: 272;
watcherSlime: 275;
frostBat: 277;
devilKnight: 278;
grayPriest: 279;
greenGateKeeper: 280;
ground: 300;
sWallT: 301;
sWallL: 302;
sWallR: 303;
sWallB: 304;
grass: 305;
sWallTL: 306;
sWallBR: 307;
grass2: 308;
sWallTR: 309;
sWallBL: 310;
ground2: 311;
sWallTB: 312;
ground3: 313;
sWallLR: 314;
sWallBLR: 315;
sWallTLR: 316;
sWallTBR: 317;
sWallTBL: 318;
tallYellowDoor: 319;
tallBlueDoor: 320;
tallRedDoor: 321;
tallGreenDoor: 322;
tallSpecialDoor: 323;
tallSteelDoor: 324;
keiskeiFairy: 325;
tulipFairy: 326;
bearDown: 327;
bearLeft: 328;
bearRight: 329;
bearUp: 330;
}
interface NumberToId {
1: 'yellowWall';
2: 'whiteWall';
3: 'blueWall';
4: 'star';
5: 'lava';
6: 'ice';
7: 'blueShopLeft';
8: 'blueShopRight';
9: 'pinkShopLeft';
10: 'pinkShopRight';
11: 'lavaNet';
12: 'poisonNet';
13: 'weakNet';
14: 'curseNet';
15: 'blueLava';
16: 'water';
20: 'autotile';
21: 'yellowKey';
22: 'blueKey';
23: 'redKey';
24: 'greenKey';
25: 'steelKey';
26: 'bigKey';
27: 'redGem';
28: 'blueGem';
29: 'greenGem';
30: 'yellowGem';
31: 'redPotion';
32: 'bluePotion';
33: 'greenPotion';
34: 'yellowPotion';
35: 'sword1';
36: 'shield1';
37: 'sword2';
38: 'shield2';
39: 'sword3';
40: 'shield3';
41: 'sword4';
42: 'shield4';
43: 'sword5';
44: 'shield5';
45: 'book';
46: 'fly';
47: 'pickaxe';
48: 'icePickaxe';
49: 'bomb';
50: 'centerFly';
51: 'upFly';
52: 'downFly';
53: 'coin';
54: 'freezeBadge';
55: 'cross';
56: 'superPotion';
57: 'earthquake';
58: 'poisonWine';
59: 'weakWine';
60: 'curseWine';
61: 'superWine';
62: 'dagger';
63: 'pack';
64: 'amulet';
65: 'hammer';
68: 'lifeWand';
69: 'jumpShoes';
70: 'sword0';
71: 'shield0';
72: 'skill1';
73: 'wand';
81: 'yellowDoor';
82: 'blueDoor';
83: 'redDoor';
84: 'greenDoor';
85: 'specialDoor';
86: 'steelDoor';
87: 'upFloor';
88: 'downFloor';
89: 'portal';
90: 'starPortal';
91: 'upPortal';
92: 'leftPortal';
93: 'downPortal';
94: 'rightPortal';
101: 'crystalUp';
102: 'crystalBottom';
103: 'fire';
104: 'switch';
109: 'magentaWall';
121: 'man';
122: 'trader';
123: 'thief';
124: 'fairy';
125: 'wizard';
126: 'recluse';
127: 'king';
128: 'youngMan';
129: 'sign';
130: 'expShop';
131: 'moneyShop';
132: 'princess';
133: 'npc0';
134: 'npc1';
135: 'npc2';
136: 'npc3';
137: 'greenMan';
138: 'blueTrader';
151: 'autotile1';
152: 'autotile2';
153: 'autotile3';
161: 'arrowUp';
162: 'arrowDown';
163: 'arrowLeft';
164: 'arrowRight';
165: 'light';
166: 'darkLight';
167: 'ski';
168: 'flower';
169: 'box';
170: 'boxed';
201: 'greenSlime';
202: 'redSlime';
203: 'blackSlime';
204: 'slimelord';
205: 'bat';
206: 'bigBat';
207: 'redBat';
208: 'vampire';
209: 'skeleton';
210: 'skeletonWarrior';
211: 'skeletonCaptain';
212: 'ghostSoldier';
213: 'zombie';
214: 'zombieKnight';
215: 'rock';
216: 'slimeman';
217: 'bluePriest';
218: 'redPriest';
219: 'brownWizard';
220: 'redWizard';
221: 'yellowGateKeeper';
222: 'blueGateKeeper';
223: 'redGateKeeper';
224: 'swordsman';
225: 'soldier';
226: 'yellowKnight';
227: 'redKnight';
228: 'darkKnight';
229: 'blackKing';
230: 'yellowKing';
231: 'greenKing';
232: 'blueKnight';
233: 'goldSlime';
234: 'poisonSkeleton';
235: 'poisonBat';
236: 'ironRock';
237: 'skeletonPriest';
238: 'skeletonKing';
239: 'skeletonPresbyter';
240: 'skeletonKnight';
241: 'evilHero';
242: 'devilWarrior';
243: 'demonPriest';
244: 'goldHornSlime';
245: 'redKing';
246: 'blueKing';
247: 'magicMaster';
248: 'silverSlime';
249: 'blademaster';
250: 'whiteHornSlime';
251: 'evilPrincess';
252: 'evilFairy';
253: 'yellowPriest';
254: 'redSwordsman';
255: 'whiteSlimeman';
256: 'poisonZombie';
257: 'dragon';
258: 'octopus';
259: 'fairyEnemy';
260: 'princessEnemy';
261: 'angel';
262: 'elemental';
263: 'steelGuard';
264: 'evilBat';
265: 'silverSlimelord';
266: 'goldSlimelord';
267: 'grayRock';
270: 'greenKnight';
271: 'bowman';
272: 'purpleBowman';
275: 'watcherSlime';
277: 'frostBat';
278: 'devilKnight';
279: 'grayPriest';
280: 'greenGateKeeper';
300: 'ground';
301: 'sWallT';
302: 'sWallL';
303: 'sWallR';
304: 'sWallB';
305: 'grass';
306: 'sWallTL';
307: 'sWallBR';
308: 'grass2';
309: 'sWallTR';
310: 'sWallBL';
311: 'ground2';
312: 'sWallTB';
313: 'ground3';
314: 'sWallLR';
315: 'sWallBLR';
316: 'sWallTLR';
317: 'sWallTBR';
318: 'sWallTBL';
319: 'tallYellowDoor';
320: 'tallBlueDoor';
321: 'tallRedDoor';
322: 'tallGreenDoor';
323: 'tallSpecialDoor';
324: 'tallSteelDoor';
325: 'keiskeiFairy';
326: 'tulipFairy';
327: 'bearDown';
328: 'bearLeft';
329: 'bearRight';
330: 'bearUp';
}