Bluebuild

by Mylon

Allows blueprints to be used much earlier. Once a blueprint is placed, nearby entities will be auto-placed at 5/second so long as you have the objects in inventory and are standing still. Once items are marked for deconstruction, they will be auto-removed and put into inventory so long as you are standing still. Press b to toggle building, press n to toggle demolishing.

Utilities
3 years ago
0.14 - 1.1
6.16K
Blueprints

g Fix for demolition, fast building, fast demolition

5 years ago
(updated 5 years ago)

FIX DEMOLITION:
Do the following for demolition to work and to be smooth. It will work in a 40x40 square area with the player in the center. Also works in sandbox mode.
1) in bluedemo(), in one of the first few lines reachDistance is set. Change this so it is always 20.
2) in bluedemo(), in one of the first few lines areaList is set. Remove the limit that is part of find_entities_filtered. (Make sure to remove the comma)
3) Enjoy

FAST BUILDING:
1) In bluecheck(), it checks if "game.tick > global.blueBuildFirstTick[builder.index] + 5", remove the "+5"
2) Enjoy

FAST DEMOLITION:
1) In bluedemo(), it checks the mining speed of the item with "if ent.prototype.mineable_properties.mining_time * 60 + global.blueLastDemo[builder.index] < game.tick", remove the first part, so that only "if global.blueLastDemo[builder.index] < game.tick" remains.
2) Enjoy

5 years ago

thanks for making my life easy :)

New response