Skip to content

Commit

Permalink
more parrot code cleaning
Browse files Browse the repository at this point in the history
also adds an examine to see what it's holding
  • Loading branch information
san7890 committed Nov 15, 2023
1 parent 6ea5dad commit 804da3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/modules/mob/living/basic/pets/parrot/parrot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ GLOBAL_LIST_INIT(strippable_parrot_items, create_strippable_list(list(

/// The blackboard key we use to store the string we're repeating
var/speech_blackboard_key = BB_PARROT_REPEAT_STRING
/// The generic probability odds we have to do a speech-related action // FIXME might need to tone this down
/// The generic probability odds we have to do a speech-related action
var/speech_probability_rate = 5
/// The generic probability odds we have to switch out our speech string
var/speech_shuffle_rate = 30

//Parrots will generally sit on their perch unless something catches their eye.
/// Contains all of the perches that parrots will generally sit on until something catches their eye.
var/static/list/desired_perches = typecacheof(list(
/obj/machinery/computer,
/obj/machinery/dna_scannernew,
Expand Down Expand Up @@ -128,6 +128,8 @@ GLOBAL_LIST_INIT(strippable_parrot_items, create_strippable_list(list(

/mob/living/basic/parrot/examine(mob/user)
. = ..()
. += "It appears to [isnull(held_item) ? "not be holding anything." : "be holding \a [held_item]."]"

if(stat != DEAD)
return

Expand Down

0 comments on commit 804da3c

Please sign in to comment.