@ic10/metadata 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/locals/builtin.d.ts +33 -0
  2. package/dist/locals/builtin.js +34 -0
  3. package/dist/locals/enums.d.ts +3 -0
  4. package/dist/locals/enums.js +4044 -0
  5. package/dist/locals/index.d.ts +3 -0
  6. package/dist/locals/index.js +3 -0
  7. package/dist/locals/instructions.d.ts +981 -0
  8. package/dist/locals/instructions.js +982 -0
  9. package/dist/stationpedia/CN/colors.d.ts +67 -0
  10. package/dist/stationpedia/CN/colors.js +132 -0
  11. package/dist/stationpedia/CN/constants.d.ts +3 -0
  12. package/dist/stationpedia/CN/constants.js +6765 -0
  13. package/dist/stationpedia/CN/consts.d.ts +681 -0
  14. package/dist/stationpedia/CN/consts.js +682 -0
  15. package/dist/stationpedia/CN/data.d.ts +3 -0
  16. package/dist/stationpedia/CN/data.js +41463 -0
  17. package/dist/stationpedia/CN/index.d.ts +6 -0
  18. package/dist/stationpedia/CN/index.js +6 -0
  19. package/dist/stationpedia/CN/instructions.d.ts +2 -0
  20. package/dist/stationpedia/CN/instructions.js +3 -0
  21. package/dist/stationpedia/CN/tags.d.ts +2 -0
  22. package/dist/stationpedia/CN/tags.js +14 -0
  23. package/dist/stationpedia/EN/colors.d.ts +67 -0
  24. package/dist/stationpedia/EN/colors.js +132 -0
  25. package/dist/stationpedia/EN/constants.d.ts +3 -0
  26. package/dist/stationpedia/EN/constants.js +6765 -0
  27. package/dist/stationpedia/EN/consts.d.ts +681 -0
  28. package/dist/stationpedia/EN/consts.js +682 -0
  29. package/dist/stationpedia/EN/data.d.ts +3 -0
  30. package/dist/stationpedia/EN/data.js +41471 -0
  31. package/dist/stationpedia/EN/index.d.ts +6 -0
  32. package/dist/stationpedia/EN/index.js +6 -0
  33. package/dist/stationpedia/EN/instructions.d.ts +2 -0
  34. package/dist/stationpedia/EN/instructions.js +3 -0
  35. package/dist/stationpedia/EN/tags.d.ts +2 -0
  36. package/dist/stationpedia/EN/tags.js +15 -0
  37. package/dist/std/builtin.d.ts +18 -0
  38. package/dist/std/builtin.js +19 -0
  39. package/dist/std/enums.d.ts +3 -0
  40. package/dist/std/enums.js +3582 -0
  41. package/dist/std/index.d.ts +3 -0
  42. package/dist/std/index.js +3 -0
  43. package/dist/std/instructions.d.ts +818 -0
  44. package/dist/std/instructions.js +819 -0
  45. package/package.json +50 -0
@@ -0,0 +1,33 @@
1
+ declare const data: {
2
+ readonly general_purpose_registers: {
3
+ readonly desc: {
4
+ readonly "en-us": "General-purpose registers r0-r15, written as rx (x=0..15). They store temporary values, operands, and results for math, logic, device, and control instructions. They can be given readable aliases with alias.";
5
+ readonly "zh-hans": "通用寄存器 r0-r15,写作 rx(x=0..15)。用于存储临时数据、运算操作数与结果,可参与数学、逻辑、设备和流程控制等指令;可用 alias 定义易读别名。";
6
+ };
7
+ };
8
+ readonly address_register: {
9
+ readonly desc: {
10
+ readonly "en-us": "Return-address register ra. jal and *al conditional jumps store the return address (next line / current line + 1) in ra; subroutines return with j ra.";
11
+ readonly "zh-hans": "返回地址寄存器 ra。jal 及带 al 后缀的条件跳转会把返回地址(下一行 / 当前行号+1)存入 ra;子程序可用 j ra 返回。";
12
+ };
13
+ };
14
+ readonly stack_pointer_register: {
15
+ readonly desc: {
16
+ readonly "en-us": "Stack pointer register sp. Points to the current stack position and is used by stack/memory instructions such as push, pop, peek, poke, get, and put. Some docs differ on whether push increments or decrements sp; verify in-game.";
17
+ readonly "zh-hans": "栈指针寄存器 sp。指向栈内存当前位置,供 push、pop、peek、poke、get、put 等栈/内存指令使用。部分资料对 push 时 sp 是加还是减存在差异,请以游戏实际版本为准。";
18
+ };
19
+ };
20
+ readonly ordinary_devices: {
21
+ readonly desc: {
22
+ readonly "en-us": "Ordinary device ports d0-d5, written as dx (x=0..5). These are the six external device connections configured on the IC socket with a screwdriver. Use l/s/ls/ss/lr etc. to read/write their logic properties. Aliases can be defined with alias.";
23
+ readonly "zh-hans": "普通设备端口 d0-d5,写作 dx(x=0..5)。它们是 IC 插座上可用螺丝刀配置的 6 个外部设备连接;可用 l/s/ls/ss/lr 等指令读写其逻辑属性,也可用 alias 定义别名。";
24
+ };
25
+ };
26
+ readonly self_reference_device: {
27
+ readonly desc: {
28
+ readonly "en-us": "Self-reference device db. Refers to the device the IC10 chip is installed in, allowing direct read/write of that device's logic data, e.g. s db Setting r0.";
29
+ readonly "zh-hans": "特殊自引用设备 db。表示 IC10 芯片自身所安装/所在的设备,可直接读写该设备的逻辑数据,例如 s db Setting r0。";
30
+ };
31
+ };
32
+ };
33
+ export default data;
@@ -0,0 +1,34 @@
1
+ // AUTO-GENERATED from metadata/json/locals/builtin.json. DO NOT EDIT.
2
+ const data = {
3
+ "general_purpose_registers": {
4
+ "desc": {
5
+ "en-us": "General-purpose registers r0-r15, written as rx (x=0..15). They store temporary values, operands, and results for math, logic, device, and control instructions. They can be given readable aliases with alias.",
6
+ "zh-hans": "通用寄存器 r0-r15,写作 rx(x=0..15)。用于存储临时数据、运算操作数与结果,可参与数学、逻辑、设备和流程控制等指令;可用 alias 定义易读别名。"
7
+ }
8
+ },
9
+ "address_register": {
10
+ "desc": {
11
+ "en-us": "Return-address register ra. jal and *al conditional jumps store the return address (next line / current line + 1) in ra; subroutines return with j ra.",
12
+ "zh-hans": "返回地址寄存器 ra。jal 及带 al 后缀的条件跳转会把返回地址(下一行 / 当前行号+1)存入 ra;子程序可用 j ra 返回。"
13
+ }
14
+ },
15
+ "stack_pointer_register": {
16
+ "desc": {
17
+ "en-us": "Stack pointer register sp. Points to the current stack position and is used by stack/memory instructions such as push, pop, peek, poke, get, and put. Some docs differ on whether push increments or decrements sp; verify in-game.",
18
+ "zh-hans": "栈指针寄存器 sp。指向栈内存当前位置,供 push、pop、peek、poke、get、put 等栈/内存指令使用。部分资料对 push 时 sp 是加还是减存在差异,请以游戏实际版本为准。"
19
+ }
20
+ },
21
+ "ordinary_devices": {
22
+ "desc": {
23
+ "en-us": "Ordinary device ports d0-d5, written as dx (x=0..5). These are the six external device connections configured on the IC socket with a screwdriver. Use l/s/ls/ss/lr etc. to read/write their logic properties. Aliases can be defined with alias.",
24
+ "zh-hans": "普通设备端口 d0-d5,写作 dx(x=0..5)。它们是 IC 插座上可用螺丝刀配置的 6 个外部设备连接;可用 l/s/ls/ss/lr 等指令读写其逻辑属性,也可用 alias 定义别名。"
25
+ }
26
+ },
27
+ "self_reference_device": {
28
+ "desc": {
29
+ "en-us": "Self-reference device db. Refers to the device the IC10 chip is installed in, allowing direct read/write of that device's logic data, e.g. s db Setting r0.",
30
+ "zh-hans": "特殊自引用设备 db。表示 IC10 芯片自身所安装/所在的设备,可直接读写该设备的逻辑数据,例如 s db Setting r0。"
31
+ }
32
+ }
33
+ };
34
+ export default data;
@@ -0,0 +1,3 @@
1
+ export type Data = Record<"AirCon" | "AirControl" | "BatchMode" | "Color" | "CompareOperator" | "DaylightsensorMode" | "DisplayMode" | "ElevatorMode" | "EntityState" | "GasType" | "HashType" | "LogicSlotType" | "LogicType" | "PowerMode" | "PrinterInstruction" | "ReEntryProfile" | "RobotMode" | "RocketMode" | "ReagentMode" | "SettingDisplayMode" | "ShuttleType" | "SlotClass" | "SorterInstruction" | "SortingClass" | "Sound" | "TraderInstruction" | "TransmitterMode" | "Vent" | "FiltrationMode" | "NodeType", unknown>;
2
+ declare const data: Data;
3
+ export default data;