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
@@ -95,7 +95,7 @@
if(queen_bee)
if(bee_resources >= BEE_RESOURCE_HONEYCOMB_COST && length(honeycombs) < get_max_honeycomb())
bee_resources = max(bee_resources-BEE_RESOURCE_HONEYCOMB_COST, 0)
var/obj/item/food/snacks/honeycomb/HC = new(src)
var/obj/item/food/honeycomb/HC = new(src)
if(queen_bee.beegent)
HC.set_reagent(queen_bee.beegent.id)
honeycombs += HC
@@ -240,7 +240,7 @@
var/amtH = HF.honeycomb_capacity
var/fallen = 0
while(length(honeycombs) && amtH) //let's pretend you always grab the frame with the most honeycomb on it
var/obj/item/food/snacks/honeycomb/HC = pick_n_take(honeycombs)
var/obj/item/food/honeycomb/HC = pick_n_take(honeycombs)
if(HC)
HC.forceMove(get_turf(src))
amtH--
@@ -1,5 +1,5 @@
/obj/item/food/snacks/honeycomb
/obj/item/food/honeycomb
name = "honeycomb"
desc = "A hexagonal mesh of honeycomb."
icon = 'icons/obj/hydroponics/harvest.dmi'
@@ -8,13 +8,13 @@
list_reagents = list("honey" = 5)
var/honey_color = ""
/obj/item/food/snacks/honeycomb/Initialize(mapload)
/obj/item/food/honeycomb/Initialize(mapload)
. = ..()
pixel_x = rand(8,-8)
pixel_y = rand(8,-8)
update_icon(UPDATE_OVERLAYS)
/obj/item/food/snacks/honeycomb/update_overlays()
/obj/item/food/honeycomb/update_overlays()
. = ..()
var/image/honey
if(honey_color)
@@ -25,7 +25,7 @@
. += honey
/obj/item/food/snacks/honeycomb/proc/set_reagent(reagent)
/obj/item/food/honeycomb/proc/set_reagent(reagent)
var/datum/reagent/R = GLOB.chemical_reagents_list[reagent]
if(istype(R))
name = "honeycomb ([R.name])"