mirror of
https://github.com/tacigar/maidroid.git
synced 2025-01-10 08:10:17 +01:00
Fix maidroid_tool/api.lua
This commit is contained in:
parent
2c97d3ede4
commit
768ba151cd
@ -10,6 +10,7 @@ maidroid_tool.shared = {}
|
|||||||
function maidroid_tool.shared.generate_writer(options)
|
function maidroid_tool.shared.generate_writer(options)
|
||||||
local nodename = options.node_name
|
local nodename = options.node_name
|
||||||
local formspecs = options.formspecs
|
local formspecs = options.formspecs
|
||||||
|
local tiles = options.tiles
|
||||||
local duration = options.duration
|
local duration = options.duration
|
||||||
local on_activate = options.on_activate
|
local on_activate = options.on_activate
|
||||||
local on_deactivate = options.on_deactivate
|
local on_deactivate = options.on_deactivate
|
||||||
@ -169,7 +170,7 @@ function maidroid_tool.shared.generate_writer(options)
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
node_box = options.node_box,
|
node_box = options.node_box,
|
||||||
selection_box = options.selection_box,
|
selection_box = options.selection_box,
|
||||||
tiles = inactive_tiles,
|
tiles = tiles.inactive,
|
||||||
can_dig = can_dig,
|
can_dig = can_dig,
|
||||||
on_timer = on_timer,
|
on_timer = on_timer,
|
||||||
on_construct = on_construct,
|
on_construct = on_construct,
|
||||||
@ -200,7 +201,7 @@ function maidroid_tool.shared.generate_writer(options)
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
node_box = options.node_box,
|
node_box = options.node_box,
|
||||||
selection_box = options.selection_box,
|
selection_box = options.selection_box,
|
||||||
tiles = tiles,
|
tiles = tiles.active,
|
||||||
can_dig = can_dig,
|
can_dig = can_dig,
|
||||||
on_timer = on_timer,
|
on_timer = on_timer,
|
||||||
allow_metadata_inventory_put = allow_metadata_inventory_put,
|
allow_metadata_inventory_put = allow_metadata_inventory_put,
|
Loading…
Reference in New Issue
Block a user