a100affda2
Unified kotlin and java into just src/main Unified the rs09 and core packages Took all content out of the core package, and placed it into the new content package Reorganised all source code relating to content to be easier to find and explore
33 lines
892 B
Java
33 lines
892 B
Java
package content.global.skill.cooking;
|
|
|
|
import core.game.node.entity.player.Player;
|
|
import core.game.node.item.Item;
|
|
import core.game.node.scenery.Scenery;
|
|
|
|
/**
|
|
* Fixes the half assed previous implementation of cooking Sinew.
|
|
* @author Woah
|
|
*/
|
|
public class SinewCookingPulse extends StandardCookingPulse {
|
|
|
|
public SinewCookingPulse(Player player, Scenery object, int initial, int product, int amount) {
|
|
super(player, object, initial, product, amount);
|
|
}
|
|
|
|
@Override
|
|
public boolean checkRequirements() {
|
|
properties = CookableItems.SINEW;
|
|
return super.checkRequirements();
|
|
}
|
|
|
|
@Override
|
|
public boolean isBurned(Player player, Scenery object, int food) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public String getMessage(Item food, Item product, boolean burned) {
|
|
return "You dry a piece of beef and extract the sinew.";
|
|
}
|
|
}
|