Page 1 of 1

Having trouble

Posted: Tue Mar 30, 2021 9:33 pm
by Hoax13
Trying to make a trigger that goes of when looting certain items. I made one, but it seems to go off with all items looted from a corpse.


^You get (a|an|the)(unusual|peculiar|exotic|intense|pronounced)?(.+) from the corpse of (.*?).$



unusual,peculiar,exotic,intense,pronounced are what come in the items name as in "an unusual frilly white shirt". Could use some help with this.

Re: Having trouble

Posted: Tue Mar 30, 2021 10:10 pm
by Hoax13
Got one line of the trigger to work. Dropped (a|an|the)
^You get (.*)(unusual|peculiar|exotic|intense|pronounced)(.*?).$
Now to see if the next line works.
^You get (.*)(unusual|peculiar|exotic|intense|pronounced)(.*) from the corpse of (.*?).$

Re: Having trouble

Posted: Wed Mar 31, 2021 8:18 am
by Vadi
Glad you got it sorted!