One day it'll work and everything will be great

This commit is contained in:
Fermi
2019-04-28 03:42:10 +01:00
parent f8495ae96a
commit ab317d95aa
4 changed files with 87 additions and 68 deletions
@@ -38,38 +38,45 @@
id = "BElarger"
var/list/items = list()
/datum/status_effect/chem/BElarger/on_apply(mob/living/carbon/M)
/datum/status_effect/chem/BElarger/on_apply(mob/living/carbon/M)//Removes clothes, they're too small to contain you. You belong to space now.
var/mob/living/carbon/human/H = M
if(H.w_uniform || H.wear_suit)
playsound(M.loc, 'sound/items/poster_ripped.ogg', 50, 1)
items |= M.get_equipped_items(TRUE)
M.visible_message("<span class='boldnotice'>[M]'s chest suddenly bursts forth, ripping their clothes off!'</span>")
to_chat(M, "<span class='warning'>Your clothes give, ripping into peices under the strain of your swelling breasts! Unless you manage to reduce the size of your breasts, there's no way you're going to be able to put anything on over these melons..!</b></span>")
M.dropItemToGround(H.wear_suit)
M.dropItemToGround(H.w_uniform)
for(var/obj/item/W in H)
if(W == H.w_uniform || W == H.wear_suit)
H.dropItemToGround(W)
playsound(owner.loc, 'sound/items/poster_ripped.ogg', 50, 1)
//items |= owner.get_equipped_items(TRUE)
owner.visible_message("<span class='boldnotice'>[M]'s chest suddenly bursts forth, ripping their clothes off!'</span>")
to_chat(owner, "<span class='warning'>Your clothes give, ripping into peices under the strain of your swelling breasts! Unless you manage to reduce the size of your breasts, there's no way you're going to be able to put anything on over these melons..!</b></span>")
//owner.dropItemToGround(owner.wear_suit)
//owner.dropItemToGround(owner.w_uniform)
/datum/status_effect/chem/BElarger/tick(mob/living/carbon/M)
/datum/status_effect/chem/BElarger/tick(mob/living/carbon/M)//If you try to wear clothes, you fail. Slows you down if you're comically huge
var/obj/item/organ/genital/breasts/B = M.getorganslot("breasts")
var/mob/living/carbon/human/H = M
if(H.w_uniform || H.wear_suit)
items |= M.get_equipped_items(TRUE)
to_chat(M, "<span class='warning'>Your enormous breasts are way to large to fit anything over!</b></span>")
M.dropItemToGround(H.wear_suit)
M.dropItemToGround(H.w_uniform)
message_admins("M: [M]")
message_admins("H: [H]")
message_admins("owner: [owner]")
for(var/obj/item/W in H)
if(W == H.w_uniform || W == H.wear_suit)
H.dropItemToGround(W)
//items |= owner.get_equipped_items(TRUE)
to_chat(owner, "<span class='warning'>Your enormous breasts are way to large to fit anything over!</b></span>")
//owner.dropItemToGround(owner.wear_suit)
//owner.dropItemToGround(owner.w_uniform)
switch(round(B.cached_size))
if(9)
if (!(B.breast_sizes[B.prev_size] == B.size))
M.remove_movespeed_modifier("megamilk")
M.next_move_modifier = 1
owner.remove_movespeed_modifier("megamilk")
owner.next_move_modifier = 1
if(10 to INFINITY)
if (!(B.breast_sizes[B.prev_size] == B.size))
to_chat(M, "<span class='warning'>Your indulgent busom is so substantial, it's affecting your movements!</b></span>")
M.add_movespeed_modifier("megamilk", TRUE, 100, NONE, override = TRUE, multiplicative_slowdown = (round(B.cached_size) - 8))
M.next_move_modifier = (round(B.cached_size) - 8)
owner.add_movespeed_modifier("megamilk", TRUE, 100, NONE, override = TRUE, multiplicative_slowdown = (round(B.cached_size) - 8))
owner.next_move_modifier = (round(B.cached_size) - 8)
/datum/status_effect/chem/BElarger/on_remove(mob/living/carbon/M)
M.remove_movespeed_modifier("megamilk")
M.next_move_modifier = 1
owner.remove_movespeed_modifier("megamilk")
owner.next_move_modifier = 1
/datum/status_effect/chem/PElarger
id = "PElarger"
@@ -78,21 +85,25 @@
/datum/status_effect/chem/PElarger/on_apply(mob/living/carbon/M)
var/mob/living/carbon/human/H = M
if(H.w_uniform || H.wear_suit)
for(var/obj/item/W in H)
if(W == H.w_uniform || W == H.wear_suit)
H.dropItemToGround(W)
playsound(M.loc, 'sound/items/poster_ripped.ogg', 50, 1)
//items |= M.get_equipped_items(TRUE)
M.visible_message("<span class='boldnotice'>[M]'s penis suddenly bursts forth, ripping their clothes off!'</span>")
owner.visible_message("<span class='boldnotice'>[M]'s penis suddenly bursts forth, ripping their clothes off!'</span>")
to_chat(M, "<span class='warning'>Your clothes give, ripping into peices under the strain of your swelling penis! Unless you manage to reduce the size of your emancipated trouser snake, there's no way you're going to be able to put anything on over this girth..!</b></span>")
M.dropItemToGround(H.wear_suit)
M.dropItemToGround(H.w_uniform)
//owner.dropItemToGround(owner.wear_suit)
//owner.dropItemToGround(owner.w_uniform)
/datum/status_effect/chem/PElarger/tick(mob/living/carbon/M)
var/mob/living/carbon/human/H = M
if(H.w_uniform || H.wear_suit)
for(var/obj/item/W in H)
if(W == H.w_uniform || W == H.wear_suit)
H.dropItemToGround(W)
//items |= M.get_equipped_items(TRUE)
to_chat(M, "<span class='warning'>Your enormous package is way to large to fit anything over!</b></span>")
M.dropItemToGround(H.wear_suit)
M.dropItemToGround(H.w_uniform)
to_chat(owner, "<span class='warning'>Your enormous package is way to large to fit anything over!</b></span>")
//owner.dropItemToGround(owner.wear_suit)
//owner.dropItemToGround(owner.w_uniform)
/*Doesn't work