mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-18 02:22:53 +01:00
VS: Rewrites basically all of how bellies work
And cleans up a ton of stuff.
This commit is contained in:
@@ -12,10 +12,7 @@
|
||||
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
|
||||
forceMove(H.vore_selected)
|
||||
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
||||
return
|
||||
|
||||
@@ -24,10 +21,7 @@
|
||||
if(R.module.type == /obj/item/weapon/robot_module/robot/scrubpup) // You can now feed the trash borg yay.
|
||||
playsound(R.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
user.drop_item()
|
||||
var/belly = R.vore_selected
|
||||
var/datum/belly/selected = R.vore_organs[belly]
|
||||
forceMove(R)
|
||||
selected.internal_contents |= src // Too many hoops and obstacles to stick it into the sleeper module.
|
||||
forceMove(R.vore_selected)
|
||||
R.visible_message("<span class='warning'>[user] feeds [R] with [src]!</span>")
|
||||
return
|
||||
..()
|
||||
@@ -18,13 +18,6 @@
|
||||
src.dump_contents()
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/egg/dump_contents()
|
||||
var/datum/belly/belly = check_belly(src)
|
||||
if(belly)
|
||||
for(var/atom/movable/M in src)
|
||||
belly.internal_contents |= M
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/egg/unathi
|
||||
name = "unathi egg"
|
||||
desc = "Some species of Unathi apparently lay soft-shelled eggs!"
|
||||
|
||||
Reference in New Issue
Block a user