Skip to content

Instantly share code, notes, and snippets.

View 00fast00's full-sized avatar

Fast 00fast00

View GitHub Profile
@00fast00
00fast00 / proposal.md
Last active November 1, 2025 12:38
LUA Bundler proposal

Bundler Proposal: Replace + Vendor modes

Note: This proposal is still in the works, is subject to change and is AI assisted.

This proposal describes two complementary features:

  • A safe AST rewrite that replaces selected require("...") calls with vendor-specific loader calls (--replace).
  • A vendor include mode to inline specific vendor roots while honoring excludes and prior rewrites (--vendor).

Source code remains standard LuaRocks-style requires for full IDE support; the bundle adapts to engine/runtime realities.

@00fast00
00fast00 / unit_inherit_creation_xp.lua.diff
Created October 24, 2025 01:59
unit_inherit_creation_xp.lua add optional inheritcreationxpmultiplier
diff --git a/luarules/gadgets/unit_inherit_creation_xp.lua b/luarules/gadgets/unit_inherit_creation_xp.lua
index c61b36f187..53342c5697 100644
--- a/luarules/gadgets/unit_inherit_creation_xp.lua
+++ b/luarules/gadgets/unit_inherit_creation_xp.lua
@@ -32,11 +32,15 @@ local childrenWithParents = {} --stores the parent/child relationships format. E
local mobileUnits = {}
local turretUnits = {}
local unitPowerDefs = {}
+local inheritCreationXP = {}
@00fast00
00fast00 / README.md
Last active October 23, 2025 05:44
NuttyB LRPC rebalance v3

NuttyB LRPC Rebalance: V2 → V3

This document summarizes the changes between V2 and V3 of the LRPC tweaks and shows their gameplay impact with simple tables you can share.

  • File: lua/tweakunits6.lua
  • Related burst source: lua/tweakunits.lua (sets leglrpc burst = 3)

Git-style diff (V2 → V3)