mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Adds Glass Sandwiches and Supermatter Sandwiches (#30435)
* glass sammich
* Update cutting_board_recipes.dm
* yummy
* Update test_tiny.dmm
* Update test_tiny.dmm
* Update toxins.dm
* Update test_tiny.dmm
* Update test_tiny.dmm
* Update test_tiny.dmm
* Update test_tiny.dmm
* Revert "yummy"
This reverts commit b2a5736618.
* yummy but without test tiny shit
* Update cooking_container.dm
* isolate sliver handling to a recipe step
* fix
---------
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
This commit is contained in:
co-authored by
warriorstar-orion
parent
99ff0ad3de
commit
d1d1393ee2
@@ -457,3 +457,59 @@
|
||||
list_reagents = list("nutriment" = 5, "protein" = 2)
|
||||
tastes = list("peanutbutter" = 3, "banana" = 3, "bread" = 2)
|
||||
goal_difficulty = FOOD_GOAL_NORMAL
|
||||
|
||||
/obj/item/food/glass_sandwich
|
||||
name = "glass sandwich"
|
||||
desc = "Crushed glass shards sandwiched between two slices of plain bread. Crunchy!"
|
||||
icon = 'icons/obj/food/burgerbread.dmi'
|
||||
icon_state = "glass_sandwich"
|
||||
tastes = list("dozens of glass shards skewering your mouth" = 3, "pain" = 3, "bread" = 2)
|
||||
list_reagents = list("nutriment" = 2, "glass_shards" = 5)
|
||||
var/bite_damage = 2
|
||||
|
||||
/obj/item/food/glass_sandwich/On_Consume(mob/living/M)
|
||||
..()
|
||||
M.adjustBruteLoss(bite_damage)
|
||||
|
||||
/obj/item/food/glass_sandwich/plasma
|
||||
name = "plasma glass sandwich"
|
||||
desc = "Razor-sharp plasma glass shards, crushed up and sandwiched between two slices of plain bread. Extra crunchy!"
|
||||
icon_state = "plasma_glass_sandwich"
|
||||
list_reagents = list("nutriment" = 2, "glass_shards" = 5, "plasma" = 5)
|
||||
bite_damage = 4
|
||||
|
||||
/obj/item/food/glass_sandwich/plasma/plastitanium
|
||||
name = "plastitanium glass sandwich"
|
||||
desc = "Evil-looking plastitanium glass shards, crushed up and sandwiched between two slices of plain bread. Evilly crunchy!"
|
||||
icon_state = "plastitanium_glass_sandwich"
|
||||
|
||||
/obj/item/food/supermatter_sandwich
|
||||
name = "supermatter sandwich"
|
||||
desc = "A supermatter sliver, somehow safely contained between two slices of bread. You have been told many times to not lick the forbidden nacho... But surely one taste can't be that bad?"
|
||||
icon = 'icons/obj/food/burgerbread.dmi'
|
||||
icon_state = "supermatter_sandwich"
|
||||
tastes = list("indescribable power" = 3, "bread" = 2)
|
||||
list_reagents = list("vitamin" = 50) // Supermatter is full of energy!
|
||||
|
||||
/obj/item/food/supermatter_sandwich/On_Consume(mob/living/M)
|
||||
..()
|
||||
if(!HAS_TRAIT(M, TRAIT_SUPERMATTER_IMMUNE))
|
||||
M.visible_message(
|
||||
"<span class='danger'>[M] lifts [src] up to [M.p_their()] mouth and bites down, inducing a resonance... [M.p_their(TRUE)] body starts to glow and burst into flames before flashing into dust!</span>",
|
||||
"<span class='userdanger'>You bite down on [src].<br><br> Everything starts burning and all you can hear is ringing. Your final thought is: \"OH FU-\"</span>",
|
||||
"<span class='danger'>A deafening resonance fills the air, followed by silence...</span>"
|
||||
)
|
||||
radiation_pulse(src, 2000, GAMMA_RAD)
|
||||
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)
|
||||
M.drop_item() // How many bridge hobos will take a bite, I wonder?
|
||||
M.dust()
|
||||
message_admins("[src] has consumed [key_name_admin(M)] [ADMIN_JMP(src)].")
|
||||
investigate_log("has consumed [key_name(M)].", INVESTIGATE_SUPERMATTER)
|
||||
|
||||
/obj/item/food/supermatter_sandwich/process()
|
||||
. = ..()
|
||||
var/new_filter = isnull(get_filter("ray"))
|
||||
ray_filter_helper(1, 40,"#ffd04f", 6, 20)
|
||||
if(new_filter)
|
||||
animate(get_filter("ray"), offset = 10, time = 10 SECONDS, loop = -1)
|
||||
animate(offset = 0, time = 10 SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user