Commit graph

775 commits

Author SHA1 Message Date
Avi Weinstock
a91fc0e7ca Add sound effects for chivalry, piety, potionmaking, and pouchmaking. 2021-10-14 16:51:23 -04:00
ceikry
e7515d404b Merge remote-tracking branch 'origin/master' 2021-10-14 07:03:17 -05:00
ceikry
ba7c5f4f83 Not spamclicking????? IMPOSSIBLE! 2021-10-14 07:03:11 -05:00
skelsoft
8b9b36f96a Fix: Tying up some loose ends from Monolith 2021-10-14 03:02:00 +00:00
skelsoft
badec11be7 Add: JSON Monolith #1 2021-10-13 02:05:56 +00:00
ceikry
aa81cc1cea Vinesweeper hotfix 2021-10-12 20:29:27 -05:00
ceikry
15b37023f8 Vinesweeper hotfix 2021-10-12 20:15:24 -05:00
ceikry
f2dc14397e Let the squish commence 2021-10-12 15:58:59 -05:00
ceikry
1ac0220897 Merge embargoed patches 2021-10-12 14:57:54 -05:00
downthecrop
d671bf5070 Reset nextGrowth on clear patch 2021-10-10 13:56:53 -07:00
downthecrop
4dd5d9f596 Fix Seaweed, Ectofuntus Pot Filling, and Quest Typos 2021-10-07 21:42:32 +00:00
Avi Weinstock
88bbc5f948 Implement vinesweeper 2021-10-07 00:25:15 +00:00
Avi Weinstock
a705909506 Give the correct amount of mind runes when purchasing 250 slayer dart casts. 2021-10-03 18:44:24 -04:00
Ceikry
ef1d86eaaf Merge branch 'fix-dairy-churn' into 'master'
Dairy churning fixes:

See merge request 2009scape/2009scape!293
2021-10-03 21:24:24 +00:00
Avi Weinstock
030b23a98a Dairy churning fixes:
- It's now possible to churn cream/butter into the subsequent stages.
- Churning milk with a full inventory drops the buckets.
2021-10-03 16:50:48 -04:00
Ceikry
b787eb2ee4 Merge branch 'titan2' into 'master'
add lava titan teleport to lava maze (near kbd lair)

See merge request 2009scape/2009scape!290
2021-10-03 20:12:32 +00:00
vk
ae2b9240ea add lava titan teleport to lava maze (near kbd lair) 2021-10-03 20:12:31 +00:00
Avi Weinstock
3623d28adf Make Zanaris fairy fountains count as a water source. 2021-10-03 15:38:38 -04:00
vk
4c0da02e44 implement fire, ice and moss titan summoning scrolls 2021-10-03 03:13:48 +00:00
downthecrop
1e1f37ed85 Canoe Animations & Travel Interface 2021-10-03 01:21:46 +00:00
skelsoft
fb6389b40c Fix: Blue Partyhat from the credits shop should be the correct item 2021-10-02 21:57:11 +00:00
Ceikry
b2c5b210d0 Merge branch 'add-sfx' into 'master'
Add protect from summoning and antifire/antipoison 30 second ticking sounds.

See merge request 2009scape/2009scape!286
2021-10-01 02:39:49 +00:00
Ceikry
bc87ceaee3 Merge branch 'fix-sapphire-lanterns' into 'master'
Lighting sapphire lanterns requires filling them with lamp oil first.

See merge request 2009scape/2009scape!285
2021-10-01 02:39:34 +00:00
Ceikry
ace3d5364b Merge branch 'teclyn-leprechaun' into 'master'
Teclyn (the elf near the Lletya fruit tree patch) should function as a tool leprechaun.

See merge request 2009scape/2009scape!284
2021-10-01 02:39:19 +00:00
Ceikry
d76a3080c7 Merge branch 'fix-crystal-recharge' into 'master'
Fixes to crystal equipment:

See merge request 2009scape/2009scape!283
2021-10-01 02:38:54 +00:00
Ceikry
0d8a392aa4 Merge branch 'ardougne-spice-stall' into 'master'
Fix broken Ardougne spice stall

See merge request 2009scape/2009scape!282
2021-10-01 02:38:25 +00:00
Ceikry
c548c0575f Merge branch 'dumpcontainer-fix-kt' into 'master'
Fix hang when depositing inventory or equipped items

See merge request 2009scape/2009scape!281
2021-10-01 02:38:15 +00:00
ceikry
fe685d18ac Merge remote-tracking branch 'origin/master' 2021-09-30 21:35:31 -05:00
ceikry
4836af4362 Patch out old hween event 2021-09-30 21:35:25 -05:00
Avi Weinstock
1388058303 Add protect from summoning and antifire/antipoison 30 second ticking sounds. 2021-09-30 15:46:11 -04:00
Avi Weinstock
8c32a23726 Lighting sapphire lanterns requires filling them with lamp oil first. 2021-09-30 15:30:47 -04:00
Avi Weinstock
7613fec4b5 Teclyn (the elf near the Lletya fruit tree patch) should function as a tool leprechaun. 2021-09-30 14:48:28 -04:00
Avi Weinstock
d69994089d Fixes to crystal equipment:
- The price of recharging bows/shields decreases by 180k per recharge, to a minimum of 180k.
- The price of a new bow/shield is always 900k.
- Elven teleport crystals similarly decrease from 750 to 150 by 150, using a separate recharge counter.
- Eluned doesn't sell additional teleport crystals, only recharges them.
- Removed custom functionality from teleport crystals that allowed teleporting into unallocated instances.
2021-09-30 14:31:24 -04:00
James Triantafylos
996fdce12e Fix broken Ardougne spice stall
This commit allows players to theive from the Ardougne spice stall as
they should be able to.

It also corrects the theiving XP from 16 to 81 as it should be.
2021-09-30 14:27:09 -04:00
James Triantafylos
28e3b7367b Fix hang when depositing inventory or equipped items
This commit fixes an issue where the DumpContainer dialogue hangs when
a player attempts to deposit their inventory or equipped items when they
do not have any items in their inventory or are not wearing any items.

This commit also converts the DumpContainer dialogue plugin from Java to
Kotlin to work towards converting the 2009scape codebase to Kotlin.
2021-09-30 13:09:21 -04:00
skelsoft
75e2d9539e Fix: Proselyte Tasset 2021-09-30 03:09:13 +00:00
Avi Weinstock
41686ac463 Fixes to things using the PlayerState machinery:
- Charge now clears the state when it finishes, allowing consecutive uses without relogging.
- Ava's device clears the state when unequipped, allong it to be equipped again later.
- (Unrelated to states) Binding necklace now uses amulet-slot degradation instead of degrading your hat.
2021-09-28 16:15:13 -04:00
Ceikry
0e1a1c756c Merge branch 'prayer-sfx' into 'master'
Add proper sound effect for running out of prayer, and clear the overhead icon when that happens.

See merge request 2009scape/2009scape!275
2021-09-28 13:48:37 +00:00
Ceikry
9b0b72a1d5 Merge branch 'runecrafting-sfx' into 'master'
Add proper sound effects for crafting runes and antifire/antiposion expiration.

See merge request 2009scape/2009scape!276
2021-09-28 13:48:18 +00:00
Ceikry
0f3407eff0 Merge branch 'bind-sfx-1' into 'master'
Fix sound effects for bind/snare/entangle, and also the essence mine teleport.

See merge request 2009scape/2009scape!277
2021-09-28 13:48:08 +00:00
vk
d58db173b7 fix clue scroll drops.
There is a fairly significant bug with clue scrolls. The only npcs that drops clue scrolls right now are hellhonds (that is because their ids are hard-coded in TreasureTrailPlugin.createDrop()). All other npcs do not drop clues due to a bug in `NPCDropTables`.

`NPCDropTables` has two separate ways to access the actual table: one is though `List<WeightedChanceItem> defaultTable`, ` List<WeightedChanceItem> charmTable`, and `List<WeightedChanceItem> mainTable`; And the other is though a combined table `NPCDropTable table`. The problem is that only `NPCDropTable table` is set properly--the other 3 tables are always empty.

The reason clues were bugged was because `TreasureTrailPlugin.createDrop()` has a check for `npc.getDefinition().getDropTables().getMainTable().size() < 3`, which always fails. I really do not see the point in this check to begin with, so i am going to remove it. The hard-coded check for hellounds is pointless as well and should be removed.
I am also going to remove the 3 empty tables from `NPCDropTables` to avoid and similar bugs in the future.

Alternatively, it is possible to make changes to `DropTableParser` and keep those tables, then add post-parsing step to populate `NPCDropTable table` from them. However that would just duplicate all the data in all drops table, and since nothing else was using these individual tables, i just opted for removing them.
2021-09-28 01:44:09 -07:00
Avi Weinstock
1beda37e82 Fix sound effects for bind/snare/entangle, and also the essence mine teleport. 2021-09-27 20:44:51 -04:00
Avi Weinstock
7429415732 Add proper sound effects for crafting runes and antifire/antiposion expiration. 2021-09-27 16:56:40 -04:00
Avi Weinstock
0c6cb0099c Add proper sound effect for running out of prayer, and clear the overhead icon when that happens. 2021-09-27 14:57:37 -04:00
vk
e1edd1bf90 pc improvement - implement priority 2021-09-26 22:21:49 +00:00
vk
030476c244 use item.value instead of item.maxValue as base shop price
This fixes the issue of all shop prices being 5% more than they are supposed to (like dlong/d skimmy being 105k insread of 100k, and even spirit shards being 26 ea instead of 25 ea).
2021-09-25 13:25:48 -07:00
vk
c70a8040f1 bugfix: make FarmingPatch.TROLL_STRONGHOLD_HERB diease-free
The original change to add FarmingPatch.TROLL_STRONGHOLD_HERB to isFlowerProtected() was introduced a few days ago in order to attempt to make the troll patch disease-free.. however, it doesnt work.
The reason is that Patch.isFlowerProtected():297 has a check for `patch.type` to be `PatchType.ALLOTMENT`. That chech will return false before the when statement is ever executed.
I moved the check for TROLL_STRONGHOLD_HERB up a level since "isFlowerProtected" didnt seem like a right place for it anyway since it is not a flower protection.
2021-09-25 01:21:18 -07:00
vk
65d00fe48f fix infinite farming yield from evil turnips (and maybe others)
Currently, a grown evil turnip has infinite yeild. This happens because of the return statemnt in the `else` calse of `chance` definition in `Patch.rollLivesDecrement()`.
Because of the return, the method exists before `cropLives` is decremented.
2021-09-24 18:01:05 -07:00
vk
21e2851d1b ironman drop fix: get drop if npcs delt damage.
Currenly the check is done against the entire ImpactLog, which includes NPC damage.
This becomes very annoying when it comes to places like god wars where npcs constantly attach each other.
This change makes the loot check only look at other players, and not npcs.
The ironman player in question still has to do the most damage (including npcs) to get the drop.
2021-09-23 12:47:33 -07:00
Avi Weinstock
2d61f5a411 Bugfixes for combat and farming:
- Uncomposted patches no longer get lives incremented as if composted.
- Pitfall NPCs use the proper machinery for being not-attackable (so aviansies are no longer meleeable).
2021-09-23 13:00:20 -04:00