This commit is contained in:
lolman360
2020-08-18 15:38:59 +10:00
parent 8f5078a15a
commit 8085ab01d9
6 changed files with 103 additions and 1 deletions

View File

@@ -174,7 +174,14 @@
new reward(get_turf(src))
to_chat(user, "<span class='cultitalic'>You work the forge as dark knowledge guides your hands, creating the [choice]!</span>")
/obj/structure/destructible/cult/forge/attackby(obj/item/I, mob/user)
if(!iscultist(user))
to_chat(user, "<span class='warning'>The heat radiating from [src] pushes you back.</span>")
return
if(istype(I, /obj/item/ingot))
var/obj/item/ingot/notsword = I
to_chat(user, "You heat the [notsword] in the [src].")
notsword.workability = "shapeable"
/obj/structure/destructible/cult/pylon
name = "pylon"

View File

@@ -202,6 +202,14 @@
else
..()
/obj/structure/anvil/obtainable/bronze
name = "slab of bronze"
desc = "A big block of bronze. Useable as an anvil."
custom_materials = list(/datum/material/bronze=8000)
icon = 'icons/obj/smith.dmi'
icon_state = "anvil"
anvilquality = -1
/obj/structure/anvil/obtainable/sandstone
name = "sandstone brick anvil"
desc = "A big block of sandstone. Useable as an anvil."
@@ -224,6 +232,34 @@
icon_state = "anvil"
anvilquality = 0
/obj/structure/anvil/obtainable/ratvar
name = "brass anvil"
desc = "A big block of what appears to be brass. Useable as an anvil, if whatever's holding the brass together lets you."
custom_materials = list(/datum/material/bronze=8000)
icon = 'icons/obj/smith.dmi'
icon_state = "anvil"
anvilquality = 1
/obj/structure/anvil/obtainable/ratvar/attackby(obj/item/I, mob/user)
if(is_servant_of_ratvar(user))
return ..()
else
to_chat(user, "<span class='neovgre'>KNPXWN, QNJCQNW!</span>") //rot13 then rot22 if anyone wants to decode
/obj/structure/anvil/obtainable/narsie
name = "runic anvil"
desc = "An anvil made of a strange, runic metal."
custom_materials = list(/datum/material/runedmetal=8000)
icon = 'icons/obj/smith.dmi'
icon_state = "anvil"
anvilquality = 1
/obj/structure/anvil/obtainable/narsie/attackby(obj/item/I, mob/user)
if(iscultistr(user))
return ..()
else
to_chat(user, "<span class='narsiesmall'>That is not yours to use!</span>")
#undef WORKPIECE_PRESENT
#undef WORKPIECE_INPROGRESS
#undef WORKPIECE_FINISHED

View File

@@ -209,6 +209,46 @@ pickaxes [x]
overlay_state = "hammerhandle"
qualitymod = -2
/obj/item/melee/smith/hammer/narsie
name = "runemetal hammer"
custom_materials = list(datum/material/runedmetal = 12000)
desc = "A metal hammer inscribed with geometeric runes."
qualitymod = 1
/obj/item/melee/smith/hammer/narsie(mob/living/target, mob/living/carbon/human/user)
if(!iscultist(user))
user.DefaultCombatKnockdown(100)
user.dropItemToGround(src, TRUE)
user.visible_message("<span class='warning'>A powerful force shoves [user] away from [target]!</span>", \
"<span class='cultlarge'>\"You shouldn't be touching tools that aren't yours.\"</span>")
if(ishuman(user))
var/mob/living/carbon/human/H = user
H.apply_damage(rand(force/2, force), BRUTE, pick(BODY_ZONE_L_ARM, BODY_ZONE_R_ARM))
else
user.adjustBruteLoss(rand(force/2,force))
return
..()
/obj/item/melee/smith/hammer/ratvar
name = "brass hammer"
custom_materials = list(datum/material/bronze = 12000)
desc = "A brass hammer inscribed with... writing? You can't read it."
qualitymod = 1
/obj/item/melee/smith/hammer/ratvar(mob/living/target, mob/living/carbon/human/user)
if(!is_servant_of_ratvar(user))
user.DefaultCombatKnockdown(100)
user.dropItemToGround(src, TRUE)
user.visible_message("<span class='warning'>A powerful force shoves [user] away from [target]!</span>", \
"<span class='neovgre'>\""You shouldn't be touching tools that aren't yours.\"</span>")
if(ishuman(user))
var/mob/living/carbon/human/H = user
H.apply_damage(rand(force/2, force), BRUTE, pick(BODY_ZONE_L_ARM, BODY_ZONE_R_ARM))
else
user.adjustBruteLoss(rand(force/2,force))
return
..()
/obj/item/melee/smith/hammer/debug
name = "debugging hammer"
desc = "A DEBUGGING HAMMER!! EPIC!!."

View File

@@ -27,6 +27,7 @@
working = TRUE
else
working = FALSE
/obj/structure/furnace/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/ingot))
var/obj/item/ingot/notsword = I
@@ -46,3 +47,12 @@
/obj/structure/furnace/infinite
name = "fuelless furnace"
debug = TRUE
/obj/structure/furnace/infinite/ratvar
name = "brass furnace"
desc = "A brass furnace. Powered by... something, but seems otherwise safe." //todo:sprites they're safe for noncultists because you're just putting ingots in them. also there';s a reason to steal them ig
/obj/structure/furnace/infinite/narsie
name = "rune furnace"
desc = "A runed furnace. Powered by... something, but seems otherwise safe."//todo:sprites

View File

@@ -78,6 +78,10 @@
/obj/item/ingot/bronze
custom_materials = list(/datum/material/bronze=12000)
/obj/item/ingot/bronze/ratvar
material_flags = MATERIAL_COLOR
name = "brass ingnot"
desc = "On closer inspection, what appears to be wholly-unsuitable-for-smithing brass is actually more structurally stable bronze. Ratvar must have transformed the brass into bronze. Somehow."
/obj/item/smithing/Initialize()
..()