Files
Bubberstation/code/__DEFINES/flags.dm
duncathan f7363fc737 Squashed commit of the following:
commit 5ab47a85f7
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 03:29:23 2015 -0600

    disables TESTING; it should not be enabled by default

commit 2cc7226ea8
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 03:27:55 2015 -0600

    adds ways to check references while qdel'ing; removes redundant compile option

commit 4409db7f0b
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 00:19:25 2015 -0600

    makes the game compile if TESTING is defined in compile options

commit e11befbbfa
Merge: 22ffbca 20ba307
Author: Cheridan <derpheim@yahoo.com>
Date:   Fri Aug 28 07:20:03 2015 -0500

    Merge pull request #11356 from Aranclanos/listnull

    Fixes the brand intelligence event not triggering the uprising under …

commit 22ffbca5a2
Author: sybil-tgstation13 <sybil@tgstation13.org>
Date:   Fri Aug 28 05:43:08 2015 +0000

    Automatic changelog compile

commit d824f7b35f
Merge: 7f0f74f 3737234
Author: Cheridan <derpheim@yahoo.com>
Date:   Fri Aug 28 00:21:23 2015 -0500

    Merge pull request #11382 from Ergovisavi/bot_swarm

    Adds "Swarmers" - Simple mob side antagonist

commit 3737234b9c
Merge: 9572bd6 ba1a268
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 05:48:37 2015 -0700

    -Adds swarmer as a language, makes them only able to speak to each other
    -Fixes a few structures/machines taking non brute/burn damage from attack_animal
    -Adjusts girders to be a little less resistant to explosions
    -Span classes all the swarmer messages, bumps their health up to 40
    -Adds ability for swarmers to dismantle machines and disable cameras. Some are obviously protected.

commit 7f0f74f100
Merge: d8f8f89 6ab2443
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 23:53:58 2015 -0500

    Merge pull request #11380 from bgobandit/salicyclicassblastusa

    Fixes burn kits containing salicyclic acid pills. Adds new burn medication.

commit d8f8f89203
Merge: 68002be 460c2c2
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 23:46:57 2015 -0500

    Merge pull request #11386 from Aranclanos/rapiddupe

    Fixes the admin message not appearing under certain conditions when t…

commit 68002bed99
Merge: eebbed3 d27a736
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 16:50:33 2015 -0500

    Merge pull request #11315 from CorruptComputer/why

    Removes dmm2tgm from map merger

commit eebbed3a6b
Merge: 1769bc2 3749dca
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 12:10:40 2015 -0500

    Merge pull request #11405 from Aranclanos/floortilesfirst

    Floor re-organization step 1

commit 1769bc2f8d
Merge: d7eca4f 20023f7
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 12:06:28 2015 -0500

    Merge pull request #11104 from phil235/BuckleMulebot

    Mob buckled to mulebots

commit d7eca4f327
Merge: be6cc6a 90f54ba
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 01:00:01 2015 -0500

    Merge pull request #11340 from phil235/CoinFlipThrowFix

    Fixes the do_after progress bar appearing on a coin when flipping+throwing it

commit be6cc6adf9
Merge: 9c9bf4a d211992
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 00:48:54 2015 -0500

    Merge pull request #11392 from phil235/SinguloCableNetRebuildFix

    An attempt to reduce singulo lag from power wires destruction. 2nd attempt.

commit 9c9bf4a858
Merge: 3278a39 6277a80
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Thu Aug 27 01:06:03 2015 -0300

    Merge pull request #11393 from Ergovisavi/has_wumbo_gone_too_far

    Fixes infinite wumbo-ing

commit 3278a3926b
Merge: 38e6a09 1f37141
Author: Cheridan <derpheim@yahoo.com>
Date:   Wed Aug 26 07:52:31 2015 -0500

    Merge pull request #11358 from phil235/XenoFeatures1

    Facehugger inhands, xeno tweaks, and monkey bugfixes

commit 3749dcacb3
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Wed Aug 26 06:47:27 2015 -0300

    Creates type paths for all types of floors in floor.dmi, first step for the floor organization.

commit 38e6a09cf9
Merge: 4f1a3df 9cfb246
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Wed Aug 26 06:27:31 2015 -0300

    Merge pull request #11351 from Core0verload/nodirt

    Removes dirt from walking on tiles

commit 6277a80cdb
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 14:02:48 2015 -0700

    -Fixes infinite wumbo-ing

commit d211992ddc
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Tue Aug 25 20:22:30 2015 +0200

    Make it so the code doesn't rebuild (propagate_network()) the wire network X times when singulo/explosion destroys a line of X cables at once.

commit 6ab2443255
Author: bgobandit <bandit@mailinator.com>
Date:   Tue Aug 25 13:46:05 2015 -0400

    Adds oxandrolone, a new burn medication designed to work upon ingestion. Adds oxandrolone to burn kits. Adds changelog.

commit 9572bd6aa6
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 03:24:34 2015 -0700

    -First revision of Swarmer mob, hud, icons, etc
    -Adds functionality of ignored damage types to simple mobs
    -Adds functionality of melee damage types to simple mobs

commit 460c2c290c
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Tue Aug 25 05:31:02 2015 -0300

    Fixes the admin message not appearing under certain conditions when the rapid dupe experimentator relic is used.
    All objects from said relic will spawn at the same time now.

commit 2c56462e97
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 22:45:37 2015 -0400

    I sure do love me some copypasta

commit 132adf3f00
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 21:45:18 2015 -0400

    adds silver sulf syringes instead of kelotane pills

commit ce8722b868
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 21:36:50 2015 -0400

    Fixes burn kits containing salicyclic acid pills.

commit 1f37141b8b
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 22:53:45 2015 +0200

    Alien humanoids and monkeys can now use "me".
    Alien hivemind chat now uses <span class='alien'> (dark purple). Also the alien queen name now appears bigger in the hivemind chat.

commit 5cecd7e9fe
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 19:54:51 2015 +0200

    Simplifies plasmavessel/on_life() a bit, and make xeno on weeds also heal clone damage.

commit cb1cd5b1e7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 17:07:09 2015 +0200

    Monkey and aliens now all use carbon/examine().
    Fixes monkeys being able to strip and uncuff people while handcuffed themselves.
    Add an inhand sprite for facehuggers (taken from Xhuis) (but they don't appear for large queens, it'd look ugly).
    Xenos now regenerate plasma on alien weed even when injured but at half the normal rate.
    Moved queen/large/update_icons() to humanoid/update_icons.dm

commit 20ba3071ed
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Mon Aug 24 07:52:54 2015 -0300

    Fixes the brand intelligence event not triggering the uprising under certain conditions.
    Adds a new proc for the list helpers, removeNullsFromList() It does what it says.

commit 9cfb246e4f
Author: c0 <Core0verload@users.noreply.github.com>
Date:   Mon Aug 24 11:33:52 2015 +0300

    Removes dirt from walking on tiles

commit 20023f79d7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 21:39:22 2015 +0200

    Mobs buckled to mulebots now pass through plastic flaps.
    All ventcrawler and tiny sized mobs also pass through them now.

commit 27b7e3b6f6
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 20:55:41 2015 +0200

    Beds no longer use this trick in Move() so neither should the mulebot.

commit 90f54ba95c
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 19:34:09 2015 +0200

    Fixes the do_after progress bar appearing on a coin when flipping+throwing it.

commit d27a736f7e
Author: CorruptComputer <NGupton98@gmail.com>
Date:   Fri Aug 21 16:57:27 2015 -0500

    Fixes #11301

commit e16c03f010
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sat Aug 8 22:10:25 2015 +0200

    woops, now buckling succeeds if you are on the mulebot's turf.

commit 1c51550559
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sat Aug 8 21:43:30 2015 +0200

    Changes how mulebots handle loading mobs. It now buckles them to the bot.

    You can no longer load objects containing mobs or with mobs buckled to them.

    You can no longer pass through plastic flaps by getting on a mulebot.

    Some simplification in mulebot code (buzzing sound code)

    Loading is now instantaneous and the mode BOT_LOADING is removed.

    The mulebot can no longer do certain stuff while off.

    Removing unneeded comments.

    Fixes mulebot loading/unloading being possible through border windows.

    Fixes mulebot not dropping its loaded cargo when qdel'd (wasn't a problem for explosion but for alien acid for example)
2015-08-29 13:19:15 -06:00

81 lines
3.5 KiB
Plaintext

/*
These defines are specific to the atom/flags bitmask
*/
#define ALL ~0 //For convenience.
#define NONE 0
//FLAGS BITMASK
#define STOPSPRESSUREDMAGE 1 //This flag is used on the flags variable for SUIT and HEAD items which stop pressure damage. Note that the flag 1 was previous used as ONBACK, so it is possible for some code to use (flags & 1) when checking if something can be put on your back. Replace this code with (inv_flags & SLOT_BACK) if you see it anywhere
//To successfully stop you taking all pressure damage you must have both a suit and head item with this flag.
#define NODROP 2 // This flag makes it so that an item literally cannot be removed at all, or at least that's how it should be. Only deleted.
#define NOBLUDGEON 4 // when an item has this it produces no "X has been hit by Y with Z" message in the default attackby()
#define MASKINTERNALS 8 // mask allows internals
#define HEAR 16 // This flag is what recursive_hear_check() uses to determine wether to add an item to the hearer list or not.
#define NOSHIELD 32 // weapon not affected by shield
#define CONDUCT 64 // conducts electricity (metal etc.)
#define ABSTRACT 128 // for all things that are technically items but used for various different stuff, made it 128 because it could conflict with other flags other way
#define FPRINT 256 // takes a fingerprint
#define ON_BORDER 512 // item has priority to check when entering or leaving
#define HEADBANGPROTECT 4096
#define EARBANGPROTECT 1024
#define NOSLIP 1024 //prevents from slipping on wet floors, in space etc (NOTE: flag shared with THICKMATERIAL for external suits and helmet)
#define OPENCONTAINER 4096 // is an open container for chemistry purposes
// BLOCK_GAS_SMOKE_EFFECT only used in masks at the moment.
#define BLOCK_GAS_SMOKE_EFFECT 8192 // blocks the effect that chemical clouds would have on a mob --glasses, mask and helmets ONLY! (NOTE: flag shared with THICKMATERIAL)
#define THICKMATERIAL 8192 //prevents syringes, parapens and hypos if the external suit or helmet (if targeting head) has this flag. Example: space suits, biosuit, bombsuits, thick suits that cover your body. (NOTE: flag shared with BLOCK_GAS_SMOKE_EFFECT)
#define NOREACT 16384 //Reagents dont' react inside this container.
#define BLOCKHAIR 32768 // temporarily removes the user's hair icon
//turf-only flags
#define NOJAUNT 1
/*
These defines are used specifically with the atom/pass_flags bitmask
the atom/checkpass() proc uses them (tables will call movable atom checkpass(PASSTABLE) for example)
*/
//flags for pass_flags
#define PASSTABLE 1
#define PASSGLASS 2
#define PASSGRILLE 4
#define PASSBLOB 8
#define PASSMOB 16
#define LETPASSTHROW 32
//flags for species
#define MUTCOLORS 1
#define HAIR 2
#define FACEHAIR 4
#define EYECOLOR 8
#define LIPS 16
#define COLDRES 32
#define HEATRES 64
#define RADIMMUNE 128
#define NOBREATH 256
#define NOGUNS 512
#define NOBLOOD 1024
#define NOFIRE 2048
#define VIRUSIMMUNE 4096
#define PIERCEIMMUNE 8192
#define MUTCOLORS_PARTSONLY 16384 //Used if we want the mutant colour to be only used by mutant bodyparts. Don't combine this with MUTCOLORS, or it will be useless.
/*
These defines are used specifically with the atom/movable/languages bitmask.
They are used in atom/movable/Hear() and atom/movable/say() to determine whether hearers can understand a message.
*/
#define HUMAN 1
#define MONKEY 2
#define ALIEN 4
#define ROBOT 8
#define SLIME 16
#define DRONE 32
#define SWARMER 64