mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
TIL you can go multiline on Java .properties
This commit is contained in:
@@ -16,7 +16,13 @@ class ADLParsingTest {
|
|||||||
# besides, you have "ALL" key.
|
# besides, you have "ALL" key.
|
||||||
|
|
||||||
! a skeleton also defines what body parts (images) be used.
|
! a skeleton also defines what body parts (images) be used.
|
||||||
SKELETON_STAND=HEAD 0,32;UPPER_TORSO 0,23;LOWER_TORSO 0,15;LEG_LEFT 2,7;LEG_RIGHT -2,7;FOOT_LEFT 2,2;FOOT_RIGHT -2,2;ARM_REST_LEFT 5,24;HAND_REST_LEFT 6,12;ARM_REST_RIGHT -7,23;HAND_REST_RIGHT -6,11
|
! you can also write multiline text using reverse solidus; this is a feature of .properties
|
||||||
|
SKELETON_STAND=HEAD 0,32;\
|
||||||
|
UPPER_TORSO 0,23;LOWER_TORSO 0,15;\
|
||||||
|
LEG_LEFT 2,7;FOOT_LEFT 2,2;\
|
||||||
|
LEG_RIGHT -2,7;FOOT_RIGHT -2,2;\
|
||||||
|
ARM_REST_LEFT 5,24;HAND_REST_LEFT 6,12;\
|
||||||
|
ARM_REST_RIGHT -7,23;HAND_REST_RIGHT -6,11
|
||||||
|
|
||||||
# skeleton_stand is used for testing purpose
|
# skeleton_stand is used for testing purpose
|
||||||
ANIM_RUN=DELAY 0.15;ROW 2;SKELETON SKELETON_STAND
|
ANIM_RUN=DELAY 0.15;ROW 2;SKELETON SKELETON_STAND
|
||||||
|
|||||||
Reference in New Issue
Block a user