Skip to content

Commit

Permalink
Update generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Scommander authored Jul 5, 2021
1 parent d1cb11c commit 1ab32ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@
f256.write('title @s subtitle [{"text":"but here you go - all morphs unlocked!","color":"white"}]\n')
f256.write('title @s title [{"text":"SHAME","color":"red"}]\n')
f256.write('playsound minecraft:block.note_block.pling master @s\n')
f256.write('tag @s mrph_can_morph\n')
f256.close()

'''Generate entity IDs'''
Expand Down Expand Up @@ -843,4 +844,4 @@ def write_json(json_data, filename):
file.write('title @s actionbar ["",{"text":"' + entity_titles[entity_ids.index(entity)] + '","bold":true},{"text":" morph unlocked!"}]\n')
file.write('playsound minecraft:block.note_block.chime player @s\n')
#file.write(f'scoreboard players set @s mrph_{entity[:2] + entity[-1:] + entity[3:4] + entity[-2:-1]}{iteration} 999')
file.close()
file.close()

0 comments on commit 1ab32ef

Please sign in to comment.