ports mind transfer pref from chomp (#16225)

* ports mind transfer pref from chomp

* don't push that

* .
This commit is contained in:
Kashargul
2024-08-31 05:29:49 +10:00
committed by GitHub
parent 753e398fe4
commit 10637da2f4
44 changed files with 118 additions and 7 deletions
+2
View File
@@ -41,6 +41,8 @@
var/frustration = 0
var/max_frustration = 0
allow_mind_transfer = TRUE
/mob/living/bot/New()
..()
//update_icons() //VOREstation edit: moved to Init
@@ -60,6 +60,8 @@
var/picked_color = FALSE
allow_mind_transfer = TRUE
can_enter_vent_with = list(
/obj/item/weapon/implant,
/obj/item/device/radio/borg,
@@ -117,6 +117,8 @@
/obj/item/stack/material/chitin = 1\
)
allow_mind_transfer = TRUE
/mob/living/simple_mob/animal/giant_spider/apply_melee_effects(var/atom/A)
if(isliving(A))
var/mob/living/L = A
@@ -2,4 +2,5 @@
// They can also be displaced by all mobs.
/mob/living/simple_mob/animal/passive
ai_holder_type = /datum/ai_holder/simple_mob/passive
mob_bump_flag = 0
mob_bump_flag = 0
allow_mind_transfer = TRUE
@@ -3,6 +3,7 @@
minbodytemp = 175
cold_resist = 0.75
heat_resist = -0.5
allow_mind_transfer = TRUE
tame_items = list(
/obj/item/weapon/reagent_containers/food/snacks/crabmeat = 20,
@@ -27,6 +27,8 @@
say_list_type = /datum/say_list/bear
allow_mind_transfer = TRUE
/datum/say_list/bear
speak = list("RAWR!","Rawr!","GRR!","Growl!")
emote_see = list("stares ferociously", "stomps")
@@ -52,6 +52,8 @@
var/do_seasons = TRUE
var/picked_color = FALSE
allow_mind_transfer = TRUE
/////////////////////////////////////// Vore stuff///////////////////////////////////////////
swallowTime = 4 SECONDS
@@ -24,6 +24,8 @@
faction = "vampire"
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/bat
vore_active = 1
@@ -55,4 +57,3 @@
B.escapechance = 15
B.selective_preference = DM_DRAIN
B.escape_stun = 5
@@ -44,6 +44,8 @@
var/poison_chance = 10 // Chance for injection to occur.
var/poison_per_bite = 1 // Amount added per injection.
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/bee/Process_Spacemove(var/check_drift = 0)
return 1 //No drifting in space for space bee!
@@ -73,6 +73,8 @@
loot_list = list(/obj/item/borg/upgrade/basic/syndicate = 6, /obj/item/borg/upgrade/basic/vtec = 6, /obj/item/weapon/material/knife/ritual = 6, /obj/item/weapon/disk/nifsoft/compliance = 6)
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/aggressive/corrupthound/prettyboi
name = "corrupt corrupt hound"
desc = "Bad boy machine broke as well. Seems an attempt was made to achieve a less threatening look, and this one is definitely having some conflicting feelings about it."
@@ -59,6 +59,8 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee/deathclaw
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/aggressive/deathclaw
vore_active = 1
@@ -39,6 +39,8 @@
max_n2 = 0
minbodytemp = 0
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/aggressive/dino
vore_active = 1
@@ -194,6 +194,10 @@
to_chat(prey, "<span class='warning'>You cannot do that in your current state.</span>")
return
if(!pred.allow_mind_transfer)
to_chat(prey, "<span class='warning'>[pred] is unable to be dominated.</span>")
return
if(!pred.ckey)
to_chat(prey, "<span class='notice'>\The [pred] isn't able to be dominated.</span>")
return
@@ -316,7 +320,7 @@
var/list/possible_mobs = list()
for(var/obj/belly/B in src.vore_organs)
for(var/mob/living/L in B)
if(isliving(L) && L.ckey)
if(isliving(L) && L.ckey && L.allow_mind_transfer)
possible_mobs |= L
else
continue
@@ -327,6 +331,9 @@
if(!input)
return
var/mob/living/M = input
if(!M.allow_mind_transfer) //check if the dominated mob pref is enabled
to_chat(src, "<span class='warning'>[M] is unable to be dominated.</span>")
return
if(tgui_alert(src, "You selected [M] to attempt to dominate. Are you sure?", "Dominate Prey",list("No","Yes")) != "Yes")
return
log_admin("[key_name_admin(src)] offered to use dominate prey on [M] ([M.ckey]).")
@@ -52,6 +52,8 @@
say_list_type = /datum/say_list/fennec
ai_holder_type = /datum/ai_holder/simple_mob/passive
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/fennec
vore_active = 1
@@ -27,6 +27,8 @@
say_list_type = /datum/say_list/fennix
ai_holder_type = /datum/ai_holder/simple_mob/retaliate/cooperative
allow_mind_transfer = TRUE
/datum/say_list/fennix
speak = list("SQUEL!","SQEL?","Skree.")
emote_hear = list("Screeeeecheeeeessss!","Chirrup.")
@@ -44,6 +44,8 @@
special_attack_max_range = 5
special_attack_cooldown = 100
allow_mind_transfer = TRUE
// Pepe is love, not hate.
/mob/living/simple_mob/vore/aggressive/frog/New()
if(rand(1,1000000) == 1)
@@ -35,6 +35,8 @@
say_list_type = /datum/say_list/horse
ai_holder_type = /datum/ai_holder/simple_mob/retaliate
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/horse/big
name = "horse"
icon_state = "horse"
@@ -194,4 +196,4 @@
holder.set_dir(moving_to)
holder.IMove(get_step(holder,moving_to))
wander_delay = base_wander_delay
ai_log("handle_wander_movement() : Exited.", AI_LOG_TRACE)
ai_log("handle_wander_movement() : Exited.", AI_LOG_TRACE)
@@ -27,6 +27,8 @@
max_n2 = 0
minbodytemp = 0
allow_mind_transfer = TRUE
// Activate Noms!
vore_active = 1
vore_pounce_chance = 0
@@ -47,6 +47,8 @@
var/tamed = 0
var/tame_chance = 50 //It's a fiddy-fiddy default you may get a buddy pal or you may get mauled and ate. Win-win!
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/otie
@@ -58,6 +58,8 @@
maxHealth = 100
health = 100
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/pakkun/Life()
. = ..()
if(client)
@@ -42,6 +42,8 @@
say_list_type = /datum/say_list/panther
ai_holder_type = /datum/ai_holder/simple_mob/melee/evasive
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/aggressive/panther
vore_active = 1
@@ -43,6 +43,8 @@
vore_default_mode = DM_HOLD
vore_icons = SA_ICON_LIVING
allow_mind_transfer = TRUE
var/body_color //brown, black and white, leave blank for random
var/grumpiness = 0 // This determines how grumpy we are. Pet us to increase it, leave us alone to decrease.
@@ -48,6 +48,8 @@
"raptorwhite"
)
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/raptor
vore_bump_chance = 25
@@ -70,6 +70,8 @@
say_list_type = /datum/say_list/rat
ai_holder_type = /datum/ai_holder/simple_mob/melee/rat
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/aggressive/rat/init_vore()
..()
var/obj/belly/B = vore_selected
@@ -28,6 +28,8 @@
say_list_type = /datum/say_list/redpanda
ai_holder_type = /datum/ai_holder/simple_mob/passive
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/redpanda
vore_active = 1
@@ -56,6 +56,8 @@
"scel_green"
)
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/scel/New()
..()
if(random_skin)
@@ -84,6 +84,8 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee
say_list_type = /datum/say_list/sect_drone
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/sect_drone/Login()
. = ..()
verbs |= /mob/living/simple_mob/vore/sect_drone/proc/set_abdomen_color
@@ -85,6 +85,8 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee
say_list_type = /datum/say_list/sect_queen
allow_mind_transfer = TRUE
/mob/living/simple_mob/vore/sect_queen/Login()
. = ..()
verbs |= /mob/living/simple_mob/vore/sect_queen/proc/set_abdomen_color
@@ -54,6 +54,8 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/aggressive/giant_snake
vore_active = 1
@@ -51,6 +51,7 @@ List of things solar grubs should be able to do:
var/shock_chance = 10 // Beware
var/tracked = FALSE
allow_mind_transfer = TRUE
glow_override = TRUE
/datum/say_list/solargrub
@@ -46,6 +46,7 @@
show_vore_fx = client.prefs_vr.show_vore_fx
step_mechanics_pref = client.prefs_vr.step_mechanics_pref
pickup_pref = client.prefs_vr.pickup_pref
allow_mind_transfer = client.prefs_vr.allow_mind_transfer
/mob/living/simple_mob/proc/set_name()
set name = "Set Name"
@@ -31,6 +31,8 @@
has_hands = 1
allow_mind_transfer = TRUE
// Nomnomn
/mob/living/simple_mob/vore/weretiger
vore_active = 1
@@ -33,6 +33,8 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee/evasive
catalogue_data = list(/datum/category_item/catalogue/fauna/wolf)
allow_mind_transfer = TRUE
// Activate Noms!
/mob/living/simple_mob/vore/wolf
vore_active = 1
@@ -28,7 +28,7 @@
maxHealth = 150
health = 150
see_in_dark = 10
//Something something, phoron mutation.
min_oxy = 0
max_oxy = 0
@@ -64,5 +64,7 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee
say_list_type = /datum/say_list/xeno_defanged
allow_mind_transfer = TRUE
/datum/say_list/xeno_defanged
say_got_target = list("hisses angrily!")
say_got_target = list("hisses angrily!")