-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from e-psi-lon/Dev
🤔
- Loading branch information
Showing
11 changed files
with
71 additions
and
11 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/bad.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #200 lthc.mage.data 200 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #200 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/good.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #1111 lthc.mage.data 1111 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #1111 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/hell.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #20 lthc.mage.data 20 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #20 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/neutral.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #500 lthc.mage.data 500 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #500 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_bad.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #90 lthc.mage.data 90 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #90 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_bad_p.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #55 lthc.mage.data 55 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #55 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_bad_pp.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #35 lthc.mage.data 35 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #35 lthc.mage.data | ||
title @s actionbar [{"text": "Really Bad ++ - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_good.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #2300 lthc.mage.data 2300 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #2300 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_good_p.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #4750 lthc.mage.data 4750 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #4750 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
6 changes: 6 additions & 0 deletions
6
Datapack/data/lthc.mage/functions/mental_state/mental_reader/really_good_pp.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players set #100 lthc.mage.data 100 | ||
scoreboard players set #10235 lthc.mage.data 10235 | ||
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2 | ||
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data | ||
scoreboard players operation #temp lthc.mage.data /= #10235 lthc.mage.data | ||
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}] |
22 changes: 11 additions & 11 deletions
22
Datapack/data/lthc.mage/functions/mental_state/read_mental.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
execute if score @s lthc.mage.mental_state matches 0 run title @s actionbar {"text": "Hell", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 1 run title @s actionbar {"text": "Really Bad ++", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 2 run title @s actionbar {"text": "Really Bad +", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 3 run title @s actionbar {"text": "Really Bad", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 4 run title @s actionbar {"text": "Bad", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 5 run title @s actionbar {"text": "Neutral", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 6 run title @s actionbar {"text": "Good", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 7 run title @s actionbar {"text": "Really Good", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 8 run title @s actionbar {"text": "Really Good +", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 9 run title @s actionbar {"text": "Really Good ++", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 10 run title @s actionbar {"text": "Heaven", "italic": false, "color": "#FFFFFF","bold": true} | ||
execute if score @s lthc.mage.mental_state matches 0 run function lthc.mage:mental_state/mental_reader/hell | ||
execute if score @s lthc.mage.mental_state matches 1 run function lthc.mage:mental_state/mental_reader/really_bad_pp | ||
execute if score @s lthc.mage.mental_state matches 2 run function lthc.mage:mental_state/mental_reader/really_bad_p | ||
execute if score @s lthc.mage.mental_state matches 3 run function lthc.mage:mental_state/mental_reader/really_bad | ||
execute if score @s lthc.mage.mental_state matches 4 run function lthc.mage:mental_state/mental_reader/bad | ||
execute if score @s lthc.mage.mental_state matches 5 run function lthc.mage:mental_state/mental_reader/neutral | ||
execute if score @s lthc.mage.mental_state matches 6 run function lthc.mage:mental_state/mental_reader/good | ||
execute if score @s lthc.mage.mental_state matches 7 run function lthc.mage:mental_state/mental_reader/really_good | ||
execute if score @s lthc.mage.mental_state matches 8 run function lthc.mage:mental_state/mental_reader/really_good_p | ||
execute if score @s lthc.mage.mental_state matches 9 run function lthc.mage:mental_state/mental_reader/really_good_pp | ||
execute if score @s lthc.mage.mental_state matches 10 run title @s actionbar {"text": "Heaven -- ∞", "italic": false, "color": "#FFFFFF","bold": true} | ||
playsound lthc.mage:mental_reader master @s ~ ~ ~ 1.0 1.0 1.0 |