Moves falling datum for pizza delviery to voucher file

This commit is contained in:
Heroman
2020-02-16 04:58:32 +10:00
parent e162f75286
commit 10e3dd6368
2 changed files with 17 additions and 4 deletions

View File

@@ -59,8 +59,9 @@
/obj/effect/falling_effect/pizza_delivery/Initialize(mapload)
..()
falling_type = pick(prob(25);/obj/item/pizzabox/meat,
prob(25);/obj/item/pizzabox/margherita,
prob(25);/obj/item/pizzabox/vegetable,
prob(25);/obj/item/pizzabox/mushroom)
falling_type = pick(prob(20);/obj/item/pizzabox/meat,
prob(20);/obj/item/pizzabox/margherita,
prob(20);/obj/item/pizzabox/vegetable,
prob(20);/obj/item/pizzabox/mushroom,
prob(20);/obj/item/pizzabox/pineapple)
return INITIALIZE_HINT_LATELOAD

View File

@@ -54,6 +54,18 @@
else
to_chat(user, "<span class='warning'>The [src] is already in special delivery mode!</span>")
/obj/effect/falling_effect/pizza_delivery
name = "PIZZA PIE POWER!"
crushing = FALSE
/obj/effect/falling_effect/pizza_delivery/Initialize(mapload)
..()
falling_type = pick(prob(20);/obj/item/pizzabox/meat,
prob(20);/obj/item/pizzabox/margherita,
prob(20);/obj/item/pizzabox/vegetable,
prob(20);/obj/item/pizzabox/mushroom,
prob(20);/obj/item/pizzabox/pineapple)
return INITIALIZE_HINT_LATELOAD
/datum/random_map/droppod/pizza
placement_explosion_dev = 0