Skip to content

Commit

Permalink
feat: added preyable and isPreyExclusive flags to prey monsters (open…
Browse files Browse the repository at this point in the history
…tibiabr#2785)

Introduced two new monster flags: isPreyable and isPreyExclusive to enhance prey system interactions. isPreyable, when set to false, excludes the monster from prey slot selections and updates dialogues to reflect this unavailability. isPreyExclusive, when true, prevents the monster from appearing in standard (free/gold) rerolls but allows it to be chosen via the 5 preycard option. This update affects 168 monsters, aligning with the prey system specifications outlined on the Tibia Fandom page.
  • Loading branch information
Maticoz authored Aug 19, 2024
1 parent bc852f2 commit dadf8fb
Show file tree
Hide file tree
Showing 171 changed files with 217 additions and 2 deletions.
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/azure_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/bog_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/coral_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/crimson_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/filth_toad.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/green_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/infernal_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/amphibics/orchid_frog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/abyssal_calamary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/calamary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/deepling_brawler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/deepling_elite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/deepling_tyrant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/jellyfish.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/aquatics/manta_ray.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/berserker_chicken.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/cave_parrot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
2 changes: 2 additions & 0 deletions data-otservbr-global/monster/birds/chicken.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyable = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/demon_parrot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/dire_penguin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/flamingo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/parrot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/penguin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/pigeon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/birds/seagull.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/golden_servant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/iron_servant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/lava_golem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/walker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/weeper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
1 change: 1 addition & 0 deletions data-otservbr-global/monster/constructs/worker_golem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = true,
isPreyExclusive = true,
}

monster.light = {
Expand Down
Loading

0 comments on commit dadf8fb

Please sign in to comment.