Çözüldü YARDIM ÇİFTLİK

  • Konuyu Başlatan Konuyu Başlatan Atalente
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 535
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Atalente

Bir Kömür Göründü Kaptanım!
Katılım
8 Ekim 2019
Mesajlar
164
Elmaslar
58
Puan
2.110
Minecraft
Equettin

Discord:

Efe#0001

Kod:
variables:
    {ciftlik.%player%} = false
    {tavuk.%player%} = 0
    {inek.%player%} = 0


command /çiftlik [<text>]:
    trigger:
        if arg-1 is not set:
            if {ciftlik.%player%} is false:
                wait 3 tick
                open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
                format slot 4 of player with book named "&6Sanal Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a1T ye ityahcın var" to close then run [execute player command "/çiftlik satinal"]
            if {ciftlik.%player%} is true:
                wait 3 tick
                open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
                format slot 10 of player with 383 named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
                format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
                format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
        if arg-1 is set:
            if arg-1 is "satinal":
                if {ciftlik.%player%} is false:
                    if player's balance is greater than 999999999:
                        remove 1000000000 from player's balance
                        set {ciftlik.%player%} to true
                        send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
                    else:
                        send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
            if arg-1 is "hayvanal":
                if {ciftlik.%player%} is true:
                    wait 3 tick
                    open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
                    format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
                    format slot 2 of player with 383:93 named "&6Tavuk" with lore "&aFiyat: &c25T &aSaatlik Uretim: &c500M" to run [execute player command "çiftlik tavukal"]
                    format slot 6 of player with 383:92 named "&6Inek" with lore "&aFiyat: &c500T &aSaatlik Uretim: &c12.5T" to run [execute player command "çiftlik inekal"]
                    format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
            if arg-1 is "tavukal":
                if {ciftlik.%player%} is true:
                    if player's balance is greater than 999999999:
                        if {tavuk.%player%} is smaller than 1500:
                            remove 25000000000 from player's balance
                            add 1 to {tavuk.%player%}
                            send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
                    else:
                        send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player      
            if arg-1 is "inekal":
                if {ciftlik.%player%} is true:
                    if player's balance is not >= 249999999999:
                        send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
                        stop
                    if player's balance is greater than 249999999999:
                        if {inek.%player%} is smaller than 1500:
                            remove 500000000000 from player's balance
                            add 1 to {inek.%player%}
                            send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player        
            if arg-1 is "bilgi":
                if {ciftlik.%player%} is true:
                    wait 3 tick
                    open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
                    format slot 0 of player with 383:93 named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
                    format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
                    format slot 4 of player with 383:92 named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
                    format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]  
                    format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
                    format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
                    format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
            if arg-1 is "sat":
                if {ciftlik.%player%} is true:
                    wait 3 tick
                    open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
                    format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
                    format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
                    format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
                    format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
                    format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
            if arg-1 is "yumurtasat":
                if {ciftlik.%player%} is true:
                    if {yumurta.%player%} is greater than 0:
                        add {yumurta.%player%} to player's balance
                        send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
                        set {yumurta.%player%} to 0
                    else:
                        send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
            if arg-1 is "sutsat":
                if {ciftlik.%player%} is true:
                    if {sut.%player%} is greater than 0:
                        add {sut.%player%} to player's balance
                        send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
                        set {sut.%player%} to 0
                    else:
                        send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
   
every hours:
    loop all players:
        if {tavuk.%loop-player%} is greater than 0:
            set {_itemcountt} to {tavuk.%loop-player%}
            add 500000000 * {_itemcountt} to {yumurta.%loop-player%}
       
every hours:
    loop all players:
        if {inek.%loop-player%} is greater than 0:
            set {_itemcounti} to {inek.%loop-player%}
            add 12500000000000 * {_itemcounti} to {sut.%loop-player%}
Anladığım kadarıyla inek almaya çalıştığında parası yetersiz olsa bile kayıp yaşamadan alabiliyor demek istemişsiniz.
Şunu bir dener misiniz?
 
Konu kapanabilir.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst