Commit Graph

11231 Commits

Author SHA1 Message Date
nemvar ccbb0a91d7 Cleans up some martial art code. (#45502)
* Removes/Moves some weirdly placed variables in martial arts. Splits NO_GUNS and CHUNCKY_FINGERS traits.

* Maybe this should actually compile

* c begone
2019-08-05 16:58:12 -07:00
oranges 9f1cec7b15 Merge pull request #45677 from 81Denton/logs
Logging improvements
2019-08-04 22:54:17 +12:00
nemvar c97cbe7612 pAIs now only have one Life proc (#45672)
Ideally this wouldn't be on Life at all, but I'm not going to dig too deep
into pAI code.
2019-08-03 15:13:45 -07:00
TerraGS afc9794558 fixes a beepsky exploit 2019-08-03 01:06:44 -05:00
nemvar ea70deb828 List of contents (#45476)
About The Pull Request

-You know require medical access to change the medical records with the hud
-Medical/Sec HUD examine now relies on a trait instead of istype checks.
-Removed a shitload of excessive nesting
Why It's Good For The Game

This isn't a full refactor, just a small attempt to make this code slightly more sane and more friendly to work with. I do not intend to fix all the problems this piece of code has (ohh, there are so many of them) with this PR.
Changelog

cl
balance: You now require medical access to change the medical records with a medHUD.
/cl
2019-08-03 14:49:36 +12:00
kevinz000 c6d710d40e VV refactors 2 - Actually not indefinitely WIP (#45217)
About The Pull Request

The thing other than ruining maps that I was working on
Refactors VV to use a more standard way of doing topic dropdown options rather than a huge if/else chain
Marking datums is now a right click option
Moves a few files around too/few procs
Why It's Good For The Game

Makes it easier to add more VV dropdown options in the future, and moving href list keys to defines make misspelling them harder.
Changelog

cl
add: Oh yeah also added a "return value of proccall" option for VV var editing.
refactor: View Variables has been refactored. It should now be easier to make VV dropdown options.
/cl
2019-08-03 14:43:26 +12:00
tmtmtl30 28f1567835 Adds unused mothman markings (#45575)
Ripped the sprites from the wing files and added them as character creator options.
2019-08-02 17:17:21 -07:00
Denton 75d8176782 Logging improvements 2019-08-02 18:49:04 +02:00
nemvar b30942b847 Removes virgin snailcrawl component and replaces it with chad snailcrawl element. (#45479)
* Removes snail_crawl.dm

* Maybe this does it.
2019-08-02 02:32:44 -07:00
Shaps 7daafb04b6 Adds AnCap mode interactions for secbots and ED's (#45597)
About The Pull Request

The original economy PR added a little known (but surprisingly fun) button to secrets that enables Anarchist Capitalism mode on the station, which makes medical machinery like cloners, stasis beds, and such charge you money in order to function. This PR lets securitrons and ED-209's join in on the fun.

Securitrons and ED-209's will attempt to charge the account of the ID you're wearing each time they stun you. If you do not have enough money to cover the charges, they will attack you. Beepsky will whump you with his harmbaton for 20 brute, while ED-209 will shoot you point blank with a .38 for 25 brute.

Arrests (where you get cuffed) will charge you $25 by default, and will only beat you the once if you can't pay it. Detain is far more fun, charging you a default $5 each time they stun you, and continually beating you to and past the point of death once your account runs dry until someone stops it.

These changes only affect interactions with AnCap mode enabled, and do not affect the main game.
Why It's Good For The Game

Adds more flavor to AnCap mode, finally lets Beepsky kill people
Changelog

cl Shaps/Ryll
add: Securitrons and ED-209's have gained the ability to rough up suspects in AnCap mode
/cl

Let me know how I can improve the code in any way
2019-08-01 20:49:37 +12:00
Rob Bailey 6a26744d83 Clothing /under repath (#45548)
About The Pull Request

repaths clothing/under to be more sane
Also fixed a couple of bugs relating to pathing being incorrect, and modified a couple of bad descriptions and names
Also adds a map path updating script, which also helps show the full repath.
Why It's Good For The Game

improves maintainability, makes mapping easier, stages for a clothing dmi split
Changelog

cl
refactor: repathed all under clothing, keep an eye out for errors
/cl
2019-07-30 19:20:21 +12:00
Rob Bailey 1a24447a82 forced doesn't trigger spam detection (#45571)
* eminence

* imaginary friend

* blob overmind

* say
2019-07-30 19:08:08 +12:00
Rob Bailey fcb98515e6 Merge pull request #45534 from nemvar/istype(src)
Removes some istype(src) stuff
2019-07-29 18:55:21 -07:00
spookydonut 88eca69eb5 converts some spawns into timers (#45429)
* converts spawns into timers

* linter

* change per review
2019-07-29 02:23:15 -07:00
RandolfTheMeh 48fbc073e5 [TMC] Defib Rework, Organ Damage Effects (#45104)
* Brain damage works on organ damage procs, some defib reworks

* Heart and Lung damaging effects and failure, liver damage and failure moved to its organ again

* Cleans up reused global

* Organ damage procs on living and living/carbon

* Changes brain damage procs again

* SR heals all organs on revive, no decay for cybernetic implants, stomach damage and fail effects.

* Damage and failure effects for the appendix, ears, and some touchups on the stomach

* Committing changes so I don't lose them

* Organs now cease decaying in the proper containers

* Organ Fridges

* Reverts map changes

* Adds coronary bypass, lobectomy, trying to deal with organ_stat runtime

* Actually fixes merge conflict

* Smartfridge tweaks

* Think I figured out map merger

* Evidently not

* Still runtiming with glass shards even after I remove the map changes?

* Fixes runtime error with brain_item

* Runtime fix on living/carbon/life

* Cleaning up old PR code

* Brain damage fix, moves defines to actually be in _DEFINES, under DNA since that's where organ slots were

* Wrong math operation used

* Brains in MMIs no longer decay

* Removes redundant variable, and defibs no longer work on heart attacks caused by failing hearts

* Removes misleading comment

* init freezes organs in case organ crates are added, morgue corpses are frozen, removes adjustLiverLoss

* Removes random spaces, scanners check brain damage severity now

* Swaps numbers for defines, fixes brain surgery, rebalances coronary bypass bleed since that was insane last I tested it

* List change

* Runs off of an index instead of using cut

* Brains can be put into organ fridges

* Fixes minor type, hotfix for cloning problem

* Removes pointless check

* Demon hearts no longer decay

* Nightmare hearts no longer decay

* Removes istype() check on process, sets can_decompose instead

* Condenses organ damage report

* Removes organ failure messages

* Less organ damage spam, implements organ threshold messages instead

* Brain damage messages go to owner, not source

* Self-examine shows damaged organs

* Minor code cleanup, adds autodoc comments to the new procs

* Inverts standard organ vars to prevent random organs decaying, adds a few more autodoc comments.

* Merged the booleans into a set of flags

* Healthy living improves organ healing rates

* dunno why this didn't update

* my actions have consequences

* Sets ORGAN_SYNTHETIC for overlooked robotics organs

* Doubles heart decay time

* 3 minute heart decay

* Lobectomy/Coronary_Bypass heal more

* removes hivemind spells from the changes
2019-07-29 02:18:22 -07:00
Kyle Spier-Swenson 0fa87b7bbd [s]Throttle mind notes (memories) (#45555)
* Throttle mind notes (memories)

Some dipshit is spamming this on ss13 servers

Limits to 100 times the message limit (removing old text after that), and one call every 5 game seconds.

* Throttle at the right place

* Not here

* We really need a generic throttler solution
2019-07-29 09:09:33 +12:00
Garen Crownguard e851b6550a Cult hoods can be toggled (#45497)
* Cult hoods can be toggled

* oops
2019-07-28 05:00:50 -07:00
nemvar a52b4ec73d Removes emag and emp species hooks. (#45478) 2019-07-28 04:41:42 -07:00
senjx 40fca141ef Fixes #44963, adds force and flag checks for items attacking brains (#45428)
* Adds force and flag checks for items attacking brains

Adds a force check and a NOBLUDGEON flag check for items that attack brains to prevent accidental or ridiculous brain damage via straw.

* Update brain_item.dm

* Adds force and flag checks for items attacking brains

Adds force and flag checks for items attacking brains to prevent accidental or ridiculous brain damage via straw/pen/whatever
Fixes https://github.com/tgstation/tgstation/issues/44963
2019-07-27 20:00:52 -07:00
py01 353ef81789 Magic projectile fixes (#45484)
* magic projectile changes

* fixes var path

* undoes magic changes

* magic proj changes

* am checkchaange

* removes bad refactor

* proper am check on mag missile

* locker staff fix
2019-07-27 19:58:58 -07:00
nemvar f7c9751d69 Removes some istype(src) stuff 2019-07-27 22:55:49 +02:00
Dennok ede9edd17e Fix mob fall in open space on zero gravity (#45437)
* Fix mob fall in zero gravity

first try

* up
2019-07-27 04:38:32 -07:00
zxaber aaaee29a63 [READY] Re-works the Durand ability (#45144)
* Woo shields

* reshuffle, adding a sound

* Re-organizing

* better defines for the signals I had

* new stuff

* fixes

* Replaced all instances of "defence" with defense"

and other small changes.

* oof

* spelling, and a forgotten check

* you, upgraded, improved, yes
2019-07-27 02:06:33 -07:00
skoglol 718973fb9f Removes the assimilation/hivemind gamemode (#45316)
* Initial pass

* comment.

* stray ,

* stray define begone
2019-07-27 00:08:53 +02:00
Fikou a65d7d0f03 sabo zipties (#45450) 2019-07-26 02:20:23 -07:00
nemvar 63e6c9199e Borg hats now use a global typecache instead of unique lists. (#45368) 2019-07-26 10:57:26 +02:00
nemvar 1428679249 Reworked Legion feat. vectors and lazy sprites. (#45227)
* One

* adds the attack for megafauna.

* saves a few lines of precious diff

* return

* slightly uncurses it.

* That's a lotta damage

* Legion buffs

* There we go. Audio feedback and stuff.

* Untouches code this has no buisness touching,

* Removes mean comments

* comment spelling

* Alright, this replaces the process.

* Removes the unneeded file
2019-07-26 10:54:09 +02:00
tralezab 378c8f17d5 unless? (#45461) 2019-07-25 23:25:27 -07:00
py01 4441ff39bd Beepsky is now electric immune (#45392)
* beepsky is electric immune

* beepsky now overrides electrocute_act entirely

he gains a short speed boost when shocked instead

* Update traits.dm

* Update secbot.dm
2019-07-25 23:19:37 -07:00
nemvar db79e2e637 I thought I put this here, but apparently I didn't. (#45435) 2019-07-25 14:15:18 +02:00
Qustinnus d1b0804590 Adds a new screaming sound for males (#45362)
cl Floyd
add: New screaming sound for males
/cl
2019-07-25 21:13:11 +12:00
SgtxRootbeer 63d32fb1bd Removes trekchems, adds new catagory 2 chems. cobby-approved. (#45105)
* Add files via upload

* Update Sleeper.dm

* Update borghydro.dm

* Update robot_upgrades.dm

* Update buffs.dm

* Update medbot.dm

* Update snacks_other.dm

* Update snacks_other.dm

* Update medicine_reagents.dm

* Update medicine.dm

* Update chem_synthesizer.dm

* Update hypospray.dm

* Update snacks_other.dm

* Update snacks_other.dm

* Add files via upload

* Update snacks_other.dm

* Delete ambrosia.dm

* Delete cannabis.dm

* Add files via upload

* Update buffs.dm

* Update medicine.dm

* Update medbot.dm

* Update Sleeper.dm

* Update medbot.dm

* listen, i know what this looks like

* yes, i did this in the webeditor

* Update medicine.dm

* Update medbot.dm

* Update borghydro.dm

* Update Sleeper.dm

* Update robot_upgrades.dm

* Fixes metabolism rate

Don't tell cobby I did this one on my phone

* Updates metabolism rate for real

* fixes spelling errors

* Add files via upload

* Update medicine_reagents.dm

* Update medicine_reagents.dm
2019-07-24 12:18:11 -04:00
Qustinnus b33d1c49a3 [READY] Floydmats (Datum materials) & custom toolboxes (#45118)
* Initial work

* more

* ass

* wsedfwedff

* asss

* test

* stuff

* fuck

* sss

a

* kms

* asdadwedwdfwefwef

* start

* test

* dwwdew

* ewefwfef

* Redemption machine (#8)

* Redemption machine

* Removes debug messages

* changes

* fuckmyshitup

* coin mint works with new material shenanigans (#10)

* Auto stash before merge of "materials" and "origin/materials"

* woops

* furnace (#11)

* autolathe manufacturing of toolboxes

* eggs in a basket

* some small changes

* matcolors

* documentation

* more documentation and effects

* done

* Color man bad (#12)

* fixes designs

* ass

* more fixes

* fuck me

* firestacks adder

* epic fixes

* fixes designs

* DONE DIDDILY DOO

* removes category macro

* ch-ch-ch-changes

* fixes some stuff

* Fixes display of ore values (#9)

* Redemption machine

* Removes debug messages

* Re-adds value display

* Replaces the fire stacking component with an element instead (#13)

* fixes examine

* fixes ligma bugs

* double ligma boofus

* fix

* misses some defines

* fixes ORM

* Update code/datums/components/material_container.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* fixes

* Makes glass objects weaker (#14)

* Makes glass objects weaker

* uses correct proc

* fixes shit

* honk honk

* better

* oh shit oh fuck

* fixes

* fuck ORMs

* fixes the biogen

* documentation

* ass (#15)

* component

* changes

* ass

* ass

* doc

* Auto stash before merge of "materials-plasmacomponent" and "origin/materials-plasmacomponent"

* fixes rounding

* fixed
2019-07-24 11:27:01 -04:00
nemvar 9d074515b3 The way silicon radios and cells get created is now more sane. (#45371)
About The Pull Request

See title. Fixes #45370
Why It's Good For The Game

I don't think duplication of powercells and a bunch of duplicate code is really needed. This is more easily maintainable and just not shit in general.

EDIT: oh forgot to mention that this causes syndiborgs to have 500 more max charge by default. If anyone is extremely triggered by this, I can change that. But since those things aren't finely tuned anyways, I don't think this is a big deal.
Changelog

cl
code: Changed how sillycones get their cells and radios.
/cl
2019-07-24 15:25:04 +12:00
nemvar 997800c7f9 Makes plastic golems slightly transparent. (#45321) 2019-07-23 14:29:55 +02:00
nemvar 4e82d53c6f Reworked electrocute_act to fit my fantasy while squashing some bugs. (#45291)
* Reworked electrocute_act
This still isn't perfect, ideally this would use flags and stuff but I don't have the energy for a change of that size.

* Removes spec_electrocute_act and makes the species siemens_coeff actually work.

* Readds the secondary shock
2019-07-23 02:43:23 -07:00
Arkatos1 0fca528aac Heart of Darkness removal fix (#45349) 2019-07-22 16:46:02 -07:00
ShizCalev 0ddb4b4d69 Fixes some dropItemToGround runtimes (#45257)
* Simplified

* unfucked

* Documentation
2019-07-22 16:44:02 -07:00
nemvar 5f278ad8f6 Code changes to singularity act for mobs. (#45292)
* Removes odd syntax from living singulariy act.

* Removes odd singularity act syntax from human_defense.dm

* Adds some comments
2019-07-22 16:41:56 -07:00
nemvar 7ba60de3d6 Aheals now fix addictions and sanity. (#45329)
* Aheals now fix addictions and mood.

* Does it properly. Now uses a signal to detect the aheal.

* Removes a getComponent in living and puts that shit into the mood component.

* Fixes a small oversight with where I placed the moodie purge.
2019-07-22 15:42:30 -04:00
nemvar 954f3ae677 Fixes ethereal burn damage thingy (#45334) 2019-07-22 15:39:07 -04:00
JJRcop 18a15151d2 [Ready] Adds organic slurry, induces vomiting (#45192)
* Adds organic slurry

Created by dipping a dead mouse in welding fuel

* Change dreadded message

* Mouse dipping transfers all reagents
2019-07-22 00:21:15 -04:00
nemvar fa4fa7c186 I swear, this is the third time I fixes an issue related to this proc. How hard can it be to get this right? (#45293) 2019-07-21 16:10:01 -07:00
ShizCalev e63c9dd9fa Merge pull request #45303 from nemvar/icewing
Fixes icewing watcher runtime.
2019-07-21 18:40:22 -04:00
wesoda25 d0513516e0 Constructs can now attack other constructs / artificers can now only heal the same type of construct as them (#45254)
* Update constructs.dm

* Update constructs.dm
2019-07-21 15:09:48 -07:00
nemvar 36681ec5d4 You didn't see this 2019-07-20 21:38:15 +02:00
nemvar 64c99a5e6a Fixes runtime over there. 2019-07-20 21:35:29 +02:00
MMMiracles 353457f7d5 Donutstation Tweaks (#45250)
About The Pull Request

    Fixes #45077
    Fixes #42498
    Removes every single instance where a grille could end up on top an active wire in maintenance, making traveling maintenance a lot less of a hassle and less dangerous in general.
    Maintenance bar has been removed due to redundancy and closeness to the actual bar. Wait till season 10 of SS13: Battle Royale to find out what exciting changes will come to the map!
    Space-proof variants of the lizard critter has been added and are working diligently on the above-mentioned bullet-point.
    As part of the white shuttle fix, Donutstation now has a custom shuttle with deep l o r e to explain what happened to the long-past crew.
    Small adjustments to the static loot part of the 'excess storage' rooms near departments.
    Some extra crates has been added around maintenance with respective maintenance loot spawners.

Why It's Good For The Game

Bug fixes relating to the map and some added map content to keep things 'fresh'.
Changelog

cl MMMiracles
add: Donutstation now has its own white shuttle with proper dock.
del: Donutstation's maintenance bar is under renovation.
tweak: Due to above renovations, the goose is temporarily loose.
tweak: Donutstation now has significantly less annoying maintenance grilles
/cl
2019-07-19 23:11:57 +12:00
oranges 8722623453 Grilles no longer try to defib people with no heart (#45211) 2019-07-19 00:09:33 -07:00
nemvar cd9b898ef4 Cleans up sleeping carp exclusive code in human_defense.dm (#45132)
* Cleans up sleeping carp exclusive code in human_defense.dm

* BULLET_ACT_HIT
2019-07-18 20:58:36 -07:00