Skip to content

Instantly share code, notes, and snippets.

phase 1: discovery & documentation

  • Variable; ObjectiveType
    • hwrm.lua
    • karos
  • Variable; ObjectiveState
    • hwrm.lua
    • karos
  • Dictionary; Objective
---@class MoveAttacker : Ship
---@field attack_move_position? Position
---@field previous_ROE? ROE
---@field success_distance integer
moveattacker = {
success_distance = 100
};
function moveattacker:isMoveAttacking()
@Novaras
Novaras / ok.lua
Last active October 4, 2023 23:38
HYPERSPACE_STATES = {
DEFAULT = 0,
INSIDE = 1,
EXITING = 2,
EXITED = 3
};
-- [ship id]: <hyperspace state>
SHIP_HYPERSPACE_STATES = {};
LAST_HS_ENTER_NOISE_TIME = nil;
.toribash-data-block-header,
.forumhome-toribash-section,
.forumdisplay-header,
.thead,
.btn-tb-primary,
.btn-tb-primary:focus,
a.btn-tb-primary,
a.btn-tb-primary:focus,
.page-item.pagination-tb-active .page-link {
color: #FFFFFF!important;

fearkido

A mod designed to be a refinement of classic ABD. See the mod file here

Changes:

  • Facture threshold 250 -> 280
  • Dismember threshold on wrists and ankles <default> -> 1200
  • Ring size 800 -> 820
  • Turnframes 500 -&gt; 520, a 20-frame turn is added to the end of the usual run
#!/usr/bin/toribash
version 14
gamerule
gravity 0.00 0.00 -30.00
engagedistance 80
dismemberthreshold 325
dismember 1
fracture 1
fracturethreshold 280
matchframes 520
PROMISE_INDEX = PROMISE_INDEX or 0;
PROMISE_POLL_INTERVAL = PROMISE_POLL_INTERVAL or 0.5;
PROMISE_NOOP = PROMISE_NOOP or function(_) end
PROMISE_STATUS = PROMISE_STATUS or {
pending = "pending",
ok = "ok",
fail = "fail"
};
-- Custom definitions file to allow sumneko.lua to provide completion/hover/etc. for HWRM globals.
-- Notice we never run this code, these defines are just used for IDE assistance.
if (nil) then
---@alias bool '1'|'nil'
AB_None = 0;
AB_Move = 1;
fx = {
style = "STYLE_RING",
properties = {
property_00 = {
name = "Radius",
type = "VARTYPE_ARRAY_TIMEFLOAT",
value = {
0, 41.06667,
1, 201.6,
},
if (makeStateHandle == nil) then
dofilepath("data:scripts/modkit/scope_state.lua");
end
if (REWARD_DIALOG_TRACKER_ROE_VALUES == nil) then
dofilepath("data:leveldata/campaign/say_wha/test_mission/lib.lua");
end
if (PHASE_REWARDS == nil) then
dofilepath("data:scripts/custom_code/horde/phase_rewards.lua");