Skript Version: 2.1.2
Minecraft Version: 1.8.8
---
Full Code:
variables:
{fire.%player%} = 0
{water.%player%} = 0
{dirt.%player%} = 0
{air.%player%} = 0
on first join:
give a blaze rod named "&5Varázspálca" to the player
give a redstone named "&4Tűz esszencia" to the player
give a clay named "&9Víz esszencia" to the player
give a cocoa beans named "&8Föld esszencia" to the player
give a nether quartz named "&7Levegő esszencia" to the player
give a lapis lazuli named "&1Mana" to the player
on player drop:
cancel event
every second:
if player has less than 11 lapis lazuli:
give a lapis lazuli named "&1Mana" to the player
Bad part of the code:
if player has less than 11 lapis lazuli:
Console Errors:
'less than 11 lapis lazuli' is not an item type (Wizardsk.sk, line 16: if player has less than 11 lapis lazuli:')
I tried these too:
if player's inventory does not contain 11 lapis lazuli:
if amount of lapis lazuli in player's inventory is less than 11:
Console error:
'lapis lazuli in player' is not an item stack
'player's inventory does not' is not an entity type
Minecraft Version: 1.8.8
---
Full Code:
variables:
{fire.%player%} = 0
{water.%player%} = 0
{dirt.%player%} = 0
{air.%player%} = 0
on first join:
give a blaze rod named "&5Varázspálca" to the player
give a redstone named "&4Tűz esszencia" to the player
give a clay named "&9Víz esszencia" to the player
give a cocoa beans named "&8Föld esszencia" to the player
give a nether quartz named "&7Levegő esszencia" to the player
give a lapis lazuli named "&1Mana" to the player
on player drop:
cancel event
every second:
if player has less than 11 lapis lazuli:
give a lapis lazuli named "&1Mana" to the player
Bad part of the code:
if player has less than 11 lapis lazuli:
Console Errors:
'less than 11 lapis lazuli' is not an item type (Wizardsk.sk, line 16: if player has less than 11 lapis lazuli:')
I tried these too:
if player's inventory does not contain 11 lapis lazuli:
if amount of lapis lazuli in player's inventory is less than 11:
Console error:
'lapis lazuli in player' is not an item stack
'player's inventory does not' is not an entity type