Skip to content

Commit

Permalink
secret ended
Browse files Browse the repository at this point in the history
  • Loading branch information
LTHCTheMaster committed Apr 15, 2022
1 parent 89e6e1b commit 79b88f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions data/lthc.mage/functions/loading/score.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ scoreboard objectives add lthc.mage.capacitor_interact_detect custom:tune_notebl
scoreboard objectives add lthc.mage.mental_state dummy
scoreboard objectives add lthc.mage.current_charged dummy

scoreboard objectives add lthc.mage.secret dummy

scoreboard objectives add lthc.mage.info trigger
3 changes: 1 addition & 2 deletions data/lthc.mage/functions/secrets.mcfunction
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
give @s minecraft:player_head{SkullOwner:"LTHCTheMaster"}
give @s minecraft:player_head{SkullOwner:"Stoupy51"}
execute unless score @s lthc.mage.secret matches 1 run function lthc.mage:secrets/end
3 changes: 3 additions & 0 deletions data/lthc.mage/functions/secrets/end.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
give @s minecraft:player_head{SkullOwner:"LTHCTheMaster"}
give @s minecraft:player_head{SkullOwner:"Stoupy51"}
scoreboard players set @s lthc.mage.secret 1

0 comments on commit 79b88f2

Please sign in to comment.