mirror of
https://github.com/goonstation/goonstation-2016.git
synced 2026-05-19 23:15:38 +01:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
/obj/item/artifact/mining_tool
|
|
name = "artifact mining tool"
|
|
artifact = 1
|
|
associated_datum = /datum/artifact/mining
|
|
var/dig_power = 1
|
|
var/extrahit = 0
|
|
var/dig_sound = 'sound/effects/exlow.ogg'
|
|
// mining.dm line 373
|
|
module_research_no_diminish = 1
|
|
|
|
New(var/loc, var/forceartitype)
|
|
..()
|
|
src.dig_power = rand(1,5)
|
|
if (prob(33))
|
|
src.extrahit = rand(0,4)
|
|
src.dig_sound = pick('sound/effects/exlow.ogg','sound/effects/mag_magmisimpact.ogg','sound/effects/shieldhit2.ogg')
|
|
|
|
examine()
|
|
set src in oview()
|
|
boutput(usr, "You have no idea what this thing is!")
|
|
if (!src.ArtifactSanityCheck())
|
|
return
|
|
var/datum/artifact/A = src.artifact
|
|
if (istext(A.examine_hint))
|
|
boutput(usr, "[A.examine_hint]")
|
|
|
|
/datum/artifact/mining
|
|
associated_object = /obj/item/artifact/mining_tool
|
|
rarity_class = 1
|
|
validtypes = list("ancient","martian","wizard","eldritch","precursor")
|
|
react_xray = list(12,80,95,5,"DENSE")
|
|
examine_hint = "It seems to have a handle you're supposed to hold it by."
|
|
module_research = list("mining" = 10, "engineering" = 5, "miniaturization" = 10)
|
|
module_research_insight = 3 |