mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
d18fbb16ca
- Farming Skill Added - Orb charging implemented - Battle staff creation implemented - Cleaned up some code - Stuck command will now tele you from further out in wildy if you are not in combat - Fixed an issue with amulet of glory - Added forcechats for npcs at Gnome Agility Course, and for Cows, Ducks and Sheeps just like in actual osrs - Added base for God Book preaching
16 lines
337 B
Java
16 lines
337 B
Java
package com.rebotted.game.items;
|
|
|
|
public class GameItem {
|
|
|
|
public int id, amount;
|
|
public boolean stackable = false;
|
|
|
|
public GameItem(int id, int amount) {
|
|
if (ItemData.itemStackable[id]) {
|
|
stackable = true;
|
|
}
|
|
this.id = id;
|
|
this.amount = amount;
|
|
}
|
|
|
|
} |