Glamour Experimentation (#17003)

* Glamour Experimentation

Added a new stable glamour crafting material that can be used to craft various items.

Added a new unstable glamour item, that has a few risky effects when used and picked up without protection.

Added a new particle smasher recipe to turn unstable glamour into stable glamour.

Added new items to the lleill transmute ability.

Added new glamour bow and arrow items.

* Fixed a bit of phrasing

* Consolidates TF procs

Changed TF procs and belly transfer procs to be called from one location rather than being repeated in various different procs across the code.

* forgot to include

* Fixed size change effect

* timer instead of spawn

* Added new glamour turfs for whitespace maps.
This commit is contained in:
SatinIsle
2025-02-01 19:28:56 +00:00
committed by GitHub
parent 4c8b23497c
commit cd89f4d237
20 changed files with 469 additions and 300 deletions
@@ -231,7 +231,7 @@
if(recipe.items && recipe.items.len)
for(var/obj/item/I in storage)
for(var/item_type in recipe.items)
if(istype(I, item_type))
if(istype(I, item_type) && prob(recipe.item_consume_chance))
storage -= I
qdel(I)
break
@@ -281,6 +281,7 @@
var/required_atmos_temp_min = 0 // The minimum ambient atmospheric temperature required, in kelvin.
var/required_atmos_temp_max = 600 // The maximum ambient atmospheric temperature required, in kelvin.
var/probability = 0 // The probability for the recipe to be produced. 0 will make it impossible.
var/item_consume_chance = 100 // The probability for the items (not materials) used in the recipe to be consume.
/datum/particle_smasher_recipe/proc/check_items(var/obj/container as obj)
. = 1
@@ -418,5 +419,19 @@
required_atmos_temp_max = 20000
probability = 20
/datum/particle_smasher_recipe/glamour
items = list(/obj/item/glamour_unstable)
result = /obj/item/stack/material/glamour
required_material = /obj/item/stack/material/phoron
required_energy_min = 500
required_energy_max = 600
required_atmos_temp_min = 0
required_atmos_temp_max = 50
probability = 100
item_consume_chance = 10 //Allows only a few unstable glamour to be given out to get lots of stable ones.
#undef PS_RESULT_STACK
#undef PS_RESULT_ITEM