Documentation
IfMycelialGeneratorScreen
IF mycelial generator: 16 variants share one layout, with input kind and color driven by the variant table.
菌丝网络史莱姆发电机
8
8
import { IF_DEMO_ITEMS } from "../if-demo-data";
import { IfMycelialGeneratorScreen } from "./index";
export function IfMycelialGeneratorScreenDemo() {
return (
<IfMycelialGeneratorScreen
burn={0.4}
display={IF_DEMO_ITEMS.wheat}
energy={{ max: 1000, value: 300 }}
inputs={[{ max: 1000, tint: "#F0F0F0", value: 500 }, IF_DEMO_ITEMS.wheat]}
variant="slimey"
/>
);
}
Install
$pnpm add @tennantite/industrialforegoingnpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/industrialforegoing/src/if-mycelial-generator-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.