Removes the empty type of /snacks (#26010)

* Aaaaa it works

* Add updatepaths

* Add unsaved files

* MATTTTT

* Fixes casino

* Fix

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
DGamerL
2024-07-29 14:46:04 +00:00
committed by GitHub
parent 2e2569f1db
commit 098b13bb33
222 changed files with 3300 additions and 3347 deletions
+5 -5
View File
@@ -147,7 +147,7 @@
explosion(get_turf(H), 1, 1, 1, cause = "staff of chaos lethal explosion effect")
if("cheese morphed")
H.visible_message("<span class='chaosverybad'>[H] transforms into cheese!</span>", "<span class='chaosverybad'>You've been transformed into cheese!</span>")
new /obj/item/food/snacks/cheesewedge(get_turf(H))
new /obj/item/food/cheesewedge(get_turf(H))
qdel(H)
if("supermattered")
var/obj/machinery/atmospherics/supermatter_crystal/supercrystal = GLOB.main_supermatter_engine
@@ -321,13 +321,13 @@
if("toy revolver")
item_to_summon = /obj/item/gun/projectile/revolver/capgun/chaosprank
if("cheese")
item_to_summon = /obj/item/food/snacks/cheesewedge
item_to_summon = /obj/item/food/cheesewedge
explosion_amount = rand(5, 10)
if("food")
target.visible_message("<span class='chaosneutral'>Food scatters around [target]!</span>", "<span class='chaosneutral'>A bunch of food scatters around you!</span>")
var/limit = rand(5, 10)
for(var/i in 1 to limit)
var/type = pick(typesof(/obj/item/food/snacks))
var/type = pick(typesof(/obj/item/food))
var/obj/item/I = new type(get_turf(target))
INVOKE_ASYNC(I, TYPE_PROC_REF(/atom/movable, throw_at), pick(oview(7, get_turf(src))), 10, 1)
@@ -347,7 +347,7 @@
item_to_summon = /obj/item/banhammer
explosion_amount = rand(2, 5)
if("banana")
item_to_summon = /obj/item/food/snacks/grown/banana
item_to_summon = /obj/item/food/grown/banana
/**
* Picks a random gift to be given to mob/living/target. Should be valuable and/or threatening to the wizard.
@@ -369,7 +369,7 @@
if("tarot deck")
item_to_summon = /obj/item/tarot_generator
if("bluespace banana")
item_to_summon = /obj/item/food/snacks/grown/banana/bluespace
item_to_summon = /obj/item/food/grown/banana/bluespace
if("banana grenade")
item_to_summon = /obj/item/grenade/clown_grenade
if("disco ball")
@@ -157,7 +157,7 @@
/obj/item/gun/throw/crossbow/french
name = "french powered crossbow"
icon_state = "fcrossbow"
valid_projectile_type = /obj/item/food/snacks/baguette
valid_projectile_type = /obj/item/food/baguette
/obj/item/gun/throw/crossbow/french/modify_projectile(obj/item/I, on_chamber = 0)
return
@@ -8,7 +8,7 @@
force = 5
clumsy_check = FALSE
valid_projectile_type = /obj/item/food/snacks/pie
valid_projectile_type = /obj/item/food/pie
max_capacity = 5
projectile_speed = 2
projectile_range = 30
@@ -17,7 +17,7 @@
/obj/item/gun/throw/piecannon/Initialize(mapload)
. = ..()
for(var/i in 1 to max_capacity)
var/obj/item/food/snacks/pie/P = new (src)
var/obj/item/food/pie/P = new (src)
loaded_projectiles += P
process_chamber()