// ── The named lists behind five title categories (PLAN_REDESIGNS §5.3, D174) ── // // "In one place, so a Rust update adds a weapon by editing a list." The plugin // sends every credited kill by weapon SHORT PREFAB NAME — the name the killfeed // already shows (`bow_hunting.entity`) — and every gathered resource by item // shortname (`sulfur.ore`). These lists are applied when a title is READ, so // editing one corrects the whole wipe and no plugin release is needed. // // Melee is a list too: the site cannot ask the game whether a prefab is a // `BaseMelee`. A blade is a melee weapon, so every blade is in both. // // UNVERIFIED: the weapon names below are from knowledge of the game, not yet // read off the rig's own item list (the RgWeapons probe). Replace them with the // probe's output before this ships. const BLADES = [ 'machete.weapon', 'salvaged_sword.entity', 'longsword.entity', 'salvaged_cleaver.entity', 'knife_bone.entity', 'knife.combat.entity', 'butcherknife.entity', ] const lists = { bow: ['bow_hunting.entity', 'compound_bow.entity', 'crossbow.entity'], blade: BLADES, melee: [ ...BLADES, 'bone_club.entity', 'mace.entity', 'spear_wooden.entity', 'spear_stone.entity', 'hatchet.entity', 'stonehatchet.entity', 'pickaxe.entity', 'stone_pickaxe.entity', 'salvaged_axe.entity', 'salvaged_hammer.entity', 'salvaged_icepick.entity', 'rock.entity', 'torch.entity', 'paddle.entity', 'pitchfork.entity', 'sickle.entity', ], revolver: ['revolver.entity', 'python.entity'], // Gathering (D159: all three sources, already in `rust_gather_totals`). wood: ['wood'], ore: ['metal.ore', 'sulfur.ore', 'hq.metal.ore'], // Hemp picks up as cloth; a seed that comes with a plant is not the plant. plants: [ 'cloth', 'corn', 'pumpkin', 'potato', 'mushroom', 'red.berry', 'blue.berry', 'green.berry', 'yellow.berry', 'white.berry', 'black.berry', 'rose', 'orchid', 'sunflower', ], } module.exports = lists