mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Makes food not a subtype of reagent holders (#23379)
* I am suffering * Alright this should be all now * Fixes CI * I hate the online merge resolver. * This got lost in the merge master * Updatepaths fixed + new added * Contra review * Fixes desserts * Oops * This should fix it * Maybe? * Attempt 3 * Missed conflict * Update code/modules/reagents/chemistry/machinery/reagentgrinder.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Update code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Update code/modules/food_and_drinks/food/foods/pizza.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Fixes grinders * Adds comment * Warrior review * Warrior + Sirryan review * Update code/modules/food_and_drinks/food_base.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
/obj/item/gun/throw/crossbow/french
|
||||
name = "french powered crossbow"
|
||||
icon_state = "fcrossbow"
|
||||
valid_projectile_type = /obj/item/reagent_containers/food/snacks/baguette
|
||||
valid_projectile_type = /obj/item/food/snacks/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/reagent_containers/food/snacks/pie
|
||||
valid_projectile_type = /obj/item/food/snacks/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/reagent_containers/food/snacks/pie/P = new /obj/item/reagent_containers/food/snacks/pie(src)
|
||||
var/obj/item/food/snacks/pie/P = new (src)
|
||||
loaded_projectiles += P
|
||||
process_chamber()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user