(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.
APPROVED: Smelting ore by doubleclick
APPROVED: Smelting ore by doubleclick
+Colibri, Administrator of UO Excelsior Shard
Don't know what the purpose of your life is? Well then make something up!
(Old Colibrian proverb)
Don't know what the purpose of your life is? Well then make something up!
(Old Colibrian proverb)
Re: APPROVED: Smelting ore by doubleclick
so you mean to remove the target cursor altogether?
"No man can hold what the darkness can sow" -Dax Riggs-
-
- Journeyman Scribe
- Posts: 29
- Joined: Tue Dec 01, 2009 4:08 pm
- Location: ~KnowsLocation
Re: APPROVED: Smelting ore by doubleclick
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
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