Jump to content
Existing user? Sign In

Sign In



Sign Up

I really need this


Daniel0576

Recommended Posts

			if (itemUsed == ITEM_TO_UPGRADE_ID && useWith == ITEM_TO_UPGRADE_ID) {
					c.sendMessage("You upgraded...");
					c.getItems().deleteItem(ITEM_TO_UPGRADE_ID, 1);
					c.getItems().deleteItem(ITEM_TO_UPGRADE_ID, 1);
					c.getItems().addItem(UPGRADED_ITEM_ID, 1);
}

For example:

123 and 456 are used together to give 789

			if (itemUsed == 123 && useWith == 456) {
					c.sendMessage("You upgraded...");
					c.getItems().deleteItem(123, 1);
					c.getItems().deleteItem(456, 1);
					c.getItems().addItem(789, 1);
}
Edited by mathy
Link to comment
Share on other sites

2 hours ago, Daniel0576 said:

How would i go on about using an item on another item to get an upgraded item.

I hope that made any sence.

If you need help with this, PM me. It's simple once you locate the others

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact

ltlimes

RSPS Partners

RedemptionRSPS

What is a RSPS?

A RSPS, also known as RuneScape private server, is an online game based on RuneScape, and controlled by independent individuals.

Popular RSPS Servers

oldschoolrsps Runewild RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex, rune-server and runelocus in any way & exists solely for educational purposes.

×
×
  • Create New...