mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-18 03:32:56 +01:00
made lizards, chickens, and chicks carryable
icon credit is github @rootoo807 ref https://github.com/Baystation12/Baystation12/pull/32029
This commit is contained in:
@@ -177,6 +177,16 @@ var/global/list/holder_mob_icon_cache = list()
|
||||
for(var/mob/M in src.contents)
|
||||
M.attackby(W,user)
|
||||
|
||||
/obj/item/holder/chicken
|
||||
origin_tech = list(TECH_BIO = 2)
|
||||
|
||||
/obj/item/holder/chick
|
||||
w_class = ITEMSIZE_TINY
|
||||
origin_tech = list(TECH_BIO = 1)
|
||||
|
||||
/obj/item/holder/lizard
|
||||
w_class = ITEMSIZE_TINY
|
||||
|
||||
//Mob procs and vars for scooping up
|
||||
/mob/living/var/holder_type
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
|
||||
meat_amount = 2
|
||||
meat_type = /obj/item/reagent_containers/food/snacks/meat/chicken
|
||||
|
||||
holder_type = /obj/item/holder/chicken
|
||||
|
||||
var/eggsleft = 0
|
||||
var/body_color
|
||||
|
||||
@@ -131,6 +133,8 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
|
||||
|
||||
var/amount_grown = 0
|
||||
|
||||
holder_type = /obj/item/holder/chick
|
||||
|
||||
/mob/living/simple_mob/animal/passive/chick/Initialize()
|
||||
. = ..()
|
||||
pixel_x = rand(-6, 6)
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
say_list_type = /datum/say_list/lizard
|
||||
|
||||
holder_type = /obj/item/holder/lizard
|
||||
|
||||
/mob/living/simple_mob/animal/passive/lizard/large
|
||||
desc = "A cute, big lizard."
|
||||
maxHealth = 20
|
||||
@@ -32,6 +34,7 @@
|
||||
melee_damage_upper = 15
|
||||
|
||||
attack_sharp = TRUE
|
||||
holder_type = null
|
||||
|
||||
/mob/living/simple_mob/animal/passive/lizard/large/Initialize()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user