diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm index 16253f4b7f..3aa9f3691d 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm @@ -53,7 +53,7 @@ has_langs = list("Sign Language") - var/picked_color = FALSE + //var/picked_color = FALSE //CHOMPEdit - now on simplemob. can_enter_vent_with = list( /obj/item/weapon/implant, diff --git a/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/greatwolf.dm b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/greatwolf.dm new file mode 100644 index 0000000000..4da8b071bd --- /dev/null +++ b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/greatwolf.dm @@ -0,0 +1,3 @@ +/mob/living/simple_mob/vore/greatwolf/Initialize() + . = ..() + verbs += /mob/living/simple_mob/proc/pick_color \ No newline at end of file diff --git a/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/vore.dm b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/vore.dm new file mode 100644 index 0000000000..1221a16ab2 --- /dev/null +++ b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/vore.dm @@ -0,0 +1,40 @@ +/mob/living/simple_mob + var/picked_color = FALSE + var/picked_size = FALSE + +/mob/living/simple_mob/Login() + . = ..() + verbs |= /mob/living/simple_mob/proc/pick_size + +/mob/living/simple_mob/proc/pick_size() + set name = "Pick Size" + set category = "Abilities" + + if(picked_size) + to_chat(src, "You have already picked a size! If you picked the wrong size, ask an admin to change your picked_size variable to 0.") + return + if(!resizable) + to_chat(src, "You are immune to resizing!") + return + + var/nagmessage = "Pick a size between 25 to 200%. (Only usable once!)" + var/new_size = input(nagmessage, "Pick a Size") as num|null + if(size_range_check(new_size)) + resize(new_size/100, uncapped = has_large_resize_bounds(), ignore_prefs = TRUE) + picked_size = TRUE + if(temporary_form) //resizing both our forms + var/mob/living/L = temporary_form + L.resize(new_size/100, uncapped = has_large_resize_bounds(), ignore_prefs = TRUE) + +/mob/living/simple_mob/proc/pick_color() + set name = "Pick Color" + set category = "Abilities" + set desc = "You can set your color!" + if(picked_color) + to_chat(src, "You have already picked a color! If you picked the wrong color, ask an admin to change your picked_color variable to 0.") + return + var/newcolor = input(usr, "Choose a color.", "", color) as color|null + if(newcolor) + color = newcolor + picked_color = TRUE + update_icon() \ No newline at end of file diff --git a/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/wolf.dm b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/wolf.dm new file mode 100644 index 0000000000..309076d2a5 --- /dev/null +++ b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/wolf.dm @@ -0,0 +1,3 @@ +/mob/living/simple_mob/animal/wolf/direwolf/Initialize() + . = ..() + verbs += /mob/living/simple_mob/proc/pick_color \ No newline at end of file diff --git a/vorestation.dme b/vorestation.dme index 51e2f8f93f..582ee667d0 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -4492,6 +4492,9 @@ #include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\xenomorph.dm" #include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\xenomorph_abilities.dm" #include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\vore\bigdragon.dm" +#include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\vore\greatwolf.dm" +#include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\vore\vore.dm" +#include "modular_chomp\code\modules\mob\living\simple_mob\subtypes\vore\wolf.dm" #include "modular_chomp\code\modules\power\cells\device_cells.dm" #include "modular_chomp\code\modules\power\cells\esoteric_cells.dm" #include "modular_chomp\code\modules\power\cells\power_cells.dm"