Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by PassTheRizla

I'd guess thats thermometer related.

In your case, you could reduce the number of variable needed by using Binary to Decimal / Decimal to Binary logic, search Dreams for examples.

Each of the potion is binary 0 / 1 or not exist / exist , a binary to decimal converter would assign each bit / potion a value (1,2,4,etc) then add the values to produce a single number that you store in a single variable, this allow 24 bits or potion to be stored in a single variable.

You would then use the decimal to binary converter to get back from the number to bits.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.