Holoparasites are now discountable (#25943)

* Discount the parasite!

* Fix testing values

* More testing values gone

* Carp scroll not discountable again
This commit is contained in:
DGamerL
2024-06-29 18:06:48 +00:00
committed by GitHub
parent bc8d56789e
commit b4bac5d681
4 changed files with 53 additions and 19 deletions
@@ -412,6 +412,10 @@
"Lilac" = "#C7A0F6",
"Orchid" = "#F62CF5")
name_list = list("Gallium", "Indium", "Thallium", "Bismuth", "Aluminium", "Mercury", "Iron", "Silver", "Zinc", "Titanium", "Chromium", "Nickel", "Platinum", "Tellurium", "Palladium", "Rhodium", "Cobalt", "Osmium", "Tungsten", "Iridium")
/// How much do we refund this for?
var/refund_cost = 0
/// Is this discounted?
var/is_discounted = FALSE
/obj/item/guardiancreator/tech/create_theme(mob/living/simple_animal/hostile/guardian/G, mob/living/user, picked_name, color)
G.name = "[picked_name] [color]"
@@ -500,3 +504,16 @@
/obj/item/storage/box/syndie_kit/guardian/populate_contents()
new /obj/item/guardiancreator/tech/choose(src)
new /obj/item/paper/guardian(src)
/obj/item/storage/box/syndie_kit/guardian/uplink
var/holopara_cost = 60
/obj/item/storage/box/syndie_kit/guardian/uplink/Initialize(mapload, new_cost)
. = ..()
var/obj/item/guardiancreator/tech/choose/holopara = new(src)
if(holopara_cost != new_cost)
holopara.is_discounted = TRUE
holopara.refund_cost = new_cost
/obj/item/storage/box/syndie_kit/guardian/uplink/populate_contents()
new /obj/item/paper/guardian(src)