Code improvement for ventcrawling defines (#23514)

* code improvement

* oops

* bad comment gone
This commit is contained in:
Contrabang
2023-12-16 16:13:58 +00:00
committed by GitHub
parent 4a86906541
commit 87d8da7b1e
23 changed files with 27 additions and 27 deletions
@@ -20,7 +20,7 @@
var/loudspeaker = FALSE
var/heat_protection = 0.5
var/leaping = FALSE
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
var/death_message = "lets out a waning guttural screech, green blood bubbling from its maw..."
var/death_sound = 'sound/voice/hiss6.ogg'
@@ -9,7 +9,7 @@
mob_size = MOB_SIZE_LARGE
bubble_icon = "alienroyal"
large = 1
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
move_resist = MOVE_FORCE_STRONG //Yes, big benos is huge and heavy
alien_disarm_damage = 60 //Empress do higher disarm stamina damage than normal aliens
alien_slash_damage = 30 //Empress do higher slashing damage to people
@@ -8,7 +8,7 @@
loudspeaker = TRUE
heal_rate = 5
large = 1
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
pressure_resistance = 200 //Because big, stompy xenos should not be blown around like paper.
move_resist = MOVE_FORCE_STRONG //Yes, queenos is huge and heavy
alien_disarm_damage = 60 //Queens do higher disarm stamina damage than normal aliens
+1 -1
View File
@@ -42,7 +42,7 @@
var/mob_biotypes = MOB_ORGANIC
var/metabolism_efficiency = 1 //more or less efficiency to metabolize helpful/harmful reagents and regulate body temperature..
var/ventcrawler = 0 //0 No vent crawling, 1 vent crawling in the nude, 2 vent crawling always
var/ventcrawler = VENTCRAWLER_NONE
var/list/icon/pipes_shown = list()
var/last_played_vent
@@ -16,7 +16,7 @@
response_harm = "stomps"
stop_automated_movement = TRUE
friendly = "pinches"
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
can_hide = TRUE
can_collar = TRUE
gold_core_spawnable = FRIENDLY_SPAWN
@@ -16,7 +16,7 @@
pass_flags = PASSTABLE | PASSMOB
mob_biotypes = MOB_ORGANIC | MOB_PLANT
mob_size = MOB_SIZE_SMALL
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
minbodytemp = 0
@@ -209,7 +209,7 @@
attacktext = "kicks"
health = 3
maxHealth = 3
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
var/amount_grown = 0
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
mob_size = MOB_SIZE_TINY
@@ -264,7 +264,7 @@ GLOBAL_VAR_INIT(chicken_count, 0)
attacktext = "kicks"
health = 15
maxHealth = 15
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
var/eggsleft = 0
var/eggsFertile = TRUE
var/body_color
@@ -21,7 +21,7 @@
response_disarm = "gently pushes aside"
response_harm = "stamps on"
density = FALSE
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
mob_biotypes = MOB_ORGANIC | MOB_BEAST
mob_size = MOB_SIZE_TINY
@@ -30,7 +30,7 @@
maxbodytemp = 500
can_hide = TRUE
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
loot = list(/obj/effect/decal/cleanable/blood/gibs/robot)
del_on_death = TRUE
@@ -29,7 +29,7 @@
see_in_dark = 8
mob_size = MOB_SIZE_LARGE
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
gold_core_spawnable = NO_SPAWN
@@ -22,7 +22,7 @@
speak_emote = list("squeaks")
pass_flags = PASSTABLE | PASSMOB
density = FALSE
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
a_intent = INTENT_HARM
speed = 0.3
can_hide = TRUE
@@ -113,7 +113,7 @@
if(!ishuman(owner))
owner.gib()
return
owner.apply_damage(300, BRUTE, BODY_ZONE_CHEST)
owner.bleed(BLOOD_VOLUME_NORMAL)
var/obj/item/organ/external/chest = owner.get_organ(BODY_ZONE_CHEST)
@@ -18,7 +18,7 @@
melee_damage_upper = 12
attacktext = "slams"
attack_sound = 'sound/weapons/punch1.ogg'
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
faction = list("plants", "jungle")
atmos_requirements = list("min_oxy" = 5, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
@@ -25,7 +25,7 @@
stat_attack = DEAD
mouse_opacity = MOUSE_OPACITY_ICON
speed = 1
ventcrawler = 2
ventcrawler = VENTCRAWLER_ALWAYS
robust_searching = TRUE
speak_emote = list("squeaks")
deathmessage = "fainted"
@@ -20,7 +20,7 @@
health = 1000
melee_damage_lower = 30
melee_damage_upper = 60
ventcrawler = 1
ventcrawler = VENTCRAWLER_NUDE
idle_ventcrawl_chance = 0
ai_playercontrol_allowtype = 0
canlay = 1000
@@ -27,7 +27,7 @@
speed = 0.5
melee_damage_lower = 30
melee_damage_upper = 40
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
ai_ventcrawls = FALSE
environment_smash = ENVIRONMENT_SMASH_RWALLS
idle_ventcrawl_chance = 0
@@ -28,7 +28,7 @@
move_to_delay = 5 // at 20ticks/sec, this is 4 tile/sec movespeed, same as a human. Faster than a normal spider, so it can intercept attacks on queen.
speed = 0 // '0' (also the default for human mobs) converts to 2.5 total delay, or 4 tiles/sec.
spider_opens_doors = 2
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
ai_ventcrawls = FALSE
environment_smash = ENVIRONMENT_SMASH_RWALLS
idle_ventcrawl_chance = 0 // stick to the queen!
@@ -26,7 +26,7 @@
regen_points_per_tick = 3
melee_damage_lower = 10
melee_damage_upper = 20
ventcrawler = 1
ventcrawler = VENTCRAWLER_NUDE
ai_break_lights = FALSE
ai_spins_webs = FALSE
ai_ventcrawls = FALSE
@@ -236,7 +236,7 @@
queensense_action.Grant(src)
queennest_action.Remove(src)
hasnested = TRUE
ventcrawler = 0
ventcrawler = VENTCRAWLER_NONE
ai_ventcrawls = FALSE
environment_smash = ENVIRONMENT_SMASH_RWALLS
DoQueenScreech(8, 100, 8, 100)
@@ -54,7 +54,7 @@ GLOBAL_LIST_EMPTY(ts_infected_list)
// '2' converts to 4.5, or 2.2 tiles/sec.
// Ventcrawling
ventcrawler = 1 // allows player ventcrawling
ventcrawler = VENTCRAWLER_NUDE // allows player ventcrawling
var/ai_ventcrawls = TRUE
var/idle_ventcrawl_chance = 15
var/freq_ventcrawl_combat = 1800 // 3 minutes