Commit Graph

24 Commits

Author SHA1 Message Date
kevinz000
1f7a76ade0 Combat/Stun (slip) overhaul staging, mobility flags, adds crawling (#39967)
Aiming to implement the framework oranges has detailed in https://tgstation13.org/phpBB/viewtopic.php?f=10&t=19102
Moves canmove to a bitflag in a new variable called mobility_flags, that will allow finer grain control of what someone can do codewise, for example, letting them move but not stand up, or stand up but not move.

Adds Immobilize()d status effect that freezes movement but does not prevent anything else.
Adds Paralyze()d which is oldstun "You can't do anything at all and knock down).
Stun() will now prevent any item/UI usage and movement (which is similar to before).
Knockdown() will now only knockdown without preventing item usage/movement.
People knocked down will be able to crawl at softcrit-speeds
Refactors some /mob variables and procs to /mob/living.
update_canmove() refactored to update_mobility() and will handle mobility_flags instead of the removed canmove

cl
rscadd: Crawling is now possible if you are down but not stunned. Obviously, you will be slower.
/cl
Refactors are done. I'd rather get this merged faster than try to fine tune stuff like slips. The most obvious gameplay effect this pr has will be crawling, and I believe I made tiny tweaks but I can't find it Anything I missed or weird behavior should be reported.
2018-10-10 23:21:27 +01:00
vuonojenmustaturska
5a6cfac5be Stops using the rad insulation component to provide default rad insulation features in order to save a bit of memory (#40662)
* henk

* oh yeah this

* undo this meme

* stuff
2018-10-06 13:27:31 +01:00
Jordan Brown
606ad7f4ae Adds a bitfield helper (#40295) 2018-09-16 20:50:49 +01:00
Joe Schmoe
ae6562d1ad pass the door, please 2018-08-17 11:53:17 +02:00
Tad Hardesty
7a83d5281d Fix cyborg radio and module UIs being noninteractive (#39412)
* Fix cyborg radio and module UIs being noninteractive

* Fix AIs not being able to access their internals
2018-07-28 13:22:46 +01:00
Tad Hardesty
054c7a2555 Fix flags_1 overlap and VV, remove CTF deathrattle (#38711) 2018-06-26 21:38:39 +01:00
Tad Hardesty
6332cabfe8 Merge pull request #38098 from kevinz000/transit_space_refactor
Transit space refactor
2018-06-16 20:41:21 +01:00
vuonojenmustaturska
5a0de7ac89 Turn /datum.isprocessing into a datum flag (#38193) 2018-06-05 23:59:56 +01:00
vuonojenmustaturska
77410bd84b Move NODROP_1, DROPDEL_1, ABSTRACT_1 and NOBLUDGEON_1 to item_flags where they belong (#38171)
* (mostly) nodrop

* (mostly) dropdel

* (mostly) abstract

* nobludgeon

* things i missed

* forgot one

* unintended changes

* energy handcuffs
2018-06-01 15:48:10 +02:00
Jordan Brown
cd3d52b843 Merge pull request #38103 from AutomaticFrenzy/patch/container-type-bitfields
Add container_type to VV bitfields
2018-05-29 12:40:24 +01:00
Nich
dbbd605a50 Merge branch 'master' into prsfixed 2018-05-24 13:01:20 +02:00
Tad Hardesty
72689ab051 Fix ambient occlusion on xeno weeds and wall corners (#37987) 2018-05-24 12:36:02 +02:00
Nich
36ae797e6c atom.initialized etc 2018-05-24 12:35:31 +02:00
Nich
d0ad31fac1 tesla_act refactors and balancing (#37369)
experimental: Tesla damage has been reworked to structures and objects have been worked with a linear scaling.

experimental: All tesla weapons now no longer need to hit a mob to arc lightning; however, they will no longer stun, and only hit each target once.

tesla_zap vars are now a single bitfield.
2018-05-24 12:28:16 +02:00
vuonojenmustaturska
ddd4409133 Adds an EMP protection component, allowing ANYTHING to be protected from EMP (#37671)
The component is initialized with any combination of three flags, EMP_PROTECT_SELF protects against effects that target the object itself, EMP_PROTECT_WIRES protects against wires being messed with similar to the NO_EMP_WIRES_1 flag which this PR removes, EMP_PROTECT_CONTENTS protects against things that are inside the object like organs, internal "non-virtual" power cells and the like

This enables (but doesn't introduce) new mechanics such as adding EMP shielding at runtime to any atom, or taking it away.
2018-05-22 21:35:29 +01:00
vuonojenmustaturska
7c085ddac7 replaces BANG_PROTECT_2 with a component, also kills OMNITONGUE_2 and flags_2 (#37597)
* kill BANG_PROTECT_2

* let's put this back in

* dirty

* kill OMNITONGUE_2

This is a write-only variable, probably leftover from some refactor years ago

* kill flags_2
2018-05-02 19:13:51 +01:00
Nich
55db6c880d Merge pull request #599 from yogstation13/upstream-merge-37530
[MIRROR] Replaces HEALS_EARS_2 with a component, adds a wearertargeting parent component for future use
2018-04-30 09:13:01 +02:00
vuonojenmustaturska
ac053bd9a2 Kills off three more flags from flags_2 (#37529)
code: More flags have been moved to their appropriate places
SLOWS_WHILE_IN_HAND
FROZEN
NO_MAT_REDEMPTION

all moved to item_flags
2018-04-29 23:33:52 +01:00
vuonojenmustaturska
c70c6c94e6 Replaces HEALS_EARS_2 with a component, adds a wearertargeting parent component for future use (#37530)
code: HEALS_EARS_2 is removed in favor of the earhealing component

code: wearertargeting component is available to subtype for components that want to target the wearer of an item rather than the item itself
2018-04-29 23:33:45 +01:00
vuonojenmustaturska
da06a13aee Moves several clothing-specific flags from /atom to their proper type (#37486)
* lavaproof

* more flags

* it compiles

* Remove a couple of lists
2018-04-28 19:23:24 +01:00
vuonojenmustaturska
c0642e965a Adds a stationloving component to replace a couple of flags and SSinbounds with (#37436)
* station lovin' happened so fast

* Update stationloving.dm

* less qdel memes

* imbue soul signal

* rename imbue soul signal

* dupemode

* henk

* Update atoms_movable.dm

* Update nuclearbomb.dm

* Update nuclearbomb.dm
2018-04-27 13:36:56 +01:00
kevinz000
7d7e16a316 Fixes interaction memes (#37122) 2018-04-11 20:10:43 +01:00
Tad Hardesty
761de5c901 Mark appearance_flags and sight as bitflags for VV (#36571) 2018-04-09 21:35:19 +02:00
AsV9
d338cac150 Merge remote-tracking branch 'tgstation/master'
Not sure if this worked. Used a wonky special snowflake strat to merge.
2018-03-24 08:57:13 +01:00