-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working draft of blacksmithing. #4672
base: dev
Are you sure you want to change the base?
Conversation
974c8dc
to
cce8d61
Compare
// Put the bar onto the anvil (need to do this to avoid repairs in ..()) | ||
if(istype(used_item, /obj/item/stack/material/bar)) | ||
var/obj/item/stack/material/bar/bar = used_item | ||
if(bar.get_amount() == 1 && current_health >= get_max_health()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this means the moment it takes any damage from use you stop being able to place a bar on it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Because otherwise you cannot repair an anvil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a material check and removed the amount check. If you want to put a single iron bar onto a damaged iron anvil you will need to use throw-place but that seems like a niche enough problem to not matter.
8bdccc7
to
496142b
Compare
5d59282
to
688ef32
Compare
a265917
to
fdc5618
Compare
fdc5618
to
85b0150
Compare
Description of changes
This is a partial implementation of blacksmithy and metalworking to bracket the existing low-tech crafting systems like casting.
TODO
Longer-term TODO (not in this PR)
Why and what will this PR improve
Authorship
Code is mine, icons and a lot of the design work belong to @PlayerDeer.
Changelog
🆑
tweak: Many stack crafting recipes for metal items now require a fabricator (like the autolathe), or forging on an anvil.
feature: Added blacksmithing!
/:cl: