@bgforge/mls-server 3.0.1
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.
- package/LICENSE.txt +0 -0
- package/README.md +42 -0
- package/out/completion.fallout-ssl.json +7972 -0
- package/out/completion.fallout-worldmap-txt.json +308 -0
- package/out/completion.weidu-baf.json +7630 -0
- package/out/completion.weidu-d.json +534 -0
- package/out/completion.weidu-tp2.json +6448 -0
- package/out/engine-proc-docs.json +29 -0
- package/out/engine-procedures.json +29 -0
- package/out/hover.fallout-ssl.json +4730 -0
- package/out/hover.fallout-worldmap-txt.json +146 -0
- package/out/hover.weidu-baf.json +4550 -0
- package/out/hover.weidu-d.json +272 -0
- package/out/hover.weidu-tp2.json +3818 -0
- package/out/server.js +30865 -0
- package/out/signature.fallout-ssl.json +32 -0
- package/out/td-plugin.js +1 -0
- package/out/td-runtime.d.ts +314 -0
- package/out/tree-sitter-baf.wasm +0 -0
- package/out/tree-sitter-ssl.wasm +0 -0
- package/out/tree-sitter-weidu_d.wasm +0 -0
- package/out/tree-sitter-weidu_tp2.wasm +0 -0
- package/out/tssl-plugin.js +11 -0
- package/out/web-tree-sitter.wasm +0 -0
- package/package.json +59 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"barter_init_p_proc": "Called when the barter screen is initialized.",
|
|
3
|
+
"barter_p_proc": "Called when the player initiates bartering with the critter.",
|
|
4
|
+
"combat_is_over_p_proc": "Called every time before combat ends.",
|
|
5
|
+
"combat_is_starting_p_proc": "Called every time before the start of combat.",
|
|
6
|
+
"combat_p_proc": "Called in combat (every turn?). The specific combat event number is passed via `fixed_param`.",
|
|
7
|
+
"create_p_proc": "Called when the object is first created on the map.",
|
|
8
|
+
"critter_p_proc": "This procedure is called every \"heartbeat\", which means it's run ten times each second, except during combat.\nNote: if this procedure is not present in the script, errors can occur, and the first encountered procedure may be treated as this handler.",
|
|
9
|
+
"damage_p_proc": "Called when the critter takes damage. The amount of damage received is passed via `fixed_param`.\nNote: not called if the damage is fully absorbed by armor.",
|
|
10
|
+
"description_p_proc": "Called when the player inspects the object (binoculars). By default, the description from the prototype object is shown.\nNote: must use `script_overrides` to prevent simultaneous execution with the default description.",
|
|
11
|
+
"destroy_p_proc": "Called on death of the critter or destruction of the object (except when using `destroy_object(self_obj)`).",
|
|
12
|
+
"drop_p_proc": "Called when the self-object is dropped to the ground.",
|
|
13
|
+
"is_dropping_p_proc": "Called when trying to drop an object.",
|
|
14
|
+
"look_at_p_proc": "Called when the player passes the cursor over any object. By default, the prototype name of the object is displayed.\nNote: must use `script_overrides` to prevent simultaneous execution with the default name display.",
|
|
15
|
+
"map_enter_p_proc": "Called once by the engine each time the map is entered from another map. It is not run when the elevation is changed.",
|
|
16
|
+
"map_exit_p_proc": "Called when the player leaves the map.",
|
|
17
|
+
"map_update_p_proc": "Called every 250 game ticks (1 tick = 1/10 second, so roughly every 25 seconds). It is also called each time you exit a dialogue, each time you exit the pipboy screen and each time you use an item. In addition to that, it is run once when you enter the map, and, seemingly, twice when you change elevation.",
|
|
18
|
+
"pickup_p_proc": "In object scripts, called when a critter tries to pick up this item.\nFor container objects, called when a critter tries to open them or steal something.\nIn critter scripts, called when someone tries to steal from this critter.",
|
|
19
|
+
"push_p_proc": "Called when trying to push the object.",
|
|
20
|
+
"spatial_p_proc": "Called when an object passes over the self-object's spatial trigger area.",
|
|
21
|
+
"start": "Called by the engine when the script is first run or the game object is first created, then never again, unless specifically called from somewhere else.",
|
|
22
|
+
"talk_p_proc": "Called when the player tries to initiate dialogue with the critter.",
|
|
23
|
+
"timed_event_p_proc": "This procedure is called by the function `add_timer_event(ObjPtr obj, int time, int fixed_param)`.\n`ObjPtr` points to the object whose script's `timed_event_p_proc` procedure you want to access.\nTime is the number of game ticks (1 game tick = 1/10 seconds) you want to pass before the `timed_event_p_proc` is called.\n`fixed_param` is a variable you can set to differentiate between various timed events.\nIn `timed_event_p_proc`, you can check the value of `fixed_param` against whatever number you used when calling `add_timer_event`.\nThis allows for multiple uses of `timed_event_p_proc` in the same script.",
|
|
24
|
+
"use_ad_on_p_proc": "Called when an advantage is used on the object.",
|
|
25
|
+
"use_disad_on_p_proc": "Called when a disadvantage is used on the object.",
|
|
26
|
+
"use_obj_on_p_proc": "Called when:\n- A critter uses an object on another critter. (Or themselves).\n- A critter uses an object from inventory screen AND this object does not have \"Use\" action flag set and it's not active flare or explosive.\n- Player or AI uses any drug.\nThe parameter `obj_being_used_with` receives a pointer to the object that was used.",
|
|
27
|
+
"use_p_proc": "Called when:\n- A critter uses an object from inventory which have \"Use\" action flag set or it's an active flare or dynamite.\n- Player uses an object from main interface.\nUse `source_obj` to get the object being used. Note: not called for some item types when working with inventory.",
|
|
28
|
+
"use_skill_on_p_proc": "Called when a skill is used on the object. The skill number is passed via `action_being_used` (see DEFINE.H, Skill Equates)."
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[
|
|
2
|
+
"barter_init_p_proc",
|
|
3
|
+
"barter_p_proc",
|
|
4
|
+
"combat_is_over_p_proc",
|
|
5
|
+
"combat_is_starting_p_proc",
|
|
6
|
+
"combat_p_proc",
|
|
7
|
+
"create_p_proc",
|
|
8
|
+
"critter_p_proc",
|
|
9
|
+
"damage_p_proc",
|
|
10
|
+
"description_p_proc",
|
|
11
|
+
"destroy_p_proc",
|
|
12
|
+
"drop_p_proc",
|
|
13
|
+
"is_dropping_p_proc",
|
|
14
|
+
"look_at_p_proc",
|
|
15
|
+
"map_enter_p_proc",
|
|
16
|
+
"map_exit_p_proc",
|
|
17
|
+
"map_update_p_proc",
|
|
18
|
+
"pickup_p_proc",
|
|
19
|
+
"push_p_proc",
|
|
20
|
+
"spatial_p_proc",
|
|
21
|
+
"start",
|
|
22
|
+
"talk_p_proc",
|
|
23
|
+
"timed_event_p_proc",
|
|
24
|
+
"use_ad_on_p_proc",
|
|
25
|
+
"use_disad_on_p_proc",
|
|
26
|
+
"use_obj_on_p_proc",
|
|
27
|
+
"use_p_proc",
|
|
28
|
+
"use_skill_on_p_proc"
|
|
29
|
+
]
|