This commit is contained in:
parent
1a8d523830
commit
99a3cfc4bc
|
|
@ -132,7 +132,7 @@ elements.submitted_blueprint_2_creator = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elements.custombp_creator = {
|
elements.custom_bp_spawner = {
|
||||||
color: "#64abfd",
|
color: "#64abfd",
|
||||||
behavior: behaviors.WALL,
|
behavior: behaviors.WALL,
|
||||||
state: "solid",
|
state: "solid",
|
||||||
|
|
@ -166,13 +166,13 @@ let bpsizeH = 15;
|
||||||
let bpsizeW = 15;
|
let bpsizeW = 15;
|
||||||
let generatedBP = [];
|
let generatedBP = [];
|
||||||
let seenElements = {};
|
let seenElements = {};
|
||||||
elements.bp_generator = {
|
elements.bp_scanner = {
|
||||||
color: "#64abfd",
|
color: "#64abfd",
|
||||||
behavior: behaviors.SOLID,
|
behavior: behaviors.SOLID,
|
||||||
state: "solid",
|
state: "solid",
|
||||||
category: "special",
|
category: "special",
|
||||||
onSelect: function(pixel){
|
onSelect: function(pixel){
|
||||||
bpsizeH = prompt("Enter the height of the blueprint", 15);
|
bpsizeH = prompt("Enter the height of the blueprint. It will be scanned from the TOP LEFT corner.", 15);
|
||||||
bpsizeW = prompt("Enter the width of the blueprint", 15);
|
bpsizeW = prompt("Enter the width of the blueprint", 15);
|
||||||
generatedBP = [];
|
generatedBP = [];
|
||||||
for (let y = 1; y <= bpsizeH; y++){
|
for (let y = 1; y <= bpsizeH; y++){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue