mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-27 05:15:11 -06:00
Touched up cooking a bit
This commit is contained in:
parent
86540173e4
commit
a2f8e0a398
2 changed files with 4 additions and 6 deletions
|
|
@ -190,11 +190,7 @@ public class StandardCookingPulse extends Pulse {
|
|||
}
|
||||
}
|
||||
|
||||
public boolean updateTutorial(Player player) {
|
||||
return cook(player, object, burned, initial, product);
|
||||
}
|
||||
|
||||
private Animation getAnimation(final Scenery object) {
|
||||
return !object.getName().toLowerCase().equals("fire") ? RANGE_ANIMATION : FIRE_ANIMATION;
|
||||
return !object.getName().equalsIgnoreCase("fire") ? RANGE_ANIMATION : FIRE_ANIMATION;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,11 +144,13 @@ class DiaryEventHook : LoginListener
|
|||
|
||||
if(getAttribute(entity, "diary:seers:shark-caught", 0) >= 5)
|
||||
finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 7)
|
||||
if(getAttribute(entity, "diary:seers:shark-cooked", 0) >= 5)
|
||||
finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 8)
|
||||
|
||||
if((regionId == 12593 || regionId == 12849) && event.source.name.startsWith("dead", true))
|
||||
finishTask(entity, DiaryType.LUMBRIDGE, 1, 8)
|
||||
|
||||
if(event.source.id == 333 && entity.zoneMonitor.isInZone("karamja"))
|
||||
if(event.source.id == NPCs.FISHING_SPOT_333 && entity.zoneMonitor.isInZone("karamja"))
|
||||
finishTask(entity, DiaryType.KARAMJA, 0, 6)
|
||||
if(event.source.id == Scenery.YEW_TREE_8513 && regionId == 11828)
|
||||
finishTask(entity, DiaryType.FALADOR, 2, 3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue