mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +01:00
[MIRROR] dismantle takes optional var (#7677)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
co-authored by
Heroman3003
CHOMPStation2
parent
2edc2faf5b
commit
379e34217c
@@ -321,8 +321,8 @@ var/list/name_to_material
|
||||
|
||||
// General wall debris product placement.
|
||||
// Not particularly necessary aside from snowflakey cult girders.
|
||||
/datum/material/proc/place_dismantled_product(var/turf/target)
|
||||
place_sheet(target, 1)
|
||||
/datum/material/proc/place_dismantled_product(var/turf/target, var/amount = 1)
|
||||
place_sheet(target, amount)
|
||||
|
||||
// Debris product. Used ALL THE TIME.
|
||||
/datum/material/proc/place_sheet(var/turf/target, amount)
|
||||
|
||||
Reference in New Issue
Block a user