compilies/??

This commit is contained in:
lolman360
2020-08-15 17:09:12 +10:00
parent 2ff1529df2
commit 7ca4fa2f55
7 changed files with 200 additions and 51 deletions
+78
View File
@@ -0,0 +1,78 @@
/obj/item/melee/smith
name = "base class obj/item/melee/smith" //tin. handles overlay and quality and shit.
icon = 'icons/obj/smith.dmi'
icon_state = "mace_greyscale"
item_state = "mace_greyscale"
material_flags = MATERIAL_COLOR | MATERIAL_AFFECT_STATISTICS
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
var/quality
var/overlay_state = "stick"
var/mutable_appearance/overlay
/obj/item/melee/smith/Initialize()
desc = "A handmade [name]."
. = ..()
overlay = mutable_appearance(icon, overlay_state)
overlay.appearance_flags = RESET_COLOR
add_overlay(overlay)
///////////////////////////
// Mining //
///////////////////////////
/obj/item/mining_scanner/prospector
name = "prospector's pickaxe"
desc = "A pickaxe that can sound rocks to find mineral deposits and stop gibtonite detonations."
icon = 'icons/obj/mining.dmi'
icon_state = "pickaxe" //todo:sprite
/obj/item/pickaxe/smithed
name = "pickaxe"
desc = "A pickaxe that can sound rocks to find mineral deposits and stop gibtonite detonations."
icon = 'icons/obj/mining.dmi'
icon_state = "pickaxe"
/obj/item/shovel/smithed
name = "prospector's pickaxe"
desc = "A pickaxe that can sound rocks to find mineral deposits and stop gibtonite detonations."
icon = 'icons/obj/mining.dmi'
icon_state = "pickaxe"
///////////////////////////
// Spears //
///////////////////////////
/obj/item/melee/smith/halberd
/obj/item/melee/smith/javelin
//////////////////////////
// Other Melee //
///////////////////////////
/obj/item/melee/smith/axe
/obj/item/melee/smith/hammer//blacksmithing, not warhammer.
var/qualitymod = 0
/obj/item/scythe/smithed //we need to inherit scythecode
/obj/item/melee/smith/cogheadclub
/obj/item/melee/smith/shortsword
/obj/item/melee/smith/shortsword