MGS ORIGINS EXPANDED 5.0 RC1 (merged build; history below starts at 4.0.8 FINAL)

BASE
- 3.1 API Definitive / Playable build (4.0.0 Official 1.0 content, load-safety patch). All 53 origins, stamina,
  Pufferfish skill trees, additive firearm affinities and KubeJS signature effects are unchanged.

ADDED FROM THE 52 CQC REWORK (additive only)
- Wall climbing: Big Boss, The Boss, Venom Snake, Quiet, Raiden, Gray Fox, Monsoon, Vamp, The Fear.
- Missing ultimates (secondary active, 3 min cooldown): Big Boss "CQC: Final Assault",
  Revolver Ocelot "Ricochet", Vamp "Immortal Agility".

ASSETS ADDED
- "The Man Who Sold the World" theme (mgsx:man_who_sold_world, from the 51 music resource pack) is bundled in the jar and
  plays when Venom Snake triggers Phantom Assault. No separate resource pack is needed.
- 512x512 skill-tree background from the 3.7.5 build replaces the 64x64 one used by all seven Pufferfish skill categories.

4.0.8 CANON DESCRIPTIONS + SNIPER CRAWL
- Origin descriptions are canonical character text only (no compatibility notes); mod names removed from power names/descriptions.
- Sniper Wolf, Quiet and The End are invisible while crawling on the ground (crawling/swimming pose, not in water), regardless of
  combat heat. Standing still while sneaking also hides them (heat below 10). A shot briefly breaks camouflage.
  Any crawl mechanic that sets the player's crawling pose works; no separate prone mechanic exists in Point Blank 2.2.0.

4.0.7 CLIMBING REWORK + DESCRIPTIONS
- Wall climbing (9 origins) is now a multi-part power: toggle key (vanilla "Save Hotbar Activator", C by default, rebindable) with
  an action-bar ON/OFF message; climbing only starts from the ground beside a wall at least ~2 blocks tall; a 25-tick climb budget
  (about 3 blocks) that refills when standing on a block; never while gliding or in water.
  It costs no stamina: nothing in this mod touches Epic Fight stamina, and the MGS Combat Stamina bar is not drained by climbing.
- Stamina: combat_stamina failed to load in the supplied log (origins:not); fixed since 4.0.2. Descriptions now explain what drains it.
- Descriptions: all 53 origin descriptions list their key abilities and supported weapon mods; 48 generic power descriptions sharpened.

4.0.6 CLIMBING FIX
- The 9 wall-climbing powers (Big Boss, The Boss, Venom Snake, Quiet, Raiden, Gray Fox, Monsoon, Vamp, The Fear) had no condition,
  so the climb state could be active away from walls. They now require the body to be touching a wall (block collision a short
  step to the east/west/north/south), and are off while gliding with an elytra or underwater.

4.0.5 SELF-CONTAINED KUBEJS
- KubeJS (2001.6.5-build.26+) and KubeJS Additions are mandatory dependencies in mods.toml.
- On startup the jar copies its 4 mgs_*.js scripts into <game dir>/kubejs (startup_scripts, server_scripts) and creates
  config/mgs_api.properties if missing. Scripts are re-synced when they differ; user configs are never overwritten.
  Look for "[MGS Origins] KubeJS files: ..." in latest.log. First launch only: restart once if the log asks for it.
- Effect icons, item textures and lang entries now ship as jar assets (assets/kubejs), no kubejs/assets folder needed.
- A mod jar cannot register status effects itself; the effects are still registered by the KubeJS startup scripts.
- modpack overrides/kubejs can be deleted once the log line above confirms the auto-install works.

4.0.4 FIRST AID + FIELD COOKBOOK
- First Aid (optional but now bundled in the modpack): the KubeJS healing helper treats the most wounded limb first via First Aid's
  API, and Armstrong's Nanomachine Core / Self-Repair and the nanomachine repair effect apply Morphine-style pain suppression
  while hurt. Without First Aid everything falls back to normal healing. First Aid hits also count as "recently damaged".
- Origin-exclusive recipes (origins:recipe): Para-Medic Field Dressing (2 paper + string = 2 First Aid bandages),
  Naomi Compound Synthesis (bottle + 1 fermented spider eye = Morphine), Drebin Gunmetal Trade (iron + copper = 2 Point Blank
  gunmetal mesh). These need First Aid / Point Blank installed.
- The custom status effects are registered by the KubeJS startup scripts; a datapack/jar cannot register mob effects, so they ship
  in the modpack's kubejs/ folder (updated here) instead of inside the jar.

4.0.3 MOD INTEGRATION
- Origin icons now come from Point Blank, Epic Fight, Epic Fight Nightfall, Weapons of Miracles, TaCZ and Marbled's First Aid
  (34 origins; the rest keep vanilla icons). These mods must be installed or those origins will not load.
- mgscanon:firearms now includes all 61 Point Blank guns (optional entries), so every firearm bonus applies to them.
- mgscanon:blades now includes Epic Fight katana/tachi/longswords and Nightfall katanas (Yamato, Kusabimaru, etc.).
- ParCool wording removed from crawl/sniper descriptions; the powers only check the crawl (swimming) pose, so any crawl mod works.
- First Aid (ichttt) is not used: it replaces the damage system and was not requested for the pack.

4.0.2 FIXES (from a real client log, Apoli 2.9.0.8 / Origins 1.10.0.9)
- 14x origins:not replaced by the condition's own "inverted": true (origins:not is not a registered condition type).
  This was partially loading combat_stamina and every crawl/sneak camouflage and signature power.
- 18x origins:nbt with an object {"Pose":"SWIMMING"} replaced by origins:pose (the nbt field must be a string).
- origins:constant (the_end_parrot, the_end_parrot_cleanup) is not a power type; now hidden origins:simple markers.
- Venom Snake theme: origins:play_sound needs a registered SoundEvent, so it is now played with the playsound command.

NOT MERGED, ON PURPOSE
- 3.7.5 Java engine classes: they use Mojang names and still reference Level.isClientSide, which is the crash the
  3.1 Playable build removed. Restoring them would bring that crash back. Stealth is handled by the data powers and KubeJS.
- 52 *_body/_armor/_strength/_speed powers: duplicate this build's Canon Combat Profile stats and would double-buff.
- 52 CQC renames: this build keeps the Official 1.0 rule that only canon-CQC characters use CQC naming.
- 52 Solid Snake Cardboard Box: this build's box already includes the same toggle, reserve and auto-off, plus a heat check.
- 51 Mechanics Pass: legacy namespaces (bigboss, jetstreamsam, mgsn...) and hard references to efn items that the
  Playable build deliberately replaced with optional tags.

REQUIRED ALONGSIDE THIS JAR
- The kubejs/ folder from this pack (signature effects, API runtime, effect icons, lang).
- KubeJS 2001.6.5-build.26 and KubeJS Additions 4.3.4.
- Keep exactly one MGS Origins Expanded jar in mods/. Do not add the old datapack zips to worlds.

Static validation only; not launched in Minecraft.

4.0.9 METAL LIMBS (First Aid)
- Raiden, Gray Fox, Monsoon (arms, legs, feet; half damage), Solidus Snake (arms, legs, feet; 35% less) and the prosthetic right arm of
  Venom Snake and Jetstream Sam (half damage) take reduced limb damage under First Aid. Done per tick in server_scripts/mgs_api_runtime.js:
  health lost by a metal limb since the previous tick is partly handed back. No First Aid jar changes. Without First Aid nothing changes.
- Metal arms no longer cause First Aid's Mining Fatigue (cleared only while every flesh arm is undamaged).
- Bionic Arm Reflex (Venom Snake, Jetstream Sam): a hit on the prosthetic arm grants Haste II (4 s) and Resistance (3 s), 8 s cooldown.
- Not launched in Minecraft; static edit only.

4.0.10 FIXES (from latest.log)
- 17 powers (crawl/sneak camouflage, snipers, signature traits, old_snake_stealth_movement, combat_stamina) used the condition
  origins:pose, which Origins Forge (Apoli 2.9.0.8) does not register ("Unknown registry key: origins:pose"); they only loaded partially.
  Changed to apoli:pose. Combat Stamina regen and the camouflage/sniper conditions now load completely.
- Not launched in Minecraft; static edit only.

4.1.0 PASSIVE + SYSTEM UPGRADE
- All passive buffs x1.25 (482 modifiers in 333 powers), damage/exhaustion reductions stronger, Combat Stamina system improved.
  Full list: docs/MGS_PASSIVE_UPGRADE_4_1_0.txt. Penalties unchanged. Not launched in Minecraft; static edit only.

4.2.0 PASSIVE REWORK
- 12 signature passives rewritten to fit their characters; see docs/MGS_PASSIVE_REWORK_4_2_0.txt. Behaviour tested only against a mock; not launched in Minecraft.

4.3.0 PASSIVE REWORK 2
- 53 powers: firearm/weapon-handling trigger per character, blade users differentiated, Major Zero no longer gets sneaking speed, generic duplicate names replaced. See docs/MGS_PASSIVE_REWORK_4_3_0.txt. Data-only change; not launched in Minecraft.

4.4.0 POLISH
- Night Operations renamed per character; The End / Sniper Wolf / Quiet crawl bonus now 35% / 28% / 20%. Data only; see docs/MGS_PASSIVE_POLISH_4_4_0.txt.

4.5.0 ARMOR PENETRATION
- New effect Armor Pierced and 11 armor_piercing powers (snipers, Raven, Fortune, Ocelot, HF blade users, Sundowner). See docs/MGS_ARMOR_PENETRATION_4_5_0.txt. Not launched in Minecraft.
