← 返回
未分类

传奇《废品机械师》蓝图生成技能

Generate and modify Scrap Mechanic blueprints (JSON). Build vehicles, buildings, digital logic circuits (gates, flip-flops, counters, oscillators, displays), and pixel art. Use when the user wants to create or edit Scrap Mechanic blueprint files, design circuits, or build structures for the game. Covers blueprint JSON format (v3/v4), parts database (170+ items with UUIDs), block types (platform connectors vs basic blocks like metal/wood), digital logic (AND/OR/XOR/NAND/NOR gates, controllers wir
废品机械师蓝图 Skill 这是什么 一个让 AI 直接生成废品机械师游戏蓝图文件的技能包。你说想法,AI 出蓝图——建筑、车辆、数字电路、像素画。
此生119
未分类 community v1.0.1 2 版本 100000 Key: 无需
★ 1
Stars
📥 93
下载
💾 0
安装
2
版本
#latest

概述

Scrap Mechanic Blueprint Skill

Quick Start

  1. Ask user for game install path (usually D:\SteamLibrary\steamapps\common\Scrap Mechanic\ or C:\Program Files (x86)\Steam\steamapps\common\Scrap Mechanic\)
  2. Only modify existing blueprints — never create new UUID. Game can't find new blueprints. User tells you which blueprint name/ID to overwrite.
  3. Blueprint save path: %APPDATA%\Axolot Games\Scrap Mechanic\User\User_*\Blueprints\\blueprint.json

Parts Database

Load references/parts-database.json for 170+ parts with UUIDs, sizes. Load references/block-types.md for zaxis/bounds rules.

Blueprint JSON Format (v4)

{
  "bodies": [{"childs": [...]}],
  "joints": [...],  // optional
  "version": 4
}

Each child: {"color":"HEX","controller":{...},"pos":{"x":x,"y":y,"z":z},"shapeId":"uuid","xaxis":1,"zaxis":-2}

Block Type Differences (CRITICAL)

Typezaxisboundsstretch
------------------------------
Platform connector (295451dd-)-2optionalno
Metal/Wood/Concrete blocks3required {x,y,z}yes

Never mix zaxis values between types.

controllers (logic wiring)

  • controllers: [{"id":X}] = this component's output goes TO component X
  • controllers: null = endpoint (light, no forwarding)
  • IDs start at 1; 0 is reserved

Logic Gate Modes

modegatebehavior
----------------------
0ANDall 1→1
1ORany 1→1
2XORexactly one 1→1
3NANDall 1→0. Single input = NOT gate
4NORany 1→0

Key Rules (Game Verified)

  1. Signal has NO loss — fan-out is unlimited, no buffers needed
  2. 1 tick delay per hop — only propagation cost
  3. Lights only accept ONE input — need OR gate to combine multiple sources
  4. Blocks must be adjacent — floating blocks split into separate pieces
  5. Bearing+board+wheel form rigid triangle — can't change relative positions
  6. Wheels: small d=3+margin*2≈4 effective, spacing ≥4

Vehicle Building (zaxis=-2 orientation)

Board at z=2, xaxis=1, zaxis=-2
Bottom wheels: pos(board_x-1, -1, 4), zaxis=-2
Top wheels: pos(board_x+2, 3, 4), zaxis=2
Bearing joint: posA=posB=(board_x, -2, 2) bottom / (board_x, 3, 2) top

Digital Circuits (Game Verified)

Core Circuits

  • 1-tick pulse gen: AND→NAND→AND feedback
  • T flip-flop: edge detector(AND+NAND)→XOR↺self
  • OR self-latch: OR↺self, 1-tick pulse→permanent ON
  • 3-OR ring oscillator: odd ORs = stable oscillator
  • Ripple counter: shared 1tick pulse→XOR chain with carry ANDs
  • Simplified counter: pulse width < chain length prevents ripple, saves NANDs

Display Decoder

Counter bits → NAND inverters(single input=~X) → 
  Value-detecting AND gates(one per value) → Pixel-collecting OR gates → Lights

Each light has exactly ONE OR gate as input. OR gate collects from all value-ANDs where pixel should be ON.

Tools

Use scripts/blueprint_builder.py for programmatic blueprint generation. Key API:

  • Blueprint(name, version=4) — create blueprint
  • .block/shape, x, y, z) — add static block (platform connector)
  • .metal(x, y, z, w, h, d) — add metal block with bounds
  • .cube/hollow_cube/sphere/cylinder(...) — geometry
  • .part/shape, x, y, z, mode, controllers) — interactive component
  • .gate/type, x, y, z, inputs) — logic gate shortcut
  • .add_wheel(side, body, board_x, board_y) — vehicle wheel with bearing
  • .save_to(target_dir) — save to existing blueprint directory

版本历史

共 2 个版本

  • v1.0.1 更新了描述 当前
    2026-04-27 19:44 安全 安全
  • v1.0.0 Initial release
    2026-04-27 19:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 328,417
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,800
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 182,152