mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #6581 from Heroman3003/pluspineapple
Adds pineapple pizza to pizza voucher pool
This commit is contained in:
@@ -51,16 +51,3 @@
|
||||
|
||||
/obj/effect/falling_effect/ex_act()
|
||||
return
|
||||
|
||||
|
||||
/obj/effect/falling_effect/pizza_delivery
|
||||
name = "PIZZA PIE POWER!"
|
||||
crushing = FALSE
|
||||
|
||||
/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)
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
@@ -26,10 +26,11 @@
|
||||
desc = desc + " This one seems to be used-up."
|
||||
spent = TRUE
|
||||
if(special_delivery)
|
||||
var/delivery = 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)
|
||||
var/delivery = 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)
|
||||
command_announcement.Announce("SPECIAL DELIVERY PIZZA ORDER #[rand(1000,9999)]-[rand(100,999)] HAS BEEN RECIEVED. SHIPMENT DISPATCHED VIA BALLISTIC SUPPLY POD FOR IMMEDIATE DELIVERY! THANK YOU AND ENJOY YOUR PIZZA!", "WE ALWAYS DELIVER!")
|
||||
var/crash_x = user.x
|
||||
var/crash_y = user.y
|
||||
@@ -53,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
|
||||
|
||||
Reference in New Issue
Block a user