1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tree/Leaves Lighting on Fire

Discussion in 'Requests' started by Chemically, Jan 31, 2020.

  1. Chemically

    Chemically New Member

    Joined:
    Feb 27, 2019
    Messages:
    7
    Likes Received:
    0
    Category: UHC

    Suggested name: Deforestation

    Spigot/Skript Version: Skript dev36

    What I want: When a tree is chopped, there is a 1% chance that the tree will become completely engulfed in fire and when an anvil is used or a furnace is lit within 25 blocks of at least 1 leaf block, 20% of the leaf blocks in the 25 block radius will catch on fire.

    Ideas for commands: /deforestation on/off/toggle

    Ideas of permissions: uhc.host

    When I'd like it by: In a week.
     
  2. Conutik

    Conutik Member

    Joined:
    Jan 12, 2020
    Messages:
    19
    Likes Received:
    1
    Code (Text):
    1. on mine:
    2.   if event-block is log:
    3.     loop all blocks in a radius of 25:
    4.       if loop-block is log:
    5.         stop loop
    6.     chance of 5%:
    7.       loop all blocks in a radius of 25:
    8.         if loop-block is leaves:
    9.           set block on fire
     

Share This Page

Loading...