Cats and catching fish with a fishing rod are new. Tools and weapons can be repaired.
Release Notes Ya3dag V2.17
Voxel levels
- Fishes
Added icons for raw and cooked fishes. Fish are caught with a fishing rod. All fish can be cooked. Cats are attracted by fish in the player's hand and can be tamed with the fish.
- Fishing rod
Fish are caught in the water with a fishing rod.
- Cats
Cats are passive maps. They are attracted to raw fish in the player's hand. They can be tamed by feeding the raw fish. Tamed cats wear a collar and follow the player. The player can order the cat to sit or stand up. If a tamed cat is fed raw fish, it will go into 'love mode'. It will then show a heart above itself. If two cats find each other in 'love mode', a kitten will be born after a short time.
Creepers avoid cats, even when chasing a player, and stay 24 blocks away from cats.
- Added repair of items.
Two items with durability (damage tools, ...) of same type and material are combined to one item by adding the leftover durability of the two items plus a bonus of 5% of the max use count of this item.
Others
- Reworked script language.
* Reworked token parser. After the revision, there no longer need to be any spaces between the tokens.
* Additional possibility for commenting. To '//' characters start a comment until the end of the line. This corresponds to a comment in the programming language C.
* Support of hexadecimal (0x suffix), binary (0b suffix) and octal (0 suffix) integer numbers.
* Removed the simple 'local' variables (variables with name $a ... $a).
Local variables are now defined with int, float or string (see below).
A local variable is now referenced by its name, the use of '$' has been removed.
* Removed the simple 'global' variables (variables with name $A ... $Z).
Global variables are replaced by grouped variables. This variables have a group part and an element part.
e.g. int group.element = 123
Global variables are also referenced by name.
* Replaced the 'variable' command by other variable commands:
* string <variable> [ = <value>] { , <variable> [ = <value>] }
Holds a string with up to 511 Characters.
* int <variable> [ = <value>] { , <variable> [ = <value>] }
Holds a 32 bit signed integer value.
* float <variable> [ = <value>] { , <variable> [ = <value>] }
Holds a 64 bit floating point value.
Multiple variables defines are separated by commas.
With an optional assignment, a first value can be set in the variable.
If nothing assigned, the first value is zero.
A 'const' keyword before or after the type makes the variable
read-only.
* Built-in variables have been combined into grouped variables.
There are groups for:
- This The entity/map running an actor script, e.g. This.Health
- Player The player (or nearest player), e.g. Player.ItemSelected
- Game Game or level things, e.g. Game.Time