Skip to content

Commit

Permalink
Merge pull request #2 from Ewwweee/issue2
Browse files Browse the repository at this point in the history
Scrollbar V2
  • Loading branch information
Ewwweee authored Dec 10, 2023
2 parents a9e0e15 + 590e2c8 commit ec9e2be
Show file tree
Hide file tree
Showing 17 changed files with 198 additions and 6 deletions.
10 changes: 10 additions & 0 deletions assets/prefabs/BendingSkills.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "BendingSkills",
"shortName": "ASBL",
"description": "Don't know if it really is useful. But well. Good enough",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/CuttingSkill.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "CuttingSkills",
"shortName": "CS",
"description": "To improve your ability to slice things. Like potatoes or animalss",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/IDLE2.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "IDLE2",
"shortName": "ASBL",
"description": "To be the incarnation of sloth",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
8 changes: 8 additions & 0 deletions assets/prefabs/NotAnyIdea.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"EventualSkillDescription": {
"name": "Dunno",
"shortName": "IDLE",
"description": "Increases laziness by 20% per level.",
"prerequisiteSkills": []
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/ReadingSkills.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "ReadingSkills",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/RidingSkills.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "BikingSkills",
"shortName": "BKS",
"description": "Increase your handsomeness on every animals with four legs.",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill1.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill1",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill2.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill2",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill3.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill3",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill4.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill4",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill5.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill5",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill6.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill6",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill7.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill1",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/Skill8.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "Skill1",
"shortName": "RS",
"description": "For the intellectuals",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
10 changes: 10 additions & 0 deletions assets/prefabs/ThrowingSkills.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"EventualSkillDescription": {
"name": "ThrowingSkills",
"shortName": "TS",
"description": "Increase the speed and the range of the projectile. Can be useful if you want to show your anger",
"prerequisiteSkills": {
"ManualLaborEventualSkills:CraftingSkill": 3
}
}
}
17 changes: 11 additions & 6 deletions assets/ui/EventualSkillsTraining.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
"contents": [
{
"type": "RelativeLayout",

"contents": [
{
"type": "UIBox",
"layoutInfo": {
"width": 550,
"height": 500,
"position-top": {
"target": "TOP",
"widget": "mainContent",
Expand All @@ -35,10 +38,11 @@
{
"type": "MigLayout",
"id": "mainContent",
"colConstraints": "[100::200][10::200][min!]",
"layoutInfo": {
"use-content-width": true,
"use-content-height": true,
"height" : 480,
"width" : 530,
"use-content-width": false,
"use-content-height": false,
"position-vertical-center": {},
"position-horizontal-center": {}
},
Expand All @@ -59,13 +63,14 @@
},
{
"type": "MigLayout",
"rowConstraints": "[10::20]10[10::20]10[10::20]10[10::20]10[10::20]10[10::20]10[10::20]10[10::100]10[10::20]",
"layoutInfo": {
"use-content-width": true,
"use-content-height": true,
"use-content-width": false,
"use-content-height": false,
"position-vertical-center": {},
"position-horizontal-center": {}
},
"rowConstraints": "[min!][10::20][10::40]",

"layoutConstraints": "wrap 1, align left",
"contents": [
{
Expand Down
39 changes: 39 additions & 0 deletions src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!-- This file, when present as src/test/resources/logback-test.xml,
configures log filters during test execution.
To configure the logs generated while in-game, see
facades/PC/src/main/resources/logback.xml
-->
<configuration debug="false">
<!-- debug: reports all changes to this configuration on System.out -->

<include resource="org/terasology/engine/logback/setup.xml" />

<!-- JUnit collects console output during test execution
and include it in the report for the test. -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>

<include resource="org/terasology/engine/logback/filter-reflections.xml" />
</appender>

<root level="${logOverrideLevel:-debug}">
<appender-ref ref="CONSOLE" />
</root>

<!-- NOTE You can add fine granular custom log-level overrides here.
This works in both ways; you can increase or decrease the log level
for specific packages or classes.
For example:
<logger name="org.terasology.engine.world" level="debug" />
<logger name="org.terasology.module.health.systems.HealthAuthoritySystem" level="error" />
-->
<logger name="org.terasology" level="${logOverrideLevel:-info}" />
<logger name="org.terasology.engine.i18n" level="warn" />
<logger name="org.reflections.Reflections" level="warn" />

</configuration>

0 comments on commit ec9e2be

Please sign in to comment.