mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Blacksmithing 2 (#20004)
* more dorf stuff - Chains, hammers, chainmail * blacksmithing start * A little more TLC * Moves the anvil into the blacksmithing folder. Adds a function to override whether a mob can push an atom/movable (used in anvil) * Adds pickaxe and hammer heads to iron recipes, and misc item handles to wood recipes Changes the hammer sprite to something a bit more aesthetically pleasing than my usual noisebombs * forge time * more forge stuff * Removes copypasting Adds dorfify proc, requiring a /datum/material as its argument. * Fixes res_amount not working for things that aren't a sheet subtype * chainmail added
This commit is contained in:
@@ -374,9 +374,8 @@ var/list/LOGGED_SPLASH_REAGENTS = list(FUEL, THERMITE)
|
||||
..()
|
||||
attempt_heating(I, user)
|
||||
|
||||
/obj/item/weapon/reagent_containers/proc/attempt_heating(obj/item/I, mob/user)
|
||||
var/temperature = I.is_hot()
|
||||
var/thermal_energy = I.thermal_energy_transfer()
|
||||
/obj/item/weapon/reagent_containers/attempt_heating(atom/A, mob/user)
|
||||
var/temperature = A.is_hot()
|
||||
if(temperature && reagents)
|
||||
reagents.heating(thermal_energy, temperature)
|
||||
to_chat(user, "<span class='notice'>You heat [src] with [I].</span>")
|
||||
reagents.heating(A.thermal_energy_transfer(), temperature)
|
||||
to_chat(user, "<span class='notice'>You heat \the [src] with \the [A].</span>")
|
||||
|
||||
Reference in New Issue
Block a user