Mining Demo

by Mega fart cannon
A demo on how to make a proper Mining System. You can also substitute this to make a Fishing System! [More]
To download this demo for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Megafartcannon.MiningDemo##version=2

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Megafartcannon.MiningDemo##version=2

782 downloads
Version 2
Date added: Jan 13 2006
Last updated: Jul 29 2009
1 fan

Version 2:
Commented Extra.dm
Added new proc, MineMultiple()
Lowered Probability of minerals
Fixed it so you can't move while mining
/mob/pc is now set to /mob

Version 1:
First Release, no known bugs


Mine(ref)
ref being a mineral. This is fully customizable. You can call the proc, and stick new/... as an arguement, which can be called like this:
obj/rock verb/Mine() usr.Mine(new/obj/mineral/...)


MineMineral(list)
list being a list of objects. Can be called like this:
obj/rock verb/Mine() usr.MineMultiple(list(new/obj/mineral/..., ...))