Commit Graph

1101 Commits

Author SHA1 Message Date
Timberpoes 0467f4094d Fixes limb hot-swapping not working (#49792) 2020-03-09 19:11:15 -07:00
Dennok 8a888c690c Fix on station jet air using and trails only on use. (#49567)
* Update carbon_movement.dm

* Carbon use jets before basic spacemove sources

Now carbons dont try propel yourself by thing around, when use jet.

* up

* Jet used when jet must be used

No more persistent jet air use

* Jet implant used when jet implant must be used

No more persistent jet implant air use

* TRUE and FALSE in carbon_movement.dm

* missing right-paren

* missing right-paren in imp

* better jetpack check

* better augment jetpack check

* augment jet toggle on fix

* fix m

* up

* Jet trails only on air use
2020-03-08 20:35:10 -04:00
moo ea4deac16d Tend Wounds now provides xp off healed amount, not repeated iterations (less XP overall) (#49724)
* m

* Update healing.dm
2020-03-06 11:12:55 +08:00
spookydonut 29fe3a0b76 a couple more genetics perks: martyrdom and HARS, locks chem spike behind crafting only (#49062)
* getting somewhere

* cleanup one

* cleanup two

* supermatter immunity > HADS

* more fluff

* proper return, compile

* lint

* lint 2 electric boogaloo

* cobby happy

* HADS

* some more changes

* i don't know why this file went rogue

* final fixes, small name change, difficulty up (polish!)

* skog help

* EUREKAAAAAAAAAAAAAAAAAAA

* chelp

* reverts some regenerate limbs changes as they are no longer needed, fully integrates attach limb power

* minor fuck before the big fuck

* the big fuck ALMOST DONE, FINISHING TOUCHES NEEDED

* the big fuck finale

* teenie fuck ;)

* line endings

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-03-05 20:49:24 +08:00
spookydonut 880280ed48 Revival surgery is no longer an advanced surgery (#49489)
* Update revival.dm

* Update medical_designs.dm

* Update all_nodes.dm

* Moves the surgery out of advanced folder

* dme

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-03-05 20:36:21 +08:00
nightred 15452cac44 [READY] Two Handed Component (#49422)
About The Pull Request

For an item to be two handed just add this handy component.

All existing two handed items have been converted to use this component.
Why It's Good For The Game

It has components and signals, and now you can make items two handed so simply.

/obj/item/shockpaddles/ComponentInitialize()
	. = ..()
	AddComponent(/datum/component/two_handed)
2020-03-04 11:26:01 +13:00
spookydonut 1a9ddbee5f Merge pull request #48959 from Ryll-Ryll/embeddead
Refactors embedding, adds harmless embeds, sticky tape, admin buttons to make everything embeddable
2020-02-24 15:43:36 +08:00
spookydonut 6401ba5708 Merge pull request #49421 from ShizCalev/define-cleanup
Cleans up redundant math defines
2020-02-20 19:32:36 +08:00
ShizCalev 1be21a5ea3 Merge pull request #49125 from ATH1909/ghetto-saw
Adds all sharp items that have a force >=10 to the list of items that can be used for the saw bone step in ghetto surgery
2020-02-18 23:55:33 -05:00
ShizCalev 838d0aedbd Merge pull request #49398 from improvedname/Magigay
Adds a laserarm implant to roboticist traitor only, Adds new syndicate autosurgeon sprite
2020-02-18 22:44:10 -05:00
Ryll-Ryll 1fae3d4c22 new beginnings 2020-02-18 02:06:35 -05:00
ShizCalev 7209ac3c93 Removes unnessacary math defines 2020-02-17 23:09:09 -05:00
Nick b8e1393330 Update code/modules/surgery/organs/autosurgeon.dm
Co-Authored-By: swindly <swindly_tg13@aol.com>
2020-02-16 20:17:33 +01:00
Improvedname 12225144a0 BOOM 2020-02-16 19:51:19 +01:00
moo bb3d562d01 Cobbduceus: Surgery Skill XP/Step Buffs (#49196)
* 💉

* 🐣

* excels help

* waaa_fb

* fixed lobotomy skill

* waaa_fb2
2020-02-14 19:17:27 +01:00
ATH1909 b02a66ee83 Update organic_steps.dm 2020-02-09 14:17:42 -06:00
moo 8d71749ec2 Merge branch 'master' into ghetto-saw 2020-02-06 16:45:05 -05:00
wesoda25 8847c5eb4f Lung damage makes you cough (#49014)
* Update lungs.dm

* Update tgstation.dme

* brain

* onprocess not onspawn oops

* Update tgstation.dme

* please

* Update lungs.dm

* hopefully less shitcode

* thx bro
2020-02-04 16:07:59 -05:00
skoglol c44e913803 Some more cloning prep stuff (#49090)
* defib texts improved, now gives a little guidance.

* Removes the superfluous braindeath

* Organ repair surgeries now repeatable

* Death info message

* Reverts repeatables, improves brain repeatable

* defib more forceful, better brain messages, better mannitol healing.

* OR

* Update code/modules/surgery/brain_surgery.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

Co-authored-by: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-02-04 13:50:56 -05:00
Qustinnus 48de09b7a4 Edible component; be gone vile organ code (#48596)
* component

* progress

* stuff

* Makes minor progress on edible component

* Finishes component and applies it to organs

* newline

* forgot to send signal

* domob addition

* wave that organ flag

* return adde

* fixes some minor issues

* fixes

* done

* done

* done

* added last one

* done

* done

* fix
2020-02-04 01:05:55 -05:00
ATH1909 8952e1ec72 Update organic_steps.dm 2020-02-01 12:34:43 -06:00
ATH1909 52ce42a548 Update organic_steps.dm 2020-02-01 11:44:08 -06:00
Rohesie 7bef84f009 Mass-replacement of stat to machine_stat (#48758)
Living and machine stat vars are pretty different, one uses flags and other number-defines.
This should make some other mass-replacements and searches a bit easier.
2020-01-24 12:37:17 +13:00
MrPerson 26093e5ac2 Further update_icon splitup (#48784)
* Further update_icon splitup

After this there'll be just under 100 old update_icon() calls that need fixing.

* Thanks Travis
2020-01-22 10:18:05 -05:00
tralezab 4a48f2b9d9 adds genetic powers (theres a new one since you last looked) (#48665)
* relic file

* Revert "Merge branch 'master' of https://github.com/tralezab/tgstation"

This reverts commit 826916d87b421dbb0ebcfce7fad96e456b6d3674, reversing
changes made to a0f476d874.

* tongue spike, chem spike

* oh god github desktop is shitting and farting

* ahhhh so broken bros

* final commit before recreation

* readds sprites, makes it work and compile

* webs

* sprite readded

* web icon

* cooldown fix

* compile dammit

* review done

* early return
2020-01-19 18:29:18 -05:00
skoglol 98de223135 Adds basic cybernetic organs, rebalances existing (#48714)
* Adds basic cybernetic organs, rebalances existing

* Adds severity to the emp calculation

* reduced maxhealth drasticly

* Apply suggestions from code review

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

Co-authored-by: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-01-18 19:35:03 -05:00
MrPerson f7eb2c905b Unicode awareness Part 2 -- copytext() (#48512)
* Unicode support Part 2 -- copytext()

This is the transition of all copytext() calls to be unicode aware and also some nearby calls in the same functions. Most things are just replacing copytext() with copytext_char() as a terrible character limiter but a few others were slightly more involved.

I replaced a ton of
````
var/something = sanitize(input())
something = copytext(something, 1, MAX_MESSAGE_LEN)
````

with a single stripped_input() call. stripped_input() already calls html_encode(), trim(), and some other sanitization so there shouldn't be any major issues there.

This is still VERY rough btw; DNA is a mess, the status displays are complete ass, there's a copytext() in code\datums\shuttles.dm that I'm not sure what to do with, and I didn't touch anything in the tools folder. I haven't tested this much at all yet, I only got it to compile earlier this morning. There's also likely to be weird bugs until I get around to fixing length(), findtext(), and the rest of the string procs.

* Makes the code functional

* Assume color hex strings are always # followed by ascii.
Properly encodes and decodes the stuff in mob_helpers.dm which fixes some issues there.

* Removes ninjaspeak since it's unused
2020-01-18 13:07:22 +13:00
cacogen 9c0e629a54 Fixes misleading info on brain damaged head examine (#48791)
Also punches up some of the other head descriptions
2020-01-16 20:42:51 -05:00
ArcaneMusic 87aac02fcd Adds a new surgery, "Stomach Pump" (#48728)
* Fuck it, still not working but the work is at least started

* ALRIGHT we got this shit working off of existing procs now, no bloat :arm:

* Alright take 2, it's still not removing 2/3 instead of 1/10

* Alright this still isn't working fully. Thoughts?

* Attempted calling purge alone.

* Where I got before calling it tonight

* Re-adds bools.

* Alright cool, now 2/3 of the body's chemicals are being purged at a time, if this is too high, let me know.

* Renames the surgery to "stomach pump" to better match it's effects.

* Fixes leftover sprites from the organ PR, forgot to rename fully.

* FINE COBBERT
2020-01-15 16:53:44 -05:00
Rohesie 675a358b1b Moves mob stat var changes to a proc (#48760)
* set_stat

* Adds a signal.

* Signal comes before
2020-01-15 16:43:10 -05:00
skoglol 59278c55ba Reduces heart decay, ear damage slightly less bad (#48715)
* Reduces heart decay, ear damage slightly less bad

* Removes defib time limit
2020-01-14 18:31:16 -05:00
wesoda25 030303d952 Ethereals now discharge electricity if their charge is too high (#48573)
* if this works i will be happy

* :(

* explosion

* brutemod

* george melons
2020-01-10 23:14:41 +11:00
Ghom c5b5d96130 Just a few dullahans fixes. And no, it doesn't fix headless monkys yet. (#48633)
* A few dullahans fixes and QoL.

* Binary operators.
2020-01-10 22:21:20 +11:00
Dorsisdwarf 051c421c45 Updates the Limb Grower (#48678)
* Updates limbgrower

removes fly parts, adds ethereal parts, adds lizard tails, fixes random coloring

* adds newline at end to remain compatible with other pr

* Removes lizard tails

By popular request
2020-01-10 21:39:08 +11:00
skoglol 294b7899aa Merge pull request #48532 from wesoda25/zoomzoom
Changes Numerous Speed Substances and Items
2020-01-07 10:55:27 +01:00
thebleh 8bfaa5d408 Fixes cyborg messaging on surgery cancel (#48588)
* improve attempt_cancel_surgery handling of borgs

* turn the cyborg check into else if
2020-01-07 09:37:27 +01:00
MrPerson d5b98c4d8d Unicode support Part 1 (#48304)
* Unicode support Part 1

Makes all calls to ascii2text() and text2ascii() unicode aware as well as all calls in code/__HELPERS/text.dm.

Adds defines for the footext_char() procs to maintain 512 support.

I did some cleanup on the text helpers since a lot of them were really, really bad.

reject_bad_text() and reject_bad_name() have an arg to reject non-ascii chars which defaults to TRUE.

* Give travis a more recent beta

* Ultimate compat
Added the _char procs I was missing
Test the build instead of the version because Lummox is a goddamn moron

* Suggested fixes, removes the last of the dd_ helpers

* Reading the reference is very important!

* Minor code improvements and a comment

* Typo
2020-01-07 09:25:47 +01:00
Qustinnus 2a1c921acb Refactors skill modifiers to use dictionaries (#48572)
* adds dictionaries woo

* fixes bad code

* duh
2020-01-05 19:46:25 -05:00
s d9adb4f5b6 skogs stuff 2020-01-05 19:23:44 -05:00
AnturK e624cabe5d Fix various runtimes (#48563)
The grille one could use a lower level solution eventually. As in 
separation of simple animal attack/visuals/aftereffects but that's 
bigger refactor.

* Fixes explosion dismemberment runtime.
* Fixes removing pen from PDA runtime.
* Mulebot bullet act runtime.
* Trying to refuel plasmacutter with fuel runtime.
* Fixes grille runtime.
* Teslium reaction runtime
* lavaland elite win runtime
2020-01-04 22:13:10 -08:00
moo 4022d0c427 Bumps up Surgery XP gains, Fixes Surgery XP Gains, Fixes Surgery Failure Bug (#48231)
* works on my machine

* saving is a sin 1% of the time!

* works... on... my... machine...?

* i can't test this but it worked on my machine too

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* more testing /w TW

* caps XP gain (per iteration) for TW

* no skinnies

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-01-02 23:48:15 +01:00
81Denton 557d5f3266 Merge pull request #48505 from ninjanomnom/waddle-element
Makes waddling an element
2020-01-01 17:19:17 +01:00
81Denton d2bb79cd81 Merge pull request #48479 from kriskog/vogfix
Fixes voice of god muting
2020-01-01 15:04:07 +01:00
Krysonism 135db6570f [READY]Da amputation update. New premium surgical tool / tail harvesting device. (#48271)
* base

* Felinid's worst nightmare

* Apply suggestions from code review

Co-Authored-By: PKPenguin321 <pkpenguin321.git@gmail.com>

* Stronger outlines / desc / no skill benefit

* fixies for review

Co-authored-by: PKPenguin321 <pkpenguin321.git@gmail.com>
2019-12-31 19:40:58 +01:00
Emmett Gaines 119c4ebca3 Makes waddling an element 2019-12-31 12:55:53 -05:00
skoglol 19918e005d Fixes voice of god muting 2019-12-30 19:44:59 +01:00
EOBGames fb1b9127ce New racial languages (#48309)
* Racial Languages

Adds a whole bunch of racial languages.

* Travis you are a cruel mistress

Snarky comments will be the death of me

* Better names, better language distribution

Decided to take some suggestions from the github and discord

* 2001: A Space Indent Odyssey

Fixed that stuff for you, green name man
2019-12-24 16:08:43 +01:00
nightred 1c9b672005 Breath interacts with body temperature (#48364)
* breath interacts with body temp

* the words are better

* Removed offset

* breathe
2019-12-23 21:48:34 -05:00
AnturK c06a1324b3 Another bunch of runtime fixes. (#48315)
* Pipe init runtime

* Modular computer explosion runtime.

* Waterbottle thrown by explosion runtime.

* Spark runtime. Should systems continue after deletion ?

* restore ghost appearance runtime

* parallax update timer runtime.

* borg unbuckling runtime

* surgery cancel runtime. FALSE is not a null.

* relic self deletion runtime.

* dog collar runtime

* Another part of that buckled_mobs robot runtime.

* Let's go over all of these

* free ()

Co-Authored-By: MrPerson <spamtaffic@gmail.com>

Co-authored-by: MrPerson <spamtaffic@gmail.com>
2019-12-21 18:28:19 +01:00
skoglol 4a487ca803 Refactors language holder (#48106)
* Language holder refactor

* Ironed out bugs, testing

* adds sourced language, blocking list. more useful helpers.

* Replaced old usage

* Adresses requests

* Autodoc attempt #1

* Fixed monkeyize (again)

* Travis happy

* Language menu updated

* Final pass
2019-12-18 22:22:12 +01:00