1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

/Grow command to grow more herbs

Discussion in 'Plugin Suggestions' started by MattTheShy, Feb 4, 2015.

  1. MattTheShy

    MattTheShy Level 1

    Joined:
    Feb 4, 2015
    Messages:
    9
    I looked far and wide for tips on how to grow herbs other than blinkroot with the /grow command and got nothing. I feel that if there is a grow command, it should be able to grow all of the plants (blinkroot, shiverthorn, daybloom, moonglow, orange bloodroot, deathweed, etc) by using /grow <plantname> respectively. This could even expand into something more complex like having an optional integer to follow the plantname to grow the plants the x amount of blocks in both directions from the player (/grow <plantname> (#ofplants), but that's asking for a bit much. ^^;

    If there is already a plugin for it or if it is already mentioned to be in development then I apologize.

    please don't hurt me I'm new ;-;
     
    • Like Like x 1
  2. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    Haven't tried doing it, but how about checking for the ID of a common, one-tile-sized weed? Then you select all of the world with WorldEdit and replace said grass with the ID for a grown herb flower.
     
  3. IcyPhoenix

    TShock Contributor

    Joined:
    Jul 27, 2012
    Messages:
    367
    Sounds like something that should be taken out of tshock and made into a plugin, thou Dibs not me.
     
    • Agree Agree x 1
  4. MattTheShy

    MattTheShy Level 1

    Joined:
    Feb 4, 2015
    Messages:
    9
    That is one way to get a lot of herbs, but if I do that I might as well just use /item or /give. Also, /grow wants names and names only, there isn't a plant named 313 (daybloom).

    Sorry for being such a late reply.
     
  5. Marcus101RR

    Marcus101RR Guest

    I think this would qualify for "Gen Ores/Trees" plugin out there. You could ask that owner to add a /genweeds command that creates all plants, herbs, and flowers to collect.
     
  6. MattTheShy

    MattTheShy Level 1

    Joined:
    Feb 4, 2015
    Messages:
    9
    That wouldn't solve the problem if, for example, a house had a garden and the garden gets destroyed or if you are planting for cosmetic reasons and they have to be in specific areas. Daybloom takes forever to grow, man. Basically just have it the same way as trees, but with herbs.* There are plenty of options to do this on a macro scale, but there is nothing for micro besides spending between 1-120 minutes growing the herbs and hope they don't get destroyed in the process.

    *Minus the fact that in the /grow tree command it changes whatever blocks are underneath you into grass. The /grow <herb> command would have to identify the block beneath you and adjust accordingly OR change the block beneath you to a compatible one like in the /grow tree command. IE: If I were to use /grow shiverthorn on dirt, it would change the dirt block to snow and grow a blooming shiverthorn.
     
  7. Marcus101RR

    Marcus101RR Guest

    It would not destroy gardens, because you would be using clay pots to make herb garden farm, and as for the trees. The only way to prove this is to check the source code when a world is generated in which order the game makes it, Trees or Weeds.
     
  8. MattTheShy

    MattTheShy Level 1

    Joined:
    Feb 4, 2015
    Messages:
    9
    Firstly, not all people use the clay pot method due to the fact that the herbs take longer to grow in pots at the cost of the care it takes to not destroy them on accident (which can be countered with smart placement of the plants themselves). I'm also not saying that it would destroy the garden, I stated a hypothetical situation where a garden gets grieved and you, the admin, are asked for compensation by replanting. There is not a command in the game that allows you to grow a herb besides blinkroot. I'm not asking for a command to manually generate trees, grass, or those little clumps that you break for worms; I just want a more refined /grow command that can grow plants besides a purity tree, cactus, mushroom, and blinkroot.

    Secondly, I do not understand why you would need to check the source code when it tells you, as it generates the world, what step it is on in the creation process. There is already a command in place that can change the blocks at your feet and grow a plant of your choice in the altered blocks. If the command cannot grow the plant due to the lack of space that is required to grow said plant, the plant does not grow. It is a solid system that can, perhaps easily be, expanded upon due to its current stable implementation in Tshock. In the /grow trees command it converts the blocks at your feet to grass covered dirt and grows a tree. Tshock has he potential to do this; it just doesn't exist yet.
     
  9. IcyPhoenix

    TShock Contributor

    Joined:
    Jul 27, 2012
    Messages:
    367
    He wasn't talking about the grow tree command he was talking about the gentree command from a plugin, which btw does not destroy blocks.