From cfd41c28b96e61c1d26ae22a59b868a9ce467957 Mon Sep 17 00:00:00 2001 From: CosmosScripter <50247544+CosmosScripter@users.noreply.github.com> Date: Wed, 23 Jun 2021 21:07:24 -0300 Subject: [PATCH] Update api.txt --- api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.txt b/api.txt index 880fab1..4e2c9aa 100644 --- a/api.txt +++ b/api.txt @@ -4,7 +4,7 @@ plastic_printer_data:register_blueprint(item, description, cost, drawing_image) See the example below: -plastic_printer_data.register_blueprint("foomod:foobar", "Foo", "5", "foo_bar.png") +plastic_printer_data:register_blueprint("foomod:foobar", "Foo", "5", "foo_bar.png") The result will be an item whose name will be "foomod:foobar_blueprint", description will be "Foo blueprint", cost will be "basic_materials:plastic_sheet 5" The parameter drawing_image is optional, it overlays the blueprint image. If nil, the item inventory image will be a blank blueprint.