Convert some bools to TRUE/FALSE instead of 1/0. (#11100)

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
MarinaGryphon
2021-07-16 13:43:25 -04:00
committed by GitHub
co-authored by Aronai Sieyes
parent 9ce7af6ca1
commit 577b986ba6
523 changed files with 1301 additions and 1301 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/mob/observer
name = "observer"
desc = "This shouldn't appear"
density = 0
density = FALSE
vis_flags = NONE
/mob/observer/dead
@@ -12,7 +12,7 @@
stat = DEAD
canmove = 0
blinded = 0
anchored = 1 // don't get pushed around
anchored = TRUE // don't get pushed around
var/can_reenter_corpse
var/datum/hud/living/carbon/hud = null // hud
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A security robot. He looks less than thrilled."
icon = 'icons/obj/aibots.dmi'
icon_state = "sled2090"
density = 1
density = TRUE
health = 200
maxHealth = 200
+1 -1
View File
@@ -5,7 +5,7 @@
icon = 'icons/obj/aibots.dmi'
layer = MOB_LAYER
universal_speak = 1
density = 0
density = FALSE
makes_dirt = FALSE // No more dirt from Beepsky
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A security robot. He looks less than thrilled."
icon = 'icons/obj/aibots.dmi'
icon_state = "ed2090"
density = 1
density = TRUE
health = 200
maxHealth = 200
+2 -2
View File
@@ -11,8 +11,8 @@
name = "Mulebot"
desc = "A Multiple Utility Load Effector bot."
icon_state = "mulebot0"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
health = 150
maxHealth = 150
mob_bump_flag = HEAVY
+1 -1
View File
@@ -13,7 +13,7 @@
patrol_speed = 2
target_speed = 3
density = 1
density = TRUE
var/default_icon_state = "secbot"
var/idcheck = FALSE // If true, arrests for having weapons without authorization.
@@ -3,8 +3,8 @@
attack_verb = list("bit", "chomped on")
attack_sound = 'sound/weapons/bite.ogg'
shredding = 0
sharp = 1
edge = 1
sharp = TRUE
edge = TRUE
/datum/unarmed_attack/diona
attack_name = "tendrils"
@@ -21,8 +21,8 @@
eye_attack_text_victim = "sharp claws"
attack_sound = 'sound/weapons/slice.ogg'
miss_sound = 'sound/weapons/slashmiss.ogg'
sharp = 1
edge = 1
sharp = TRUE
edge = TRUE
/datum/unarmed_attack/claws/show_attack(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
var/skill = user.skills["combat"]
@@ -3,8 +3,8 @@
attack_noun = list("fangs")
attack_sound = 'sound/weapons/bite.ogg'
shredding = 0
sharp = 1
edge = 1
sharp = TRUE
edge = TRUE
/datum/unarmed_attack/bite/sharp/numbing/show_attack(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
var/obj/item/organ/external/affecting = target.get_organ(zone)
@@ -4,8 +4,8 @@
name = "weaversilk web"
desc = "A thin layer of fiberous webs. It looks like it can be torn down with one strong hit."
icon = 'icons/vore/weaver_icons_vr.dmi'
anchored = 1
density = 0
anchored = TRUE
density = FALSE
/obj/effect/weaversilk/ex_act(severity)
qdel(src)
@@ -50,7 +50,7 @@
desc = "A thin layer of fiberous webs, but just thick enough to block your way. It looks like it can be torn down with one strong hit."
icon_state = "wallweb1"
var/possible_icon_states = list("wallweb1", "wallweb2", "wallweb3")
density = 1
density = TRUE
/obj/effect/weaversilk/wall/Initialize()
..()
@@ -9,8 +9,8 @@ var/global/list/sparring_attack_cache = list()
var/attack_sound = "punch"
var/miss_sound = 'sound/weapons/punchmiss.ogg'
var/shredding = 0 // Calls the old attack_alien() behavior on objects/mobs when on harm intent.
var/sharp = 0
var/edge = 0
var/sharp = FALSE
var/edge = FALSE
var/damage_type = BRUTE
var/sparring_variant_type = /datum/unarmed_attack/light_strike
@@ -115,8 +115,8 @@ var/global/list/sparring_attack_cache = list()
attack_sound = 'sound/weapons/bite.ogg'
shredding = 0
damage = 0
sharp = 0
edge = 0
sharp = FALSE
edge = FALSE
/datum/unarmed_attack/bite/event1
@@ -281,5 +281,5 @@ var/global/list/sparring_attack_cache = list()
damage_type = AGONY
shredding = 0
damage = 0
sharp = 0
edge = 0
sharp = FALSE
edge = FALSE
@@ -256,12 +256,12 @@
qdel(src)*/
*/
/obj/effect/golemrune
anchored = 1
anchored = TRUE
desc = "a strange rune used to create golems. It glows when spirits are nearby."
name = "rune"
icon = 'icons/obj/rune.dmi'
icon_state = "golem"
unacidable = 1
unacidable = TRUE
layer = TURF_LAYER
New()
@@ -32,7 +32,7 @@
Victim = M
loc = M.loc
canmove = 0
anchored = 1
anchored = TRUE
regenerate_icons()
@@ -81,7 +81,7 @@
break
canmove = 1
anchored = 0
anchored = FALSE
if(M && invalidFeedTarget(M)) // This means that the slime drained the victim
if(!client)
+3 -3
View File
@@ -833,21 +833,21 @@
if(!V.riding_datum) // If it has a riding datum, the datum handles moving the pixel_ vars.
pixel_y = V.mob_offset_y
else if(buckled)
anchored = 1
anchored = TRUE
canmove = 1 //The line above already makes the chair not swooce away if the sitter presses a button. No need to incapacitate them as a criminally large amount of mechanics read this var as a type of stun.
if(istype(buckled))
if(buckled.buckle_lying != -1)
lying = buckled.buckle_lying
canmove = buckled.buckle_movable
if(buckled.buckle_movable)
anchored = 0
anchored = FALSE
canmove = 1
else
lying = incapacitated(INCAPACITATION_KNOCKDOWN)
canmove = !incapacitated(INCAPACITATION_DISABLED)
if(lying)
density = 0
density = FALSE
if(l_hand)
unEquip(l_hand)
if(r_hand)
+6 -6
View File
@@ -44,8 +44,8 @@ var/list/ai_verbs_default = list(
name = "AI"
icon = 'icons/mob/AI.dmi'//
icon_state = "ai"
anchored = 1 // -- TLE
density = 1
anchored = TRUE // -- TLE
density = TRUE
status_flags = CANSTUN|CANPARALYSE|CANPUSH
shouldnt_see = list(/mob/observer/eye, /obj/effect/rune)
var/list/network = list(NETWORK_DEFAULT)
@@ -124,9 +124,9 @@ var/list/ai_verbs_default = list(
if(!is_dummy)
aiPDA = new/obj/item/device/pda/ai(src)
SetName(pickedName)
anchored = 1
anchored = TRUE
canmove = 0
density = 1
density = TRUE
loc = loc
if(!is_dummy)
@@ -761,7 +761,7 @@ var/list/ai_verbs_default = list(
user.visible_message("<font color='blue'>\The [user] decides not to unbolt \the [src].</font>")
return
user.visible_message("<font color='blue'>\The [user] finishes unfastening \the [src]!</font>")
anchored = 0
anchored = FALSE
return
else
playsound(src, W.usesound, 50, 1)
@@ -770,7 +770,7 @@ var/list/ai_verbs_default = list(
user.visible_message("<font color='blue'>\The [user] decides not to bolt \the [src].</font>")
return
user.visible_message("<font color='blue'>\The [user] finishes fastening down \the [src]!</font>")
anchored = 1
anchored = TRUE
return
else
return ..()
+1 -1
View File
@@ -20,4 +20,4 @@
card.update_icon()
. = ..(gibbed,"gives one shrill beep before falling lifeless.")
density = 1
density = TRUE
@@ -2,7 +2,7 @@
name = "AI"
icon = 'icons/mob/AI.dmi'//
icon_state = "ai"
anchored = 1 // -- TLE
anchored = TRUE // -- TLE
canmove = 0
/mob/living/silicon/decoy/New()
@@ -327,8 +327,8 @@
icon_state = "swordtail"
desc = "A glowing pink dagger normally attached to the end of a cyborg's tail. It appears to be extremely sharp."
force = 20 //Takes 5 hits to 100-0
sharp = 1
edge = 1
sharp = TRUE
edge = TRUE
throwforce = 0 //This shouldn't be thrown in the first place.
hitsound = 'sound/weapons/blade1.ogg'
attack_verb = list("slashed", "stabbed", "jabbed", "mauled", "sliced")
@@ -32,7 +32,7 @@ var/list/mob_hat_cache = list()
pass_flags = PASSTABLE
braintype = "Drone"
lawupdate = 0
density = 1
density = TRUE
req_access = list(access_engine, access_robotics)
integrated_light_power = 3
local_transmit = 1
@@ -9,8 +9,8 @@
desc = "A large automated factory for producing maintenance drones."
appearance_flags = 0
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = USE_POWER_IDLE
idle_power_usage = 20
active_power_usage = 5000
@@ -14,7 +14,7 @@
pass_flags = PASSTABLE
braintype = "Drone"
lawupdate = 0
density = 1
density = TRUE
idcard_type = /obj/item/weapon/card/id/syndicate
req_access = list(999)
integrated_light_power = 3
+1 -1
View File
@@ -151,7 +151,7 @@
purge -= 1
/mob/living/simple_mob/death(gibbed, deathmessage = "dies!")
density = 0 //We don't block even if we did before
density = FALSE //We don't block even if we did before
if(has_eye_glow)
remove_eyes()
@@ -85,7 +85,7 @@
melee_damage_lower = 18
melee_damage_upper = 30
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attack_sound = 'sound/weapons/bite.ogg'
@@ -21,7 +21,7 @@
// can_pull_size = ITEMSIZE_TINY
// can_pull_mobs = MOB_PULL_NONE
layer = MOB_LAYER
density = 0
density = FALSE
response_help = "pets"
response_disarm = "gently pushes aside"
@@ -126,7 +126,7 @@
response_help = "pets"
response_disarm = "gently pushes aside"
response_harm = "stamps on"
density = 0
density = FALSE
minbodytemp = 223
maxbodytemp = 323
universal_speak = FALSE
@@ -34,7 +34,7 @@
melee_damage_lower = 2
melee_damage_upper = 6
base_attack_cooldown = 1 SECOND
attack_sharp = 1 //Bleeds, but it shouldn't rip off a limb?
attack_sharp = TRUE //Bleeds, but it shouldn't rip off a limb?
attacktext = list("gouged")
say_list_type = /datum/say_list/diyaab
@@ -52,7 +52,7 @@
mob_size = MOB_SMALL
pass_flags = PASSTABLE
layer = MOB_LAYER
density = 0
density = FALSE
response_help = "pets"
response_disarm = "nudges"
@@ -35,7 +35,7 @@
melee_damage_lower = 10
melee_damage_upper = 15
base_attack_cooldown = 1 SECOND
attack_sharp = 1
attack_sharp = TRUE
attacktext = list("sliced", "snapped", "gnawed")
say_list_type = /datum/say_list/siffet
@@ -10,7 +10,7 @@
icon = 'icons/mob/horror_show/master.dmi'
vis_height = 64
icon_gib = "generic_gib"
anchored = 1
anchored = TRUE
attack_sound = 'sound/h_sounds/shitty_tim.ogg'
@@ -25,7 +25,7 @@
melee_damage_lower = 15 //Tac Knife damage
melee_damage_upper = 15
attack_armor_pen = 20
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attacktext = list("slashed", "stabbed")
armor = list(melee = 40, bullet = 30, laser = 30, energy = 10, bomb = 10, bio = 100, rad = 100) // Same armor values as the vest they drop, plus simple mob immunities
@@ -112,7 +112,7 @@
melee_damage_lower = 30
melee_damage_upper = 30
attack_armor_pen = 50
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attacktext = list("slashed")
@@ -16,7 +16,7 @@
melee_damage_lower = 30
melee_damage_upper = 30
attack_armor_pen = 30
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attacktext = list("slashed")
@@ -39,7 +39,7 @@
melee_damage_lower = 6 // Approx 12 DPS.
melee_damage_upper = 6
base_attack_cooldown = 2.5 // Four attacks per second.
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attack_sound = 'sound/weapons/bladeslice.ogg'
attacktext = list("cut", "sliced")
@@ -40,7 +40,7 @@
melee_damage_lower = 4 // Approx 8 DPS.
melee_damage_upper = 4
base_attack_cooldown = 5 // Two attacks a second or so.
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attack_sound = 'sound/weapons/bladeslice.ogg'
attacktext = list("cut", "sliced")
@@ -14,7 +14,7 @@
health = 150
melee_damage_lower = 20
melee_damage_upper = 25
attack_sharp = 1
attack_sharp = TRUE
attacktext = list("violently stabbed")
friendly = list("caresses")
movement_cooldown = 0
@@ -15,7 +15,7 @@
melee_damage_lower = 25
melee_damage_upper = 30
attack_armor_pen = 15
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attacktext = list("slashed")
friendly = list("pinches")
@@ -18,7 +18,7 @@
melee_damage_lower = 8
melee_damage_upper = 15
attack_armor_pen = 5 //It's a horror from beyond, I ain't gotta explain 5 AP
attack_sharp = 1
attack_sharp = TRUE
attack_edge = 1
attacktext = list("chomped")
@@ -74,7 +74,7 @@ List of things solar grubs should be able to do:
var/datum/effect/effect/system/spark_spread/sparks = new /datum/effect/effect/system/spark_spread()
sparks.set_up(5, 0, get_turf(src))
sparks.start()
anchored = 1
anchored = TRUE
PN = attached.powernet
PN.draw_power(100000) // previous value 150000
var/apc_drain_rate = 750 //Going to see if grubs are better as a minimal bother. previous value : 4000
@@ -86,7 +86,7 @@ List of things solar grubs should be able to do:
var/drain_val = min(apc_drain_rate, cur_charge)
A.cell.use(drain_val * CELLRATE)
else if(!attached && anchored)
anchored = 0
anchored = FALSE
PN = null
/mob/living/simple_mob/vore/solargrub //active noms
@@ -30,7 +30,7 @@ var/global/list/grub_machine_overlays = list()
pass_flags = PASSTABLE
can_pull_size = ITEMSIZE_TINY
can_pull_mobs = MOB_PULL_NONE
density = 0
density = FALSE
//stop_when_pulled = 0
+1 -1
View File
@@ -945,7 +945,7 @@
if(O == selection)
pinned -= O
if(!pinned.len)
anchored = 0
anchored = FALSE
return 1
//Check for brain worms in head.
+2 -2
View File
@@ -1,5 +1,5 @@
/mob
density = 1
density = TRUE
layer = MOB_LAYER
plane = MOB_PLANE
animate_movement = 2
@@ -90,7 +90,7 @@
var/canmove = 1
//Allows mobs to move through dense areas without restriction. For instance, in space or out of holder objects.
var/incorporeal_move = 0 //0 is off, 1 is normal, 2 is for ninjas.
var/unacidable = 0
var/unacidable = FALSE
var/list/pinned = list() // List of things pinning this creature to walls (see living_defense.dm)
var/list/embedded = list() // Embedded items, since simple mobs don't have organs.
var/list/languages = list() // For speaking/listening.
+2 -2
View File
@@ -11,11 +11,11 @@
invisibility = 101
density = 0
density = FALSE
stat = 2
canmove = 0
anchored = 1 // don't get pushed around
anchored = TRUE // don't get pushed around
var/created_for