deathindicator: add permabones (#1829)

* Add api support for faking ground items and add permabones

* Remove unused method

* fixed loading/keeping loaded, fixed calendar thingy, probably forgot something

* Actually commit the calendar tsuff
This commit is contained in:
Lucwousin
2019-10-26 21:31:00 +02:00
committed by Ganom
parent 8214e9456d
commit a3667f10e3
14 changed files with 728 additions and 20 deletions

View File

@@ -1100,4 +1100,13 @@ public interface RSClient extends RSGameShell, Client
*/
@Import("Login_promptCredentials")
void promptCredentials(boolean clearPass);
}
@Construct
RSTileItem newTileItem();
@Construct
RSNodeDeque newNodeDeque();
@Import("updateItemPile")
void updateItemPile(int localX, int localY);
}

View File

@@ -9,6 +9,10 @@ public interface RSItemDefinition extends ItemDefinition
@Override
String getName();
@Import("name")
@Override
void setName(String name);
@Import("id")
@Override
int getId();
@@ -41,6 +45,10 @@ public interface RSItemDefinition extends ItemDefinition
@Override
boolean isTradeable();
@Import("isTradable")
@Override
void setTradeable(boolean yes);
/**
* You probably want {@link #isStackable}
* <p>
@@ -60,4 +68,7 @@ public interface RSItemDefinition extends ItemDefinition
@Import("getShiftClickIndex")
@Override
int getShiftClickActionIndex();
@Import("getModel")
RSModel getModel(int quantity);
}

View File

@@ -9,4 +9,13 @@ public interface RSNodeDeque
@Import("sentinel")
RSNode getHead();
@Import("last")
RSNode last();
@Import("previous")
RSNode previous();
@Import("addFirst")
void addFirst(RSNode val);
}

View File

@@ -36,4 +36,7 @@ public interface RSScene extends Scene
@Import("minPlane")
int getMinLevel();
@Import("newGroundItemPile")
void newGroundItemPile(int plane, int x, int y, int hash, RSEntity var5, long var6, RSEntity var7, RSEntity var8);
}