Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve: ajustment unrealized dream #1967

Merged
merged 4 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 0 additions & 102 deletions data-otservbr-global/scripts/actions/other/unrealized_dream.lua

This file was deleted.

27 changes: 27 additions & 0 deletions data-otservbr-global/scripts/actions/valuables/random_items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,33 @@ local config = {
},
effect = CONST_ME_CRAPS,
},
[20264] = { -- unrealized dream
chances = {
{ from = 1, to = 1081, itemId = 3108 }, -- Rubbish (10.81%)
{ from = 1082, to = 2125, itemId = 2992 }, -- Snowball (10.44%)
{ from = 2126, to = 3109, itemId = 5792 }, -- Die (9.83%)
{ from = 3110, to = 4074, itemId = 2856 }, -- Present (9.64%)
{ from = 4075, to = 5039, itemId = 3659 }, -- Blue Rose (9.64%)
{ from = 5040, to = 6007, itemId = 3568 }, -- Simple Dress (9.67%)
{ from = 6008, to = 6969, itemId = 3463 }, -- Mirror (9.61%)
{ from = 6970, to = 7457, itemId = 2995 }, -- Piggy Bank (4.87%)
{ from = 7458, to = 7945, itemId = 2950 }, -- Lute (4.87%)
{ from = 7946, to = 8268, itemId = 651 }, -- Spellwand (4.22%)
{ from = 8269, to = 8659, itemId = 5929 }, -- Goldfish Bowl (3.90%)
{ from = 8660, to = 8984, itemId = 3577 }, -- Meat (3.24%)
{ from = 8985, to = 9192, itemId = 20271 }, -- Copper Prision Key (2.07%)
{ from = 9193, to = 9396, itemId = 20272 }, -- Bronze Prison Key (2.03%)
{ from = 9397, to = 9588, itemId = 20270 }, -- Silver Prison Key (1.91%)
{ from = 9589, to = 9719, itemId = 20062 }, -- Cluster of Solace (1.30%)
{ from = 9720, to = 9780, itemId = 3004 }, -- Wedding Ring (0.60%)
{ from = 9781, to = 9842, itemId = 7459 }, -- Pair of Earmuffs (0.61%)
{ from = 9843, to = 9894, itemId = 20275 }, -- Dream Warden Claw (0.51%)
{ from = 9895, to = 9946, itemId = 20273 }, -- Golden Prison Key (0.51%)
{ from = 9947, to = 9987, itemId = 3242 }, -- Stuffed Bunny (0.40%)
{ from = 9988, to = 10001, itemId = 12548 }, -- Bag of Apple Slices (0.13%)
},
effect = CONST_ME_BUBBLES,
},
[22763] = { -- shaggy ogre bag
chances = {
{ from = 1, to = 1440, itemId = 22187, count = 5 },
Expand Down