-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementing skeletal versions of grindstone and bellows.
- Loading branch information
1 parent
496142b
commit d1ccca6
Showing
6 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/obj/structure/working/bellows | ||
name = "bellows" | ||
desc = "An air pump used to improve the heat of a furnace." | ||
icon = 'icons/obj/structures/forging/bellows.dmi' | ||
var/decl/material/bellows_material = /decl/material/solid/organic/leather | ||
|
||
/obj/structure/working/bellows/Initialize() | ||
bellows_material = GET_DECL(bellows_material) | ||
. = ..() | ||
|
||
/obj/structure/working/bellows/on_update_icon() | ||
. = ..() | ||
underlays = list(overlay_image(icon, "[icon_state]-bellows", bellows_material.color, RESET_COLOR)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/obj/structure/working/grindstone | ||
name = "grindstone" | ||
desc = "A rotating section of coarse stone used to polish and sharpen metalwork like blades." | ||
icon = 'icons/obj/structures/forging/grindstone.dmi' | ||
var/decl/material/stone_material = /decl/material/solid/stone/granite | ||
|
||
/obj/structure/working/grindstone/Initialize() | ||
stone_material = GET_DECL(stone_material) | ||
. = ..() | ||
|
||
/obj/structure/working/grindstone/on_update_icon() | ||
. = ..() | ||
underlays = list( | ||
overlay_image(icon, "[icon_state]-grindstone", stone_material.color, RESET_COLOR), | ||
overlay_image(icon, "[initial(icon_state)]-backdrop") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
/obj/item/stack/material/nail | ||
name = "nails" | ||
singular_name = "nail" | ||
plural_name = "nails" | ||
icon_state = "nail" | ||
plural_icon_state = "nail-mult" | ||
max_icon_state = "nail-max" | ||
stack_merge_type = /obj/item/stack/material/nail | ||
name = "nails" | ||
singular_name = "nail" | ||
plural_name = "nails" | ||
icon_state = "nail" | ||
plural_icon_state = "nail-mult" | ||
max_icon_state = "nail-max" | ||
stack_merge_type = /obj/item/stack/material/nail | ||
crafting_stack_type = /obj/item/stack/material/nail | ||
icon = 'icons/obj/items/stacks/nails.dmi' | ||
is_spawnable_type = TRUE | ||
matter_multiplier = 0.05 // 20 per standard sheet | ||
icon = 'icons/obj/items/stacks/nails.dmi' | ||
is_spawnable_type = TRUE | ||
matter_multiplier = 0.05 // 20 per standard sheet | ||
material = /decl/material/solid/metal/iron | ||
|
||
/obj/item/stack/material/nail/twelve | ||
amount = 12 | ||
amount = 12 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters