Season 15 and Demonbuddy, working as of 21th September 2018!
  • Visit Rebornbuddy
  • Visit Demonbuddy

GardenManager couldn't find plants as Oasis Flowerpot?

Discussion in 'Community Developer Forum' started by Windmourn, Oct 20, 2018.

  1. Windmourn

    Windmourn New Member

    Joined:
    Oct 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I place two Oasis Flowerpot in my room,and use GardenManager.Plants.Count() and then console print 0 for me.

    by the way, GameObjectsManager.GameObjects.Where(r => r.Name.Contains("Flowerpot")).Count() will return 2, but r is EventObject will return false.

    and after i open it by my hand, GardenManager.ReadyToFertilize and GardenManager.Fertilize() can probably be used.

    test on RebornBuddyCN 315
     
    Last edited: Oct 22, 2018
  2. mastahg

    mastahg Administrator Staff Member

    Joined:
    Feb 27, 2011
    Messages:
    3,915
    Likes Received:
    153
    Trophy Points:
    63
    GardenManager.FlowerPots should be what you want.
     
  3. Windmourn

    Windmourn New Member

    Joined:
    Oct 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello! I used BotBase Fertilizer before, and placed two flower pots in the room, one is Oasis Flowerpot and the other is Riviera Flowerpot. The Riviera Flowerpot recognizes and fertilizes normally, but the Oasis Flowerpot does not work. Later, in order to test I placed two Oasis Flowerpots, and then the log output was '0 plants found nearby'. However, I have now replaced the flowerpot with the Riviera Flowerpot, and there is no problem with it, so I have no plans to continue testing.
     
  4. mastahg

    mastahg Administrator Staff Member

    Joined:
    Feb 27, 2011
    Messages:
    3,915
    Likes Received:
    153
    Trophy Points:
    63
    Can you get me the NpcId of the flower pot?
     
  5. Windmourn

    Windmourn New Member

    Joined:
    Oct 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Oasis Flowerpot NpcId:197053
     
  6. mastahg

    mastahg Administrator Staff Member

    Joined:
    Feb 27, 2011
    Messages:
    3,915
    Likes Received:
    153
    Trophy Points:
    63
    Thanks. I've added that id and it should now showup under GardenManager.FlowerPots
     

Share This Page