Commit Graph

48 Commits

Author SHA1 Message Date
Jamie D
9958c34606 Adds DEV Permission and Enables Memory Profiler (#13966)
* Adds DEV Permission and Enables Memory Profiler

* oops

* Fixes perms

* Fixes

* Fixes Comment
2022-05-08 03:36:22 +01:00
Theos
26191754f1 Ports wounds from TG (#11955)
* piss

* second set of files

* theos feels pain and dies

* code works lmao

* other stuff

* YES YES YES

* Update zombies.dm

* egg

* whoops

* bubblegum alt attacks won't wound

* bone hurting juice hurts bones

* something's fucky wucky

* humans are no longer blue space babes but projectile damage is still wack

* IT WORKS???????

* other stuff

* turns out im big brain and already handled that should be testable live now

* WHOOPS

* medical pens not in stupid area

* fix regen mesh icons

* tool_behavior and defines plus allowing wound healing to override surgical tool no touchy bit

* should help

* mapping problem

* fix monkies shitting out blood all the time

* going to remove examine_more being stupid

* this is stupid i think it works though

* Empty commit, more bad code

* this probably fdixes something

* buckshot buffed back to where it should be

* woundings

* missed this one

* fix gamebreaking bug

* turns out damaging ANYTHING causes suit sensors to break whoops

* stuff up to limb disable refactor

* aid scanner can no longer kill you if you use it too much, preventing the robot uprising for another few decades

* Update burn_dressing.dm

* wtf

* shotgun slugs have a wound bonus of -30 putting them in line with other high damage weaponry that has even less

* burn debriding uses the scalpel rather than the hemostat

* debriding for patch/treat no longer causes wounds

* Give syndicate medical cyborg a bonesetter

* like 5 more prs ported

* fixes burn ointment and mesh application not having a progress bar

* gamemode zombies get easydismember and easily wounded

* managed to screw up self cautery this fixes it

* carbons can't use check self for injuries but humans can

* honey gives +2 sanitization to burns

* re-add this if sensors get fixed

* should fix a runtime I made on accident when trying to make examine more less jank

* last 2 prs and some holdup fixes since these touched on that

* set target = src so the progress par shows up i think

* Update mutations.dm

* fixes twohanded reuqired weapons by reverting some change I don't understand

* fixes blood sprites

* actually properly fixes the thing

Co-authored-by: Gabriel Adamson <adamson.g@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2021-09-11 13:19:11 +01:00
Jamie D
90aee25dbf I hate radiation and stupid things, new admin button to fix it and cleanable overhaul (#10544)
* REEEEEE 6 Hours

* EEEE

* Runtime1

* Linter brr

* e

* LINTER

* Creamy Goodness

* REEEE
2020-11-30 18:25:54 +00:00
Jamie D
645ede2d5a Adds Hardsuit Specific Flag for Medical Sprays / Patches (#9976)
* Adds Hardsuit Specific Flag for Medical

* oops

* Update obj_flags.dm

* Apply suggestions from code review

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>
2020-10-18 21:05:35 +01:00
Jamie D
fd2898db76 Adds new uncatchable flag for items (#9932)
* Adds new uncatchable flag for items

* BOOLEANS

* Boolean 2

* Makes Alexkar Happy, screw off theos
2020-10-12 11:18:29 +01:00
TheGamerdk
ed272794f7 Better Glowing Lights (#9256)
* lights

* better

Co-authored-by: Rob Bailey <actioninja@gmail.com>
Co-authored-by: 81Denton <32391752+81Denton@users.noreply.github.com>
2020-08-08 17:11:44 -04:00
Jamie D
cf70d47f53 PASSCOMP flag for mobs items - Pass through computers (#8692)
* Cleanup formatting also PASSCOMP

* PASSCOMP - Feel free to say what ive done is shit

* Machinery!

* Less Stupid PR

* :(
2020-06-17 23:07:21 +01:00
identification
e427216630 the very concept stinks 2019-08-25 22:08:44 +01:00
alexkar598
fe934644ac Actually commits the line ending changes 2019-08-12 07:47:43 -04:00
yogstation13-bot
21608f936d Refactors can_see_reagents 2019-07-04 08:07:02 +01:00
fluffe9911
bd22041d92 Merge branch 'master' into upstream-merge-44320 2019-06-13 14:32:14 -04:00
yogstation13-bot
7ffd2f004a Examine tooltips now work on items put into storage 2019-06-09 23:14:01 +01:00
yogstation13-bot
db2a973fb8 [READY] Cleans up saycode by removing random hook stubs and using a signal where relevant 2019-06-06 07:33:20 +01:00
Tad Hardesty
dbec55757d Add MOBILITY_PULL to the bitfields list (#43318) 2019-03-28 15:03:44 +01:00
coiax
66df5546ee Refactors NODROP flag into TRAIT_NODROP (#42109)
* Refactors NODROP flag into TRAIT_NODROP

🆑 coiax
fix: Anti-drop implants can no longer be used to drop objects that they
were not responsible for sticking to a person's hand.
fix: Backfiring with a Barnyard spellbook will now play a spooky horse sound.
refactor: Refactors the way that "NODROP" items work to a new system,
there should be no change in functionality.
/🆑

Various items in the codebase were doing weird hoop jumps in order to
preserve the nodrop flag's state when it also wanted to change it, so I
moved it to a trait system.

I may have gone overboard with the type of unique trait sources, but
those can be changed later. My long term plan is make a general "CURSED"
nodrop origin, which means you can unlock cursed items by being hit with
a bolt of door opening or something. But that's for another PR, this has
no functionality changes, apart from some slightly modified descriptions
on cursed masks.

- Removed a bunch of redundant voice changing code for all the voice
changing animal masks, used two new clothing flags for this purpose.
- Also refactored a bit the animal masks, making new cursed subtypes that play
the sound when created.

* Drop location
2019-01-17 21:22:38 +01:00
Ling
6db87969cf Revert "Revert "Revert "[MIRROR] Rework of admin rank loading to support punctuation""" 2019-01-04 12:05:42 +01:00
nichlas0010
e747971f8d Revert "Revert "[MIRROR] Rework of admin rank loading to support punctuation"" 2019-01-04 06:43:36 +01:00
nichlas0010
282fdd5eb0 Revert "[MIRROR] Rework of admin rank loading to support punctuation" 2019-01-04 06:37:29 +01:00
nichlas0010
c769c1c316 Merge pull request #3966 from yogstation13/upstream-merge-42041
[MIRROR] Rework of admin rank loading to support punctuation
2019-01-04 02:55:49 +00:00
nichlas0010
4fec5db34b Merge pull request #4035 from yogstation13/upstream-merge-41994
[MIRROR] UNSTOPPABLE flag is now checked every time something tries to pass something instead of just once in the Move() proc
2019-01-03 15:22:20 +01:00
kevinz000
2c5d34a0d0 UNSTOPPABLE flag is now checked every time something tries to pass something instead of just once in the Move() proc (#41994)
UNSTOPPABLE flag is now checked every time something tries to pass something instead of just once in the Move() proc #41994
2019-01-03 14:50:00 +01:00
Qustinnus
6b94180ec9 [READY]Humans now have hygiene (DOES NOT AFFECT MOOD GO AWAY MOODPOSTERS) (#41986)
cl Floyd / Qustinnus
tweak: You now have to be naked to get the nice shower moodlet, if you shower with clothes you get a bad moodie
add: Hygiene, you slowly become dirty over time, the more covered in blood you are the faster you will lose hygiene. When you are too dirty you will have a stink overlay. (Hygiene doesn't affect mood currently) It also spawns miasma slowly if you smell like shit.
add: adds NEET and neat traits. NEET's get 20 bucks social welfare extra and like being unhygienic, while neat people dislike being unhygienic and like being hygienic
/cl

This doesn't affect mood so plssss dont strawman in this PR about how I'm forcing you to shower or die or whatever

This PR is mostly visual and will allow for people to judge others for literaly being smelly as hell.

also NEET and neat traits which interact with being smelly. (neat likes hygiene, dislikes lack of it. NEETs like lack of hygiene and get some social welfare (20 bucks))
2019-01-01 21:14:40 +01:00
Jordan Brown
54cbd582ad Rework of admin rank loading to support punctuation 2018-12-24 21:25:44 +01:00
Jordie
a5751ef322 Merge pull request #41997 from coiax/removes-container-type
Refactors `container_type` into `reagents.flags`
2018-12-23 12:30:36 +01:00
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