Page 1 of 1

[EasyUO]Open Plants

Posted: Mon Jun 13, 2022 12:09 am
by Alamiester
prettys simple, designed to open beehives. i changed a few things, now they open plants,,,,in a pot whit no plant, how can i have this script open pots on my level...

Code: Select all

initevents

begin:
finditem NXE G_2 ; ABC... being the plant types id, change this too your plant id.
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

begin:
finditem OLI G_2 ;  OLI... Pot with sprouted seed
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

begin:
finditem QLI G_2 ;  QLI... Pot with dirt, includes unsprouted seeds
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

display finished
halt

;  QLI Pot with dirt, includes unsprouted seeds
;  OLI Pot with sprouted seed
;  TCF Century Plant
;  BWE Campion
;  IWE Snowdrop
;  ICF Prickly Pear
;  BXE Pampas Grass
;  CCF Barrel Cactus
;  NXE Snake Plant
;  MWE Bullrushes
;  NWE Elephant Ears

Re: [EasyUO]Open Plants

Posted: Tue Jun 14, 2022 9:41 pm
by Alamiester
already this isnt working for me after getting to day 3-5. i see the status changes on pots a bit but the id is the same. any ideas?

Re: [EasyUO]Open Plants

Posted: Tue Jun 14, 2022 10:50 pm
by Alamiester
already see the issues, there are so many different variables on plants, i will have to record them all for each plant.

Re: [EasyUO]Open Plants

Posted: Thu Jun 16, 2022 11:55 am
by Alamiester
found this after doing some searching, couldnt get it to work but had some information that i used.

https://www.uoex.net/forum/viewtopic.php?p=69057