Prospecting: 3 ore per try, 50% gem chance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
25ecb885f5
commit
6a70a01209
2 changed files with 4 additions and 3 deletions
5
game.py
5
game.py
|
|
@ -272,8 +272,8 @@ GEMS = [
|
||||||
]
|
]
|
||||||
BANDS = ["copper_bar", "silver_bar", "silver_bar", "gold_bar", "gold_bar", "gold_bar"]
|
BANDS = ["copper_bar", "silver_bar", "silver_bar", "gold_bar", "gold_bar", "gold_bar"]
|
||||||
GEM_ODDS = 0.02 # a gem with each rock mined
|
GEM_ODDS = 0.02 # a gem with each rock mined
|
||||||
PROSPECT_ORE = 5 # ore cracked open per prospecting action...
|
PROSPECT_ORE = 3 # ore cracked open per prospecting action...
|
||||||
PROSPECT_ODDS = 0.15 # ...for this chance at its gem
|
PROSPECT_ODDS = 0.5 # ...for this chance at its gem
|
||||||
# The gem each rock turns up when mined, and what's cracked open to prospect for each gem.
|
# The gem each rock turns up when mined, and what's cracked open to prospect for each gem.
|
||||||
GEM_ROCKS = {"mine_stone": "quartz", "mine_copper": "quartz", "mine_iron": "garnet", "mine_coal": "amethyst",
|
GEM_ROCKS = {"mine_stone": "quartz", "mine_copper": "quartz", "mine_iron": "garnet", "mine_coal": "amethyst",
|
||||||
"mine_mithril": "sapphire", "mine_adamantite": "emerald", "mine_runite": "diamond"}
|
"mine_mithril": "sapphire", "mine_adamantite": "emerald", "mine_runite": "diamond"}
|
||||||
|
|
@ -6280,6 +6280,7 @@ ORDER_RECIPES, ORDER_RAW = _order_sources()
|
||||||
# line here (new / balance / fix), and a new release a new entry on top.
|
# line here (new / balance / fix), and a new release a new entry on top.
|
||||||
PATCH_NOTES = [
|
PATCH_NOTES = [
|
||||||
{"date": "2026-10-27", "title": "Prayer", "notes": [
|
{"date": "2026-10-27", "title": "Prayer", "notes": [
|
||||||
|
("balance", "Prospecting: 3 ore per try (was 5), 50% gem chance (was 15%)."),
|
||||||
("new", "Dungeons: runs go on while anyone is watching. Members who look away fight on auto."),
|
("new", "Dungeons: runs go on while anyone is watching. Members who look away fight on auto."),
|
||||||
("new", "Group stays in lobby after finishing dungeon"),
|
("new", "Group stays in lobby after finishing dungeon"),
|
||||||
("new", "Added \"Drink all\" option to potions in the bank."),
|
("new", "Added \"Drink all\" option to potions in the bank."),
|
||||||
|
|
|
||||||
|
|
@ -2661,7 +2661,7 @@ class JewelcraftingTest(unittest.TestCase):
|
||||||
|
|
||||||
def test_prospecting_cracks_ore_for_gems(self):
|
def test_prospecting_cracks_ore_for_gems(self):
|
||||||
self.ann["xp"]["jewelcrafting"] = game.XP_TABLE[15]
|
self.ann["xp"]["jewelcrafting"] = game.XP_TABLE[15]
|
||||||
self.ann["bank"] = {"iron_ore": 7}
|
self.ann["bank"] = {"iron_ore": game.PROSPECT_ORE + 2}
|
||||||
game.start_action(self.world, self.ann, "prospect_garnet", T0)
|
game.start_action(self.world, self.ann, "prospect_garnet", T0)
|
||||||
summary = game.process_player(self.world, self.ann, T0 + 1000, Always())
|
summary = game.process_player(self.world, self.ann, T0 + 1000, Always())
|
||||||
self.assertEqual(self.ann["bank"], {"iron_ore": 2, "garnet": 1})
|
self.assertEqual(self.ann["bank"], {"iron_ore": 2, "garnet": 1})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue