Page 1 of 1

APPROVED: Smelting ore by doubleclick

Posted: Tue Sep 23, 2008 3:33 pm
by +Colibri
(From my todo list)

When doubleclicking a pile of ore, it first checks your backpack (recursively). If a MobileForge is not found, it also checks GetItemsInRange( range = 1 ), and if there are any items with the ItemID of a forge (there's at least 6 of them i think), or even better, if any of those items is a ForgeAddonComponent (not sure exactly how it's called), it deletes the ore and adds the ingots in the pack.

Note: can only smelt ore if it's this.Movable or this.ChildOf( from.Backpack ). Also be careful when smelting over 30k ore at once since that would produce stacks of iron greater than 60k.

Re: APPROVED: Smelting ore by doubleclick

Posted: Thu Sep 17, 2009 9:30 am
by Velius
so you mean to remove the target cursor altogether?

Re: APPROVED: Smelting ore by doubleclick

Posted: Mon Dec 28, 2009 9:36 pm
by kellsar wolf
Instructions are included with the file, if you choose to edit an existing Ore.cs file.
The file is downloaded, as modified and can replace any RunUO 1.0 distro Ore.cs file.

Ore.cs

--
When you double-click a ore pile with a Mobile Forge in your bag or if a forge is near you, it automatically smelts the ore.
If you are not near a forge, you must target a forge within range.

If implemented, i will have to redo my razor macro 8)