Namespace in reactor_core_display.js

Tilemap.ChunkPaint

11 public functions in 1 groups · show internal (_) functions

The Database: everything Core loads at boot.

Quick Reference

Other 11

stockTileLayer() The tile layer inside one of the two canonical layers, when both are as this file makes them; null otherwise.
scriptName() The file name of the script running now ("" outside one): a plugin while it loads.
watch() Until settle(), notes which script assigns each of these methods.
settle() The watched methods back to plain properties, holding what plugins left there.
gateReason() The reason while a plugin in GATES draws the map itself, else null.
ageVerdicts() Verdicts hold for one map and while the switch stays as it was.
verdict() Whether fn stands in for the stock method name: { ok, reason }.
passes() fn is the stock method name, or a plugin hook that stands in for it.
probe() Every probe call in PROBES leaves the same record from fn as from the stock method.
trace() Runs fn on a stand-in tilemap and returns, one line each and in order, every read, write, call and number con…
hookBlocker() Why the tilemap's painting methods keep the full paint, or null.

Other

stockTileLayer

static source
Tilemap.ChunkPaint.stockTileLayer(combined)

The tile layer inside one of the two canonical layers, when both are as this file makes them; null otherwise.

scriptName

static source
Tilemap.ChunkPaint.scriptName()

The file name of the script running now ("" outside one): a plugin while it loads.

watch

static source
Tilemap.ChunkPaint.watch(targets)

Until settle(), notes which script assigns each of these methods.

Details

Until settle(), notes which script assigns each of these methods. An assignment through an instance or a subclass prototype lands there as its own property, as it would on a plain property.

settle

static source
Tilemap.ChunkPaint.settle()

The watched methods back to plain properties, holding what plugins left there.

gateReason

static source
Tilemap.ChunkPaint.gateReason()

The reason while a plugin in GATES draws the map itself, else null.

ageVerdicts

static source
Tilemap.ChunkPaint.ageVerdicts()

Verdicts hold for one map and while the switch stays as it was.

Details

Verdicts hold for one map and while the switch stays as it was. Each is judged again RECHECK checks after it was made, one per check at most, so the work never lands on a single frame.

verdict

static source
Tilemap.ChunkPaint.verdict(fn, name)

Whether fn stands in for the stock method name: { ok, reason }.

passes

static source
Tilemap.ChunkPaint.passes(fn, name)

fn is the stock method name, or a plugin hook that stands in for it.

probe

static source
Tilemap.ChunkPaint.probe(fn, name)

Every probe call in PROBES leaves the same record from fn as from the stock method.

trace

static source
Tilemap.ChunkPaint.trace(fn, args, makesLayers)

Runs fn on a stand-in tilemap and returns, one line each and in order, every read, write, call and number conversion made on the stand-in, on LAYER arguments and on whatever those hand back, then the return value; null when it throws or runs past PROBE_LIMIT.

Details

Runs fn on a stand-in tilemap and returns, one line each and in order, every read, write, call and number conversion made on the stand-in, on LAYER arguments and on whatever those hand back, then the return value; null when it throws or runs past PROBE_LIMIT. Every stand-in reads as 1. makesLayers: Tilemap.CombinedLayer makes recorded stand-ins meanwhile.

hookBlocker

static source
Tilemap.ChunkPaint.hookBlocker(tilemap)

Why the tilemap's painting methods keep the full paint, or null.