mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Squashed commit of the following:
commit b3d348258c4c93a1df81652bdf68fd00f4130369 Author: Verkister <superverkelian@hotmail.com> Date: Sun Feb 4 22:40:08 2018 +0200 Squashed commit of the following: commit 5faa5f9d063e57400584ab1ae458e626629b6842 Author: Verkister <superverkelian@hotmail.com> Date: Sun Feb 4 22:31:10 2018 +0200 Update pai.dm commit fd4bbdc6b99d74d94befb440ffe5e0c23a98a918 Author: Verkister <superverkelian@hotmail.com> Date: Sun Feb 4 11:28:58 2018 +0200 Makes pAI cards, AI cards, and posis "edible" -Also makes it so that pAI cannot fold out if inside a gut. commit 1d13c207240c4bc296b188533e8cf50b1424cc36 Author: Verkister <superverkelian@hotmail.com> Date: Sun Feb 4 10:40:38 2018 +0200 some more trashcan refactoring commit 28d02c272dbd218d2d91c91fb1ecec999b9dd05e Author: Verkister <superverkelian@hotmail.com> Date: Sat Feb 3 13:32:14 2018 +0200 Trashcan perk refactor
This commit is contained in:
@@ -30,286 +30,4 @@
|
||||
selected.internal_contents |= src // Too many hoops and obstacles to stick it into the sleeper module.
|
||||
R.visible_message("<span class='warning'>[user] feeds [R] with [src]!</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/device/flashlight/flare/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of spicy cardboard. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/device/flashlight/glowstick/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You found out the glowy juice only tastes like regret. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/toy/figure/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/vore/gulp.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
visible_message("<span class='warning'>[M] demonstrates their voracious capabilities by swallowing [src] whole!</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/cigbutt/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of bitter ash. Classy.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/bananapeel/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of bitter banana.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/stack/material/cardboard/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of cardboard. Delicious.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/paper/attack(mob/living/carbon/M as mob, mob/living/user as mob)
|
||||
if(icon_state == "scrap")
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the dry flavor of bureaucracy.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/light/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
var/obj/item/weapon/light/L = src
|
||||
if(ishuman(M) && L.status > 1)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of pain. This can't possibly be healthy for your guts.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/broken_bottle/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of pain. This can't possibly be healthy for your guts.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/cans/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/smallmilk/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of creamy garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/smallchocmilk/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of chocolate and garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/coffee/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of caffeinated garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/tea/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/h_chocolate/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of chocolate and garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/ice/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of cold wet garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/dry_ramen/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/sillycup/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M) && !reagents.total_volume)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/inflatable/torn/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/badrecipe/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.trashcan == 1)
|
||||
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = H.vore_selected
|
||||
var/datum/belly/selected = H.vore_organs[belly]
|
||||
forceMove(H)
|
||||
selected.internal_contents |= src
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of someone's horrible cooking skills.</span>")
|
||||
return
|
||||
..()
|
||||
Reference in New Issue
Block a user