forked from shiptest-ss13/Shiptest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
retlaw34
committed
Jun 10, 2022
1 parent
c34e23f
commit 0b5c90b
Showing
13 changed files
with
96 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
code/modules/mob/living/simple_animal/friendly/beachcarp.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/mob/living/simple_animal/beachcarp //im unsure if this is a good idea, ask mark or tmt | ||
name = "carp" | ||
desc = "A passive, fang-bearing creature that resembles a fish." | ||
icon = 'icons/mob/fish.dmi' | ||
icon_state = "base" | ||
icon_living = "base" | ||
icon_dead = "base_dead" | ||
icon_gib = "carp_gib" | ||
speak_emote = list("glubs") | ||
emote_hear = list("glubs.") | ||
emote_see = list("glubs.") | ||
speak_chance = 1 | ||
faction = list("beach") | ||
turns_per_move = 5 | ||
butcher_results = list(/obj/item/reagent_containers/food/snacks/carpmeat = 2) | ||
response_help_continuous = "pets" | ||
response_help_simple = "pet" | ||
response_disarm_continuous = "gently pushes aside" | ||
response_disarm_simple = "gently push aside" | ||
response_harm_continuous = "punches" | ||
response_harm_simple = "punch" | ||
stop_automated_movement = 1 | ||
friendly_verb_continuous = "nibbles" | ||
friendly_verb_simple = "nibble" | ||
turns_per_move = 2 | ||
|
||
|
||
/mob/living/simple_animal/beachcarp/Life() | ||
..() | ||
//CARP movement | ||
if(!ckey && !stat) | ||
if(isturf(loc) && !resting && !buckled) //This is so it only moves if it's not inside a closet, gentics machine, etc. | ||
turns_since_move++ | ||
if(turns_since_move >= turns_per_move) | ||
var/east_vs_west = pick(4,8) | ||
if(Process_Spacemove(east_vs_west)) | ||
var/turf/step = get_step(src,east_vs_west) | ||
if (istype(step, /turf/open/water)) //Only allow fish to move onto water tiles | ||
Move(step, east_vs_west) | ||
turns_since_move = 0 | ||
regenerate_icons() | ||
|
||
/mob/living/simple_animal/beachcarp/bass | ||
name = "bass" | ||
desc = "A largemouthed green bass." | ||
icon_state = "bass-swim" | ||
icon_dead = "bass-dead" | ||
|
||
/mob/living/simple_animal/beachcarp/trout | ||
name = "trout" | ||
desc = "A wild steelhead trout." | ||
icon_state = "trout-swim" | ||
icon_dead = "trout-dead" | ||
|
||
/mob/living/simple_animal/beachcarp/salmon | ||
name = "salmon" | ||
desc = "A large blue salmon." | ||
icon_state = "salmon-swim" | ||
icon_dead = "salmon-dead" | ||
|
||
/mob/living/simple_animal/beachcarp/perch | ||
name = "perch" | ||
desc = "A small yellow perch." | ||
icon_state = "perch-swim" | ||
icon_dead = "perch-dead" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.