Adds snakes to the game. (#21185)

Ports the snake from Baystation over to Aurora.

No snakes have been placed ingame, but they're on the Technomancer
"Summon Creature" list and the Random Animal Crate object has a chance
to spawn a snake crate.

All credit for the snake, snake_m, and snake_dead sprites goes to
Baystation. I modified the original sprite to create the snake_rest
sprite.

---------

Signed-off-by: ASmallCuteCat <neofelisnebulosa128@gmail.com>
Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
This commit is contained in:
ASmallCuteCat
2025-08-22 12:01:48 +00:00
committed by GitHub
co-authored by FlamingLily
parent 1adaa17a28
commit 3225d4558c
7 changed files with 85 additions and 1 deletions
+1
View File
@@ -2867,6 +2867,7 @@
#include "code\modules\mob\living\simple_animal\friendly\ratking.dm"
#include "code\modules\mob\living\simple_animal\friendly\schlorrgo.dm"
#include "code\modules\mob\living\simple_animal\friendly\slime.dm"
#include "code\modules\mob\living\simple_animal\friendly\snake.dm"
#include "code\modules\mob\living\simple_animal\friendly\spiderbot.dm"
#include "code\modules\mob\living\simple_animal\friendly\tomato.dm"
#include "code\modules\mob\living\simple_animal\hostile\adhomai.dm"
@@ -2,7 +2,7 @@
name = "Summon Creature"
desc = "Teleports a specific creature from their current location in the universe to the targeted tile, \
after a delay. The creature summoned can be chosen by using the ability in your hand. \
Available creatures are; mice, crabs, parrots, bats, goats, cats, corgis, spiders, and space carp. \
Available creatures are; mice, crabs, parrots, bats, goats, cats, corgis, snakes, spiders, and space carp. \
The creatures take a few moments to be teleported to the targeted tile. Note that the creatures summoned are \
not inherently loyal to the technomancer, and that the creatures will be hurt slightly from being teleported to you."
enhancement_desc = "Summoned entities will never harm their summoner."
@@ -27,6 +27,7 @@
"Cat" = /mob/living/simple_animal/cat,
"Corgi" = /mob/living/simple_animal/corgi,
"Corgi Pup" = /mob/living/simple_animal/corgi/puppy,
"Snake" = /mob/living/simple_animal/snake,
"BAT" = /mob/living/simple_animal/hostile/scarybat,
"GREIMORIAN" = /mob/living/simple_animal/hostile/giant_spider,
"GREIMORIAN HUNTER" = /mob/living/simple_animal/hostile/giant_spider/hunter,
+1
View File
@@ -249,6 +249,7 @@
/obj/structure/largecrate/animal/corgi = 3,
/obj/structure/largecrate/animal/cow = 4,
/obj/structure/largecrate/animal/goat = 3,
/obj/structure/largecrate/animal/snake = 3,
/obj/structure/largecrate/animal/cat = 2,
/obj/structure/largecrate/animal/chick = 4,
/obj/structure/largecrate/animal/adhomai = 0.5,
@@ -63,6 +63,10 @@
name = "cat carrier"
held_type = /mob/living/simple_animal/cat
/obj/structure/largecrate/animal/snake
name = "snake crate"
held_type = /mob/living/simple_animal/snake
/obj/structure/largecrate/animal/cat/bones
held_type = /mob/living/simple_animal/cat/fluff/bones
@@ -0,0 +1,18 @@
/mob/living/simple_animal/snake
name = "snake"
desc = "A slithering serpent."
icon_state = "snake"
icon_living = "snake"
icon_dead = "snake_dead"
icon_rest = "snake_rest"
speak_emote = list("hisses")
emote_see = list("flicks out its tongue", "looks around")
health = 15
maxHealth = 15
organ_names = list("head", "body")
response_help = "pets"
response_disarm = "boops"
response_harm = "stomps on"
mob_size = MOB_SMALL
canbrush = TRUE
brush = /obj/item/reagent_containers/glass/rag
@@ -0,0 +1,59 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
# - (removes an image or sprite)
# spellcheck
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# balance
# - (balance changes)
# code_imp
# - (misc internal code change)
# refactor
# - (refactors code)
# config
# - (makes a change to the config files)
# admin
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
#################################
# Your name.
author: ASmallCuteCat
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Adds snakes to the game"
- imageadd: "Ports the snake sprites over from Baystation."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 211 KiB