21 lines
595 B
Plaintext
21 lines
595 B
Plaintext
Modern-Ish Manholes API
|
|
|
|
|
|
|
|
modern_ish_manholes.register(name, def)
|
|
|
|
---------def items:
|
|
|
|
----Required:
|
|
|
|
open_tiles: tiles for the manhole's single fixed nodebox, when open.
|
|
closed_tiles:tiles for the manhole's single fixed nodebox, when closed.
|
|
description: The inventory description of the manhole.
|
|
|
|
|
|
----optional:
|
|
|
|
recipe: define a crafting recipe for the manhole, to be registered automatically.
|
|
closed_sun = true: sunlight should go through manhole even when closed. (example: glass hatch)
|
|
|
|
NOTICE: closed_sun currently sets both closed and open sunlight propagation. see comment in init.lua |