cyberneticlibrary

Add mining data entry

add-orecommandsetup L10
jazztazz1991/MagpieIndustriesSC
What it does

Add new ore definition to mining game data with validation

Best for

Adding new mining game ores without breaking the scanner grid layout or introducing duplicates

Inputs
  • · ore name
  • · 4-letter abbreviation
  • · type (rock/gem/metal)
  • · valuePerSCU
  • · instability (0-1000+)
  • · resistance (0-100)
Outputs
  • · updated client/src/data/mining.ts with new ore in alphabetical order
  • · updated scannerOreOrder grid
Requires
  • · Read/Write for mining.ts
  • · verify skill
Preconditions
  • · client/src/data/mining.ts readable
  • · abbrev not already in use
Failure modes
  • · duplicate abbrev or name
  • · abbrev not exactly 4 chars
  • · ore not sorted alphabetically after add
Trust signals
  • · alphabetical order enforcement
  • · duplicate detection
  • · verify run after each add