Merge pull request #14859 from KillianKirilenko/kk-nanofix

Mech Nanopaste repairs fix
This commit is contained in:
Heroman3003
2023-05-20 04:56:34 +10:00
committed by CHOMPStation2
parent f7eb1e0ec8
commit dc9fca2f8a
4 changed files with 38 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
var/restoration_external = 5
var/restoration_internal = 20
var/repair_external = FALSE
var/mech_repair = 10
/obj/item/stack/nanopaste/advanced
name = "advanced nanopaste"
@@ -10,4 +11,5 @@
icon = 'icons/obj/stacks_vr.dmi'
icon_state = "adv_nanopaste"
restoration_external = 10
repair_external = TRUE
repair_external = TRUE
mech_repair = 20

View File

@@ -17,7 +17,7 @@
center_of_mass = null
var/list/datum/stack_recipe/recipes
var/singular_name
VAR_PROTECTED/amount = 1
var/amount = 1
var/max_amount //also see stack recipes initialisation, param "max_res_amount" must be equal to this max_amount
var/stacktype //determines whether different stack types can merge
var/build_type = null //used when directly applied to a turf