mirror of
https://github.com/goonstation/goonstation-2016.git
synced 2026-08-26 15:36:15 +01:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/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
|
||||
Reference in New Issue
Block a user