printer

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 33 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

What tools/spelldata prints, for the command and for a server that reads a row in-process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Row

func Row(id int32) (string, bool)

The text a bare id prints, or false for an id the store does not carry.

func Run

func Run(args []string, out io.Writer) error

Answers one command line of tools/spelldata into out.

Types

type Line

type Line struct {
	Human   string `json:"human"`
	Literal string `json:"literal"`
	Read    bool   `json:"read,omitempty"`
}

One effect as both readings: what it does in words, and the game files' own columns, which is what a developer checks the words against. Human is "unrecognised shape" on an effect no branch covers, and the literal is then all there is to read. Read marks the effect a chain read.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL