Creatine Crickets: You VILL get SWOLE (#35708)

* creatine cricket part 1

* creatine cricket meats

* including the creatine cricket file

* Create creatinecricket.dm

* sounds for the creatine bros

* icons for the creatine cricket and cricket king

* creatine cricket meat on the budget meat crate
This commit is contained in:
Eneocho
2024-01-05 06:50:22 -03:00
committed by GitHub
parent dcc5034f9e
commit b4971cb915
8 changed files with 183 additions and 1 deletions

View File

@@ -80,6 +80,7 @@
/obj/item/weapon/reagent_containers/food/snacks/meat/spiderleg, /obj/item/weapon/reagent_containers/food/snacks/meat/spiderleg,
/obj/item/weapon/reagent_containers/food/snacks/spidereggs, /obj/item/weapon/reagent_containers/food/snacks/spidereggs,
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket, /obj/item/weapon/reagent_containers/food/snacks/meat/cricket,
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket/big,
/obj/item/weapon/reagent_containers/food/snacks/meat/roach, /obj/item/weapon/reagent_containers/food/snacks/meat/roach,
/obj/item/weapon/reagent_containers/food/snacks/meat/roach/big /obj/item/weapon/reagent_containers/food/snacks/meat/roach/big
) )

View File

@@ -115,6 +115,26 @@
if(TOXIN, INSECTICIDE) if(TOXIN, INSECTICIDE)
if(method != INGEST) if(method != INGEST)
death(gore = 0) death(gore = 0)
if(CREATINE)
if(prob(50)) //50% chance to become SWOLE
//Unless there are already a lot of creatine crickets
if(animal_count[/mob/living/simple_animal/hostile/retaliate/creatinecricket] >= ANIMAL_CHILD_CAP)
death(gore = 0)
return
visible_message("<span class='danger'>\The [src] is turning SWOLE!</span>")
message_admins("A CRICKET IS GETTING SWOLE AT [formatJumpTo(get_turf(src))]; usr = [key_name(usr)]")
grow_up(/mob/living/simple_animal/hostile/retaliate/creatinecricket)
else if(prob(20)) //After that, 20% chance to die
death(gore = 0)
else if(prob(0.5)) //After that, 0.5% chance to become a cricket king
playsound(src, 'sound/weapons/pan_miss_02.ogg', 100)
visible_message("<span class='userdanger'>\The [src] rapidly evolves, a small exoskeleton crown forming atop its head. It is ascending to peak form in front of your eyes!</span>")
message_admins("A cricket became a cricket king at [formatJumpTo(get_turf(src))]; usr = [key_name(usr)]")
grow_up(/mob/living/simple_animal/hostile/retaliate/creatinecricket/king)
/mob/living/simple_animal/cricket/bite_act(mob/living/carbon/human/H) /mob/living/simple_animal/cricket/bite_act(mob/living/carbon/human/H)
if(size >= H.size) if(size >= H.size)

View File

@@ -0,0 +1,140 @@
/mob/living/simple_animal/hostile/retaliate/creatinecricket
name = "creatine cricket"
desc = "A cricket that got exposed to large quantities of steroids. It is quite tame if not provoked, unlike it's cockroach cousins. Has never skipped leg day, ever."
icon_state = "cricket_creatine"
icon_living = "cricket_creatine"
icon_dead = "cricket_creatine_dead"
response_help = "pets"
response_disarm = "gently pushes aside"
response_harm = "stomps on the"
emote_hear = list("chirps")
emote_sound = list("sound/effects/creatine_cricket_chirp.ogg")
pass_flags = PASSTABLE | PASSGRILLE | PASSMACHINE
speak_chance = 1
treadmill_speed = 2 //Look at those legs man, they ain't skipping leg day that's for sure
move_to_delay = 4
maxHealth = 50 //tweak this if I ever add cricket breeding
health = 50
size = SIZE_SMALL
minbodytemp = 223.15 //Can't survive at below -50 °C
maxbodytemp = INFINITY //You think a nuke can stop us?
min_oxy = 0
max_oxy = 0
min_tox = 0
max_tox = 0
min_co2 = 0
max_co2 = 0
min_n2 = 0
max_n2 = 0
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/cricket/big
melee_damage_lower = 7
melee_damage_upper = 12
attacktext = "kicks"
attack_sound = 'sound/weapons/punch1.ogg'
//to do: make it so the attack animation is a kick or the ayylien or whatever, low priority
faction = "cricket"
var/icon_aggro = "cricket_creatine-angry"
var/wander_icon = "cricket_creatine-hop"
/mob/living/simple_animal/hostile/retaliate/creatinecricket/New()
..()
pixel_x = rand(-5, 5) * PIXEL_MULTIPLIER
pixel_y = rand(-5, 5) * PIXEL_MULTIPLIER
/mob/living/simple_animal/hostile/retaliate/creatinecricket/death(var/gibbed = FALSE)
..(gibbed)
playsound(src, pick('sound/effects/gib1.ogg','sound/effects/gib2.ogg','sound/effects/gib3.ogg'), 40, 1) //Splat
/mob/living/simple_animal/hostile/retaliate/creatinecricket/Aggro()
..()
icon_living = icon_aggro
icon_state = icon_living
spawn(rand(1,14))
playsound(src, 'sound/effects/cricket_hiss.ogg', 50, 1)
/mob/living/simple_animal/hostile/retaliate/creatinecricket/LoseAggro()
..()
icon_living = initial(icon_living)
icon_state = icon_living
/mob/living/simple_animal/hostile/retaliate/creatinecricket/ex_act()
return //we swole enough to tank bombs, but not swole enough to tank nukes, we gotta get STRONGER
/mob/living/simple_animal/hostile/retaliate/creatinecricket/reagent_act(id, method, volume)
if(isDead())
return
.=..()
switch(id)
if(INSECTICIDE)
if(method != INGEST)
death(FALSE)
/mob/living/simple_animal/hostile/retaliate/creatinecricket/wander_move(turf/dest)
icon_state = wander_icon
animate(src, pixel_x = rand(-8,8), time=4, loop=1, easing=ELASTIC_EASING)
..()
spawn(4)
wander_icon = icon_living
/mob/living/simple_animal/hostile/retaliate/creatinecricket/king
name = "cricket king"
real_name = "cricket king"
desc = "The peak of cricket form, recognized by his fellow bugs as the rightful king."
icon_state = "cricket_creatine_king"
icon_living = "cricket_creatine_king"
icon_dead = "cricket_creatine_king_dead"
maxHealth = 150
health = 150
size = SIZE_NORMAL
melee_damage_lower = 10 //don't fuck with this bug
melee_damage_upper = 25
treadmill_speed = 4 //peak form bro
move_to_delay = 2
turns_per_move = 3
icon_aggro = "cricket_creatine_king-angry"
wander_icon = "cricket_creatine_king-hop"
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/cricket/king
/mob/living/simple_animal/hostile/retaliate/creatinecricket/king/New()
..()
name = pick(
"The Undercricket",
"'Macho Crick' Chirping Savage",
"Hulk Crickan",
"Radical Steve",
"'Stone Cold' Crick Austin",
"The King",
"Rey Crickterio",
"Xhong Xina", //I will not apologize
)
real_name = name
if(real_name == "Xhong Xina")
desc = "[desc] Bing Chilling! +10000 social credit!" //I will not apologize
//TO DO: make it so the cricket king can flex and shit to inspire crickets to get swole (essentially breeding more swole crickets at the expense of regular crickets)
//something something it emits SWOLE pheromones that act like creatine

View File

@@ -260,6 +260,26 @@
reagents.add_reagent(FLOUR, rand(4,10)) reagents.add_reagent(FLOUR, rand(4,10))
bitesize = 5 bitesize = 5
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket/big
name = "creatine cricket meat"
desc = "An oddly large slab of cricket meat. Tastes like nuts and protein. Very earthy and chewy."
icon_state = "bigroachmeat"
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket/big/New()
..()
reagents.add_reagent(NUTRIMENT, 5)
reagents.add_reagent(FLOUR, 32)
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket/king
name = "cricket king meat"
desc = "A royal bloodline was felled to make this. Tastes like regicide."
icon_state = "bigroachmeat"
/obj/item/weapon/reagent_containers/food/snacks/meat/cricket/king/New()
..()
reagents.add_reagent(NUTRIMENT, 25)
reagents.add_reagent(FLOUR, 75)
/obj/item/weapon/reagent_containers/food/snacks/meat/mimic /obj/item/weapon/reagent_containers/food/snacks/meat/mimic
name = "mimic meat" name = "mimic meat"
desc = "Woah! You were eating THIS all along?" desc = "Woah! You were eating THIS all along?"
@@ -567,4 +587,4 @@ var/global/list/valid_random_food_types = existing_typesof(/obj/item/weapon/reag
..() ..()
reagents.add_reagent(NUTRIMENT, 12) reagents.add_reagent(NUTRIMENT, 12)
reagents.add_reagent(BICARIDINE, 5) reagents.add_reagent(BICARIDINE, 5)
bitesize = 3 bitesize = 3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 KiB

After

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

Binary file not shown.

View File

@@ -2194,6 +2194,7 @@
#include "code\modules\mob\living\simple_animal\hostile\retaliate\clown.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\clown.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\cluwne.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\cluwne.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\cockatrice.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\cockatrice.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\creatinecricket.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\drone.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\drone.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\faguette.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\faguette.dm"
#include "code\modules\mob\living\simple_animal\hostile\retaliate\mime.dm" #include "code\modules\mob\living\simple_animal\hostile\retaliate\mime.dm"