[Mod] Blueprints [blueprints]

Post Reply
User avatar
luk3yx
Member
Posts: 83
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx
Location: Earth
Contact:

[Mod] Blueprints [blueprints]

by luk3yx » Post

Blueprints

Image

What is/isn't it?

Blueprints is a way to copy complex node settings with two clicks. One blueprint
can only store one node, if you want to bulk save/load/copy/move nodes, see
WorldEdit.

Items

Blueprints introduces two types of items: Blank blueprints, and... well...
non-blank blueprints.

Blank blueprint crafting:

Image

Requires:
- 8 basic_materials plastic strips
- 1 paper sheet

To erase data off a blueprint, provided it isn't already blank, put it in the
crafting grid.

Usage instructions

Blueprints are relatively intuitive to use. To take a blueprint of something,
simply left-click it while holding a blank blueprint. To apply the blueprint
to other nodes, you can left-click the node. Do not apply blueprints to chests
or other nodes with items in, you will lose your items.
To place a new node
down with the blueprint applied, just right-click while holding the blueprint.
Note that with pipeworks and mesecons placing a node with a blueprint will not
link up wires/pipes to the node.

What can/can't be blueprinted?

By default, item metadata (such as node settings) is saved, however, of course,
node inventories aren't. This can be overridden on a per-item basis (for more
information, see the API page). Unless overridden by mods, nodes not in the
creative inventory cannot be blueprinted.

Because of the way pipeworks teleportation tubes work, they cannot be
blueprinted.

Dependencies

Blueprints has no mandatory dependencies, however blueprints will be uncraftable
without basic_materials and default.

The following dependencies are so blueprint rules can be added onto items for
better compatibility:
  • mesecons
    • mesecons_fpga
    • mesecons_microcontroller
    • mesecons_luacontroller
  • pipeworks
Download

The whole mod, including textures, are licensed under the MIT license.

You can download this mod from ContentDB. If you can't or don't want to use the ContentDB, you can run git clone https://git.minetest.land/luk3yx/blueprints.git, or download a zip or tar.gz file.

API

Mod developers can restrict what can/can't be blueprinted with the API.
Last edited by luk3yx on Tue Jun 11, 2019 00:10, edited 2 times in total.
git_undo() { [ -e .git ] || return 1; local r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }

User avatar
LegoLogger
Member
Posts: 39
Joined: Thu Sep 01, 2016 16:08
GitHub: BakerPrime
IRC: BakerPrime
In-game: BakerPrime
Location: Somewhere on mars.....
Contact:

Re: [Mod] Blueprints [blueprints]

by LegoLogger » Post

+1
Nice.

~~Logger
For those who complain about radiation, I should remind you that every time you leave your house, you step into
the worlds largest radiation beam. (Why else do you think us programmers hide in basements? ;P )

if you need to speak to me, you can catch me on #VE-Minetest-Servers, #RRH-Servers, ##Minetestwithunk, or #Minetest

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Blueprints [blueprints]

by Sokomine » Post

Sounds like my replacer mod - except that this one concentrates on copying metadata? Might be useful when i.e. moving signs.
A list of my mods can be found here.

User avatar
luk3yx
Member
Posts: 83
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx
Location: Earth
Contact:

Re: [Mod] Blueprints [blueprints]

by luk3yx » Post

Sokomine wrote:Sounds like my replacer mod - except that this one concentrates on copying metadata? Might be useful when i.e. moving signs.
It was partially inspired by your (very useful) node replacer mod, it's designed to make hard to set up items such as LuaControllers and sorting tubes easier to copy.
git_undo() { [ -e .git ] || return 1; local r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests