Commit Graph

1082 Commits

Author SHA1 Message Date
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
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
AnturK
54f32f26ad Fixes few minor runtimes. (#48234)
* Fixes emagging stuff without user

* Fixes missing initalizes

* Fixes deconstructing for materials

* Fixes tracker bullets runtime.
2019-12-14 14:15:15 -05:00
PKPenguin321
a8e90b6c38 just the drill killin' (#48207) 2019-12-13 20:49:45 -05:00
JDHoffmann
aed514b36e Corner case speedups for bola and bear trap (#48194)
* Update speed in dismemberment

* updates speed in Uncuff()

Used in freedom implants, cult stuff, etc.

* update speed after stripping other

makes changes to speed like removing someone's bear trap instant.

* update speed on handcuffs removed by Uncuff()
2019-12-12 00:17:46 -05:00
Ryll Ryll
beff318999 Adds a bunch of new achievements (#48094)
About The Pull Request

Now that achievements are open for adding again, adds 7 new misc achievements-

    Disk, Please!: As a nuclear operative, hold up the captain with a loaded rocket launcher. The captain must be conscious for it to count!
    My Watchlist Status is Not Important: Get reported to security and medical staff by displaying antisocial tendencies in a video game.
    I Was a Teenage Anarchist: Get killed by a vending machine falling on you.
    Mister Sandman: Kill someone by botching surgery while they're asleep
    A Bowl-d New World: Die to a toilet
    How Do I Switch Hands???: Hit yourself idiot
    One Lean, Mean, Cleaning Machine: Gaze upon a fully promoted cleanbot

Why It's Good For The Game

Adds more fun things to do for the gamer cred that aren't just killing things on lavaland
Changelog

cl Ryll/Shaps
add: A bunch of new achievements have been added! To name a few, there are achievements for holding up the captain with a rocket launcher as a nuclear operative, dying to inanimate objects, dying in a toilet, and getting watchlisted! Go do some dumb stuff!
/cl
2019-12-11 14:36:31 +13:00
ShizCalev
8efa6479ce Adds cell deletion handling for stunbatons (#48108) 2019-12-06 12:20:24 +01:00
Ryll Ryll
75af862fee Buffs immersion, adds manual blinking and inhale/exhale checks (#47704)
* *blink *inhale *exhale *blink *inhale *blink *exhale

* rapidly blinks

* mass immersion

* how was that even working

* manual blinking today, manual breathing tomorrow

* b

* cleansed

* more neatening

* minus check

* Update code/modules/admin/verbs/randomverbs.dm

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

* un-nom's my code

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

* un-nom's my code

* less
2019-12-04 16:02:42 +00:00
skoglol
a21bb84423 fixes limb updating (#47926) 2019-11-22 21:33:42 -05:00
moo
964b3d65d5 Cobbduceus: Healing lvl? (Medical Skill) (#47538)
* b

* helps to commit huh

* math is hard

* parenthesis are even harder

* Update code/datums/skills/_skill.dm

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

* removes efficiency... or efficacy 😏

* baby sha... i mean files
2019-11-21 04:49:24 +00:00
ShizCalev
d6b97c97fa Merge pull request #47721 from ATH1909/augh
Reduces the number of steps in the augmentation surgery
2019-11-19 00:26:47 -05:00
ATH1909
277f3df7d1 Update limb_augmentation.dm 2019-11-11 15:17:54 -06:00
Tlaltecuhtli
a68a4cf985 actively made research creates a usable item instead of making them get added to techweb instantly (#47088)
* Update maps.txt

* 1

* 2

* 8============>

* x

* test?

* newline

* d

* sdffsd

* Update code/modules/power/singularity/collector.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2019-11-07 18:05:48 -05:00
spookydonut
2591ce17a6 Travis EOF newline detection v3 (#47539)
* scream

* aaa

* aaa

* new one
2019-11-04 19:16:50 -08:00
kingofkosmos
8768b6b3b5 Removes unused & undefined spans (#47436)
* Removes all instances of 'caution', 'error' and 'notify'.

* Removes span classes which were either not used at all or were used very infrequently.
2019-10-30 02:00:11 -07:00
ATH1909
06e0f0ed6b TRIES TO FIX MILK FOR THE THIRD TIME (#47375)
* Update liver.dm

* Update life.dm

* Update life.dm

* Update liver.dm

* Update life.dm

* Update life.dm

* Update life.dm

* Update life.dm
2019-10-29 18:05:38 -04:00
Firecage
34427d9872 Some bags and belts can hold more stuff. (#47318) 2019-10-28 17:07:58 -04:00
skoglol
2dd01611fc Some input() sorting fixes (#47354)
* dynamic gamemodes

* Some input fixes
2019-10-25 03:15:26 -04:00
81Denton
6b1161ecd9 Cleans up revive related procs (#47025)
* Cleans up revive related procs

* h

* fuck

* Fixes proc arguments

* Further fixes

* Unfucks line endings
2019-10-22 15:16:13 -07:00
skoglol
938e66f62c Adds sorting to most input() lists (#47117)
* Adds sorting to most input() lists.

* Sorted some global lists, added more input sorting

* Should now use correct sort everywhere.

* compiles

* Last fixes.
2019-10-22 04:28:42 -07:00
Jordie
8a0058df3c Merge pull request #47189 from nemvar/fixessurgeryduplicate
Gets rid of duplicate code and fixes surgery start runtime.
2019-10-21 20:57:47 +11:00