Paste #68240: Diff note for paste #68239

Date: 2020/04/28 11:08:56 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 LivesItem:
   type: item
-  material: slime[flags=HIDE_ENCHANTS] 
+  material: emerald[flags=HIDE_ENCHANTS] 
   enchantments:
   - UNBREAKING:1
   display name: "<&6>Sould Shard"
   lore:
-  - "lives uwu"
+  - "<&6>Type: <&7>Magical Stone"
+  - "<&6>Tier: <&7>Legendary"
+  - ""
+  - "<&8>Right click while holding to"
+  - "<&8>gain a life."
 
 LivesEvents:
   type: world
   debug: false
   events:
     on player right clicks with LivesItem:
-    - if <placeholder[placeholder_without_%].as_element> > 2:
-      - narrate "You already have the max amount of lives" 
+    - if <placeholder[sedexlives_lives]> >= <placeholder[sedexlives_maxlives]>:
+      - narrate "<&6>[<&a>Sedex Lives<&6>] <&c>You already have the max amount of lives (<&a><placeholder[sedexlives_lives]><&c>)" 
       - queue clear
-    - execute as_server "command without /" 
+    - execute as_server "lives set <player.name> <placeholder[sedexlives_lives].as_element.add[1]>" 
     - take iteminhand
-    - narrate "You've gained 1 life."
+    - narrate "<&6>[<&a>Sedex Lives<&6>] <&a>You've gained 1 life."