Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def ekwipunek():
- # lista przedmiotów, które ma dostać gracz
- przedmioty = [NETHERITE_SWORD, 1, NETHERITE_AXE, 1, BOW, 1, ARROW, 64, FIREBALL, 10
- , LAVA_BUCKET, 5, NETHERITE_HELMET, 1, NETHERITE_CHESTPLATE, 1, NETHERITE_LEGGINGS, 1, NETHERITE_BOOTS, 1
- , SPRUCE_DOOR, 20, TORCH, 20, LADDER, 64, ENCHANTED_APPLE, 2, COOKED_PORKCHOP, 4]
- # Pętla przypisująca przedmioty graczowi
- for i in range(0, len(przedmioty), 2):
- mobs.give(mobs.target(NEAREST_PLAYER), przedmioty[i], przedmioty[i+1])
- player.on_chat("ekwipunek", ekwipunek)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement