Commands I
playerCommand=(id,c)=>{ playerCommandFunction(id,c)} tick=()=>{ tickFunction()} onPlayerClick=(id)=>{ onPlayerClickFunction(id)} //Made by S0MPENDER (discord: @sompender) //this is not all code for the game so you do not have to steal it //but ig if you could actually code you could use it //idrc about that tho //most code is background logic //aaaaaaaaaaaaaaaaaaaaaaaaa special=["S0MPENDER"] sompId="" sompLog=(text)=>{ if(sompId)api.sendMessage(sompId,text)} playerCommand=(id,c)=>{ if(playerCommandFunction1(id,c)=="preventCommand"){ return "preventCommand"} try{playerCommandFunction(id,c)}catch{}} tickTimer=0 tick=()=>{ newGrowingPlants=[] for(plantData of growingPlants){ pDat=plants[plantData.id] if(Math.random()<pDat.growChance){ newStage=plantData.stage+1 stageBlock=pDat.stages[newStage] if(stageBlock!=undefined){ [px,py,pz]=plantData.pos api.setBlock(px,py,pz,stageBlock) api.setBlock(px,py-2,pz,"Loot Chest") a...