Skip to content

Commit

Permalink
added support for camonet and stashes
Browse files Browse the repository at this point in the history
  • Loading branch information
wriley committed Jun 20, 2014
1 parent 9a34791 commit dede60d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions modules/leaf.php
Expand Up @@ -34,8 +34,9 @@
trap = new Icon({ iconUrl: 'images/icons/trap.png' }),
wire = new Icon({ iconUrl: 'images/icons/wire.png' }),
tent = new Icon({ iconUrl: 'images/icons/tent.png' }),
StashSmall = new Icon({ iconUrl: 'images/icons/tent.png' }),
StashMedium = new Icon({ iconUrl: 'images/icons/tent.png' }),
CamoNet = new Icon({ iconUrl: 'images/icons/camonet.png' }),
StashSmall = new Icon({ iconUrl: 'images/icons/stashsmall.png' }),
StashMedium = new Icon({ iconUrl: 'images/icons/stashmedium.png' }),
hedgehog = new Icon({ iconUrl: 'images/icons/hedgehog.png' }),
Hedgehog = new Icon({ iconUrl: 'images/icons/hedgehog.png' }),
sandbag = new Icon({ iconUrl: 'images/icons/sandbag.png' }),
Expand Down
13 changes: 9 additions & 4 deletions queries.php
Expand Up @@ -114,7 +114,8 @@
WHERE
(od.Classname LIKE '%TentStorage%' OR
od.Classname LIKE 'StashSmall%' OR
od.Classname LIKE 'StashMedium%')
od.Classname LIKE 'StashMedium%' OR
od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'BearTrap_DZ', 'Wire_cat1', 'TrapBearTrapFlare', 'TrapBearTrapSmoke', 'TrapTripwireCans', 'TrapTripwireFlare', 'TrapTripwireGrenade', 'TrapTripwireSmoke'))
AND od.ObjectID = ?
AND od.Instance = ?
";
Expand Down Expand Up @@ -285,7 +286,7 @@
ON
oc.Classname = od.Classname
WHERE
od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'BearTrap_DZ', 'Wire_cat1', 'TrapBearTrapFlare', 'TrapBearTrapSmoke', 'TrapTripwireCans', 'TrapTripwireFlare', 'TrapTripwireGrenade', 'TrapTripwireSmoke')
od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'Wire_cat1', 'CamoNet_DZ', 'BearTrap_DZ', 'TrapBearTrapFlare', 'TrapBearTrapSmoke', 'Trap_Cans', 'Trap_Grenade', 'Trap_Smoke', 'TrapTripwireFlare', 'TrapTripwireGrenade', 'TrapTripwireSmoke')
AND od.Instance = ?
";

Expand Down Expand Up @@ -315,7 +316,10 @@
ON
oc.Classname = od.Classname
WHERE
od.Classname IN ('TentStorage','StashSmall','StashMedium', 'Hedgehog_DZ', 'Sandbag1_DZ', 'BearTrap_DZ', 'Wire_cat1', 'TrapBearTrapFlare', 'TrapBearTrapSmoke', 'TrapTripwireCans', 'TrapTripwireFlare', 'TrapTripwireGrenade', 'TrapTripwireSmoke')
od.Classname LIKE '%TentStorage%' OR
od.Classname LIKE 'StashSmall%' OR
od.Classname LIKE 'StashMedium%' OR
od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'Wire_cat1', 'CamoNet_DZ', 'BearTrap_DZ', 'TrapBearTrapFlare', 'TrapBearTrapSmoke', 'Trap_Cans', 'Trap_Grenade', 'Trap_Smoke', 'TrapTripwireFlare', 'TrapTripwireGrenade', 'TrapTripwireSmoke')
AND od.Instance = ?
";
Expand Down Expand Up @@ -486,7 +490,8 @@
ON
oc.Classname = od.Classname
WHERE
od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'TrapBear', 'Wire_cat1', 'ItemTrapBearTrapFlare', 'ItemTrapBearTrapSmoke', 'ItemTrapTripwireCans', 'ItemTrapTripwireFlare', 'ItemTrapTripwireGrenade', 'ItemTrapTripwireSmoke')
(od.Classname IN ('Hedgehog_DZ', 'Sandbag1_DZ', 'Wire_cat1', 'CamoNet_DZ') OR
od.Classname LIKE('%trap%'))
AND od.Instance = ?
";

Expand Down

0 comments on commit dede60d

Please sign in to comment.