1

**Ideas / Re: New signs options**

« **on:**November 13, 2014, 11:31:47 PM »

This is impractical. I mean fast text editing for typos etc without removing a sign.

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

1

This is impractical. I mean fast text editing for typos etc without removing a sign.

2

colored text agreed and changing wording on a sign is possible already with the script command

go into a script

hit left on the d pad

blocks

settext

you are prompted with two options 1 for signs 1 for NPC and 1 for Books.

settext [x,y,z] [text[gamertag]]

This isn't it.

3

1. Possible to edit the text without erasing the sign.

2. Colorful text

2. Colorful text

5

I understand how it works. However, I don't know how to use it in practice

6

But sometimes there is a problem (bug) with text on signs, in the video you can see "_" (next line symbol) in few moments on large digits.

One time it looks good (is invisible) , sometimes visible...

One time it looks good (is invisible) , sometimes visible...

7

Honestly it works very easy - below of each the digits (below half block) are powered light (However, there could be something else, does not matter), and when you use a switch to choose "1" or "0", then light is powered, when "1" is selected.

Here is five scripts, one for each digit.

Second part is a calculator script, it looks like that: (original script has more than 260 lines of code)

=======================================

If

IsPowered [x,y,z(light of first digit)] [true]

IsPowered [x,y,z(light of 2st digit)] [true]

IsPowered [x,y,z(light of 3th digit)] [true]

IsPowered [x,y,z(light of 4th digit)] [true]

IsPowered [x,y,z(light of 5th digit)] [true]

Then

SetText [x,y,z (position of the sign with the result)] [31]

In other words:

If

1

1

1

1

1

Then

[31]

Here is five scripts, one for each digit.

Second part is a calculator script, it looks like that: (original script has more than 260 lines of code)

Code: [Select]

`If`

IsPowered [x,y,z(light of first digits)] [true]

IsPowered [x,y,z(light of 2st digit)] [true]

IsPowered [x,y,z(light of 3th digit)] [true]

IsPowered [x,y,z(light of 4th digit)] [true]

IsPowered [x,y,z(light of 5th digit)] [true]

Then

SetText [x,y,z (position of the sign with the result)] [31]

ElseIf

IsPowered [x,y,z(light of first digit)] [false]

IsPowered [x,y,z(light of 2st digit)] [false]

IsPowered [x,y,z(light of 3th digit)] [false]

IsPowered [x,y,z(light of 4th digit)] [false]

IsPowered [x,y,z(5th digit)] [false]

Then

SetText [x,y,z (position of the sign with the result)] [0]

ElseIf

IsPowered [x,y,z(light of first digit)] [true]

IsPowered [x,y,z(light of 2st digit)] [false]

IsPowered [x,y,z(light of 3th digit)] [false]

IsPowered [x,y,z(light of 4th digit)] [false]

IsPowered [x,y,z(light of 5th digit)] [false]

Then

SetText [x,y,z (position of the sign with the result)] [16]

Else

SetText [x,y,z (position of the sign with the result)] [Error]

=======================================

If

IsPowered [x,y,z(light of first digit)] [true]

IsPowered [x,y,z(light of 2st digit)] [true]

IsPowered [x,y,z(light of 3th digit)] [true]

IsPowered [x,y,z(light of 4th digit)] [true]

IsPowered [x,y,z(light of 5th digit)] [true]

Then

SetText [x,y,z (position of the sign with the result)] [31]

In other words:

If

1

1

1

1

1

Then

[31]

8

However, instead of receiving the result, we can induce any script. For pentagonal digital binary number we have 32 combinations, so we can run 32 unique scripts by typing the appropriate sequence of digits.

9

This is unique, But if i may ask, Why is it a 5 Bit calculator instead of an 8 bit one, Or a 4 bit one?

Little I didn't understand the question. As you mean why is it so big? Becouse this is a little easier do it and it looks fine too

10

Here is my binary calculator in total Miner: