mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MODULAR] converts kiwis and banana spiders into basic mobs. (#17139)
Makes kiwis and banana spiders be basic mobs
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
// Ported from Citadel Station
|
||||
|
||||
/mob/living/basic/banana_spider
|
||||
name = "banana spider"
|
||||
desc = "What the fuck is this abomination?"
|
||||
icon = 'modular_skyrat/master_files/icons/mob/newmobs.dmi'
|
||||
icon_state = "bananaspider"
|
||||
icon_dead = "bananaspider_peel"
|
||||
health = 1
|
||||
maxHealth = 1
|
||||
speed = 2
|
||||
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
|
||||
mob_biotypes = MOB_ORGANIC|MOB_BUG
|
||||
mob_size = MOB_SIZE_TINY
|
||||
density = TRUE
|
||||
verb_say = "chitters"
|
||||
verb_ask = "chitters inquisitively"
|
||||
verb_exclaim = "chitters loudly"
|
||||
verb_yell = "chitters loudly"
|
||||
basic_mob_flags = DEL_ON_DEATH
|
||||
ai_controller = /datum/ai_controller/basic_controller/cockroach/banana_spider
|
||||
|
||||
/mob/living/basic/banana_spider/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/slippery, 40)
|
||||
AddElement(/datum/element/death_drops, list(/obj/item/food/deadbanana_spider))
|
||||
AddElement(/datum/element/basic_body_temp_sensitive, 270, INFINITY)
|
||||
AddComponent(/datum/component/squashable, squash_chance = 50, squash_damage = 1)
|
||||
|
||||
/datum/ai_controller/basic_controller/cockroach/banana_spider
|
||||
idle_behavior = /datum/idle_behavior/idle_random_walk/banana_spider
|
||||
|
||||
/datum/idle_behavior/idle_random_walk/banana_spider
|
||||
walk_chance = 10
|
||||
|
||||
/obj/item/food/deadbanana_spider
|
||||
name = "dead banana spider"
|
||||
desc = "Thank god it's gone...but it does look slippery."
|
||||
icon = 'modular_skyrat/master_files/icons/mob/newmobs.dmi'
|
||||
icon_state = "bananaspider_peel"
|
||||
food_reagents = list(/datum/reagent/consumable/nutriment = 3, /datum/reagent/consumable/nutriment/vitamin = 2)
|
||||
foodtypes = GORE | MEAT | RAW
|
||||
grind_results = list(/datum/reagent/blood = 20, /datum/reagent/liquidgibs = 5)
|
||||
juice_results = list(/datum/reagent/consumable/banana = 10)
|
||||
|
||||
|
||||
/obj/item/food/deadbanana_spider/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/slippery, 20)
|
||||
|
||||
/mob/living/simple_animal/hostile/giant_spider/badnana_spider
|
||||
name = "badnana spider"
|
||||
desc = "WHY WOULD GOD ALLOW THIS?!"
|
||||
icon = 'modular_skyrat/master_files/icons/mob/newmobs.dmi'
|
||||
icon_state = "badnanaspider" // created by Coldstorm on the Skyrat Discord
|
||||
icon_living = "badnanaspider"
|
||||
icon_dead = "badnanaspider_d"
|
||||
maxHealth = 40
|
||||
health = 40
|
||||
melee_damage_lower = 5
|
||||
melee_damage_upper = 5
|
||||
move_to_delay = 4
|
||||
speed = -0.5
|
||||
faction = list("spiders")
|
||||
|
||||
/mob/living/simple_animal/hostile/giant_spider/badnana_spider/AttackingTarget()
|
||||
. = ..()
|
||||
if(iscarbon(target))
|
||||
var/mob/living/carbon/carbon_target = target
|
||||
carbon_target.reagents.add_reagent(/datum/reagent/consumable/laughter, 10)
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/mob/living/basic/kiwi
|
||||
name = "kiwi"
|
||||
desc = "It's a kiwi!"
|
||||
icon = 'modular_skyrat/master_files/icons/mob/newmobs.dmi'
|
||||
icon_state = "kiwi"
|
||||
icon_living = "kiwi"
|
||||
icon_dead = "kiwi_dead"
|
||||
maxHealth = 15
|
||||
health = 15
|
||||
density = FALSE
|
||||
mobility_flags = MOBILITY_FLAGS_REST_CAPABLE_DEFAULT
|
||||
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
|
||||
mob_size = MOB_SIZE_LARGE
|
||||
mob_biotypes = MOB_ORGANIC|MOB_BEAST
|
||||
gold_core_spawnable = FRIENDLY_SPAWN
|
||||
|
||||
response_help_continuous = "pets"
|
||||
response_help_simple = "pet"
|
||||
response_disarm_continuous = "moves aside"
|
||||
response_disarm_simple = "move aside"
|
||||
response_harm_continuous = "smacks"
|
||||
response_harm_simple = "smack"
|
||||
friendly_verb_continuous = "boops"
|
||||
friendly_verb_simple = "boop"
|
||||
verb_say = "cheep"
|
||||
verb_ask = "cheeps inquisitively"
|
||||
verb_exclaim = "cheeps loudly"
|
||||
verb_yell = "screeches"
|
||||
|
||||
ai_controller = /datum/ai_controller/basic_controller/kiwi
|
||||
|
||||
/mob/living/basic/kiwi/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/pet_bonus, "cheeps happily!")
|
||||
|
||||
/datum/ai_controller/basic_controller/kiwi
|
||||
blackboard = list()
|
||||
|
||||
ai_traits = STOP_MOVING_WHEN_PULLED
|
||||
ai_movement = /datum/ai_movement/basic_avoidance
|
||||
idle_behavior = /datum/idle_behavior/idle_random_walk
|
||||
|
||||
planning_subtrees = list(
|
||||
/datum/ai_planning_subtree/random_speech/kiwi,
|
||||
)
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/kiwi
|
||||
speech_chance = 5
|
||||
emote_hear = list("makes a loud cheep.", "cheeps happily.")
|
||||
emote_see = list("runs around.")
|
||||
speak = list("cheep", "cheep cheep!")
|
||||
Reference in New Issue
Block a user