Base:Delta cleaned
Credits: AdotSells,The Unholy,Chandlermaki
This is itemonitem And its so basic all it includes is hammer on Plank makes a bank booth.
Other players cannot see the objects made and they disapear when you log out. It uses the firemaking skilllevel at the moment Since i have not got construction skill working
This code is the itemOnitem to make it build the bank.
if (!inConstruction()) {
sM("You need to be in the construction area");
} else if
((itemUsed == 2347) && (useWith == 960)) {
if (playerLevel[11] >= 0) {
setAnimation(827);
deleteItem(960, getItemSlot(960), 1);
makeGlobalObject(absX, absY, 2213, 0, 10);
addSkillXP(180, 11);
sM("You build a Bank booth");
resetWC();
} else {
sM("You need a construction Level of 0 to build this");
}
To make that code work you will need to add this
public boolean inConstruction() {
if(absX >= xxxx && absX <= xxxx && absY >= xxxx && absY <= xxxx)
return true;
else
return false;
}
public boolean inConstruction() {
^makes it so you cant do the item on item unless you'r at the coord range you choose.
I will not help you with the coords on the code above.
Sorry if you dont understand me.
Learning the coord's (Thanks The Unholy)
http://www.rune-kingdom.org/index.php?topic=484.0