Sign Overwrite Brush
Opened this issue ยท 6 comments
Suggestion Name: Sign Overwrite Brush
What it does: Right-click a sign (with or without text) to overwrite/edit its content.
Used for: I think it's pretty much useful for anything where text is needed on a sign. Quite a few people (myself included) have copied info to a sign and misspelled or forgot something, so they have to delete the sign and rewrite it. This brush would make it easier.
I'll do this now:
Parameters:
-1 -- Set text on 1st line. (buffered)
-2 -- Set text on 2nd line. (buffered)
-3 -- Set text on 3rd line. (buffered)
-4 -- Set text on 4th line. (buffered)
-clean/-c -- Clean internal text buffer.
-ranged/-r -- Ranged mode. All signs in a box (x=z=brushSize_2+1 and y=voxelHeight_2+1) will be set.
Tools:
Arrow -- Set single or ranged sign texts.
Powder -- Read text from target sign.
Possible suggestion, have the ability to modify only certain lines of text.
For example:
*************
Location Name
Owner Name
*************
Could be changed to
/-----------\
Location Name
Owner Name
\-----------/
Simply by calling -c
to clear the text buffer, -1 "/-----------\"
, -4 "\-----------/"
and then clicking with the Arrow. Any line that is not purposefully set would be read from the sign that already exists, and then be written back to it when replacing all of the lines. If you wanted to wipe a line, make it blank, then you'd have to explicitly call -# ""
to tell the brush to make that line blank.
Great idea. I've created a new issue for that one. (Issue #85)
I've actually got this code, mostly written but it's untested because with the current VS code, I'm having trouble making it run properly, so I'm just going to wait until the new code is completely done and I'll refactor the code a little so it works properly. But yeah, this is in existence and the code probably works a little bit...
Create a new branch (with current master as base) for this feature, please. Put your code into the branch and make it work. I will take care of merging with the brush-refactor branch (and merge it back into master later).
If you need help with the branching stuff, simply contact me on Twitter or Skype ...or whatever.