Commit Graph

84 Commits

Author SHA1 Message Date
tralezab
be1291c232 fixies! (#49534) 2020-03-03 18:18:16 +08:00
AnturK
a2ff959950 Batch of runtime fixes. (#49568)
* Fixes secret sauce recipe paper.

* Fixes say runtime

* Fixes modular computer on holodeck runtime

* Fixes bee runtime

* Fixes grav holopara runtime

* Fixes olfaction runtime

* Fixes zombie runtime.

* Cleanup
2020-02-26 20:47:31 +08:00
Bobbahbrown
476399a346 the span of these changes is immense (#49432) 2020-02-20 13:48:13 +01:00
nemvar
f4f7172c8e Changes the two left feet mutation (#49280)
* Changes two left feet to randomly knock you down instead of prolonging stun times

* adds a span class to the message
2020-02-13 10:37:55 +01:00
Tlaltecuhtli
812a3ab0e8 foxes #48898 chem tongue bug (#49002)
🆑
fix: chem tongue is now only available by combo'ing
/🆑
2020-01-27 11:38:00 +01:00
spookydonut
01b4d9e811 Fix cast() parameters (#48997)
About The Pull Request

Working on detecting type mismatches of parameters for SpacemanDMM and discovered these.

I also checked by hand that all uses of cast() provide a list as the first argument.
2020-01-27 09:48:42 +13:00
tralezab
b5e60140c9 webbing production works now, fixes some grammar (#48922)
* fixes :^(

* whom niggas be like
2020-01-21 08:16:11 +01: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
91a94e46af Mindread now reads the correct true name (#48301)
* Mindread now reads the correct true name

* Fixes dna.real_name
2019-12-22 15:29:25 -05: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
Loomin
2365eefc3d Adds a delay on hulks screaming (#47743)
* I HATE SCREAMING

eugh AHGGGHH CGRAHHHG REEOEEERRRREEE

* I'm dumb and I hope this makes me undumb

* I extra dumb

* This is why I should stop webediting and fix my git

* change the delay time

* shortens delay
2019-11-13 18:04:43 -05:00
MrPerson
6fc8438c46 Laser eyes push you in nograv 2019-11-11 21:42:13 -06: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
William Wallace
061b2558ea remove duplicate definition of /datum/mutation/human/shock's locked var 2019-10-08 22:44:47 +01:00
William Wallace
8d658d1d90 remove duplicate definition of /datum/mutation/human/hulk's locked var 2019-10-08 22:43:38 +01:00
nemvar
a148cae769 Kills obj/item/projectile in favour of obj/projectile (#46692)
* Kills obj/item/projectile in favour of obj/projectile

* Resolves conflicts properly

* fixes that one map

* it lives
2019-10-06 13:37:24 -04:00
nemvar
daffaefb71 Switches out the three billion args of electrocute act for flags (#46564)
* Switches out the three billion args of electrocute act for flags

* Adds autodoc to electrocute flags, sets the boolean I removed and tries to fix the ed209 file

* tries to fix ed209 again

* Fixes 209 hopefully

* Finally fixes that darn file

* one final one to fix the diff

* Or i guess i'll just do it myself
2019-10-02 23:14:19 +02:00
nemvar
27dbe6cf0c Fixes proximity checks (#46652)
* Fixes proximity

* shock hand no longer calls parent

* actually lets just let it do what it does.
2019-09-22 03:03:45 -07:00
nemvar
4c0ef13d2e Moves mutations.dm to mutations/_mutations.dm (#46396)
* Moves mutations.dm to mutations/_mutations.dm

* Updates the dme.
2019-09-09 10:09:10 -04:00
nemvar
a8605de163 Antiglow 2, electric boogaloo. (#46300)
* kgvudb rdfwdu fadada

* alright, this fixes it.
2019-09-03 13:36:27 -07:00
Rob Bailey
2029163d33 playsound vary boolean define conversion (#46254)
About The Pull Request

Converts every single usage of playsound's vary parameter to use the boolean define instead of 1 or 0. I'm tired of people copypasting the incorrect usage.
Also changes a couple of places where a list was picked from instead of using get_sfx internal calls

This was done via regex:
(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\)) to match 1
(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\)) to match 0
full sed commands:
/(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\))/\1TRUE\2/ 1 to TRUE
/(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\))/\1FALSE\2/ 0 to FALSE

I'm not very good with regex and these could probably be optimized, but they worked.
Why It's Good For The Game

Code usability
2019-08-30 18:45:20 +12:00
nemvar
052fa4edb2 Adds a new mutation: Antiglow (#45990) 2019-08-29 16:14:26 -07:00
Strommer Kilian
d11f136f6e [READY] new mutation: autotomy (#45988)
* new mutation: autotomy

* code fixes
2019-08-29 16:13:02 -07:00
Fikou
c2179298cc hulk buff hulk buff (#46101) 2019-08-27 19:06:28 -04:00
Mickyan
93c2dc0c23 [READY]Skateboard overhaul (#45657)
* skeet skeet

* scoot

* removes debug message

* merge conflict

* oopsie

* polish, new board types

* begone

* actioninja review

* passtable trait

* fixes indent

* dwarfism check

* check for existing flag

* check existing trait

* screwdriver returns FALSE
2019-08-24 21:07:26 +02:00
nemvar
a40ee7d303 Changes hulk code. (#45866) 2019-08-17 00:55:27 -07:00
oranges
45175f0d08 Merge pull request #45705 from nemvar/removeslasereyes2
About The Pull Request

Some mutation changes
Laser eyes and TK now use signals.
species_allowed now uses less lists.
Adds a message when you shoot with laser eyes.
Why It's Good For The Game

New and improved. Click code should be as straight forward as possible.
Changelog

cl
tweak: Laser eyes now generate a message when shot.
code: Cleaned up mutation code.
/cl
2019-08-09 11:33:04 +12:00
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
nemvar
d9f887b652 Adds a message when you shoot with the eyes 2019-08-04 18:05:12 +02:00
nemvar
3dd9afe678 Some mutation changes
Laser eyes and TK now use signals.
species_allowed now uses less lists.
2019-08-04 17:57:54 +02:00
nemvar
bf7ff36c86 More robust dorfs. (#45304)
* Matrix magic.

* MANLY DORF
2019-07-21 15:08:29 -07:00
Garen Crownguard
534a9140aa merge 2019-07-05 17:59:38 -05:00
kingofkosmos
fb9731492c * extra spaces removed from "span class = '" --> "span class='"
* warning-spans added to cases of "You need..."
2019-06-25 21:03:25 +03:00
Garen Crownguard
3a37d0322c merge 2019-06-23 20:39:24 -05:00
bgobandit
893b020228 Some spelling and text changes. (#44426)
* fixes some spelling

* Spelling changes, immersion changes, text changes in general

* Update code/datums/mutations/body.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2019-06-11 14:36:56 +02:00
vuonojenmustaturska
2d74a86353 [READY] Cleans up saycode by removing random hook stubs and using a signal where relevant (#44320)
About The Pull Request

This PR removes speech message and span hooks from dna, mutations, pierrot throat disease, species, tongues, masks, hats, held items, brain traumas and a carbon proc overload handling tonguelessness.

Tonguelessness is now handled by tongue removal registering for the speech signal and the hook being deregistered by having a tongue put in.

Also cleans up some /atom/movable/proc/get_spans() overloads that called the empty parent or overloaded the parent to do the exact same thing as the parent proc did.

Also cleans up calls to radio.talk_into() where the caller would often, as a result of copypasta, provide the proc with fresh copies of the proc's default values for proc args, and makes say_quote() better by giving it a default spans value so that none of the callers have to provide the same default one.
Why It's Good For The Game
Changelog

cl Naksu
code: Cleaned up saycode
/cl

* start with this

* oh man this looks so good

* hats are dead

* /obj/item/proc/speechModification is dead

* brain traumas and get_held_item_speechspans() are dead

* these should be static

* unfortunately we still need this

* /mob/living/carbon/treat_message(message) is kill

* clean up get_spans()

* dunk get_spans, modifies_speech for brain traumas, some superfluous static stuff

* move stuff around

* return values
2019-06-06 18:35:06 +12:00
Garen Crownguard
caa683e5b1 merge 2019-06-04 07:04:21 -05:00
Garen Crownguard
4b2fc4cc05 Removes Hygiene 2019-06-04 06:25:51 -05:00
Ghom
17b3091867 Merges tinfoil (hat) protection into the anti_magic component. Implements it on Hivemind gamemode and telepathy. (#43978)
About The Pull Request

Was fairly shocked to find out hiveminds never took tinfoil hat protection in account, so decided to implement the factor in the game mode. Might have overdone it and probably erroneously changed a couple logics while getting rid of some really indented passages that could easily early return.
So what's said on the tin, this is lot more preferable than clunky is_type() checks on headwear anyway.
Also expanded tinfoil protection to hivemind and (non-revenant) telepathy.
Why It's Good For The Game

Let us remember the "purpose" of tinfoil hats.
Changelog

cl
code: Merged tinfoil hat kind of protection into the anti_magic component.
add: Tinfoil hats can also be warped up from excessive dampening of mindray/though control/psicotronic anomalies, or by simply being microwaved in an oven, and become useless.
add: Immortality Talisman and Paranormal Hardsuit helmets now come with tinfoil protection too (minus the paranoia and limited charges).
balance: Rebalanced many hivemind effects to be dampened/delayed by tinfoil shielding. Bruteforced Assimilate Vessel, One mind and Awake Vessel abilities will consume more tinfoil charges compared to others.
balance: Genetics/Slime/Alien Telepathy and Slime Link are now stopped by tinfoil protection.
/cl
2019-05-30 20:29:30 +12:00
Garen Crownguard
c69a359f20 ling fixes (#44055)
About The Pull Request

Fixes #37273
Fixes #37507
Changelog

cl Garen7
tweak: Lesser form lings can now toggle augmented vision
fix: You can no longer turn back into human form as a lesser form ling while ventcrawling
fix: Stuns and Reagents are now passed when transforming into a monkey or human
/cl

It didn't seem like augmented vision was meant to only be usable as a human so I made it usable as a monkey, if the original creator wanted it to be only usable as a human they would have assigned the var req_human of the augmented vision ability to TRUE since thats where this behavior is usually handled.
2019-05-27 22:36:08 +12:00
vuonojenmustaturska
e123400d00 Removes the mutation on_move hook (#44060)
Why It's Good For The Game

This

for(var/datum/mutation/human/HM in dna.mutations)
	HM.on_move(NewLoc)

pattern is just awful, especially when only one mutation out of all of them implements it.
Changelog

cl Naksu
code: removed /datum/mutation/human/proc/on_move in favor of having the chameleon mutation register for a signal
/cl
2019-05-22 10:49:28 +12:00
skoglol
9f575d56d3 Shock touch no longer shocks yourself (#43939) 2019-05-13 16:54:36 -04:00
vuonojenmustaturska
c5784e3471 Fixes a runtime in mutations (#43858)
power is a typepath and not a number. Trying to instantiate a number via new runtimes.
Changelog
2019-05-09 09:21:20 +12:00
vuonojenmustaturska
fb45b7a017 Turns trait accessors into defines, fixes some bugs (#43820)
It's free performance.
2019-05-06 19:44:05 -04:00
Strommer Kilian
9529063aa3 New brain trauma: expressive aphasia (#43608)
* new mutation: simple speech

* finalize simple speech and fix word list apostrophes

* Is now a brain trauma instead

* fix merge conflict

* grammer fix

* cleanup cause I'm an idiot

* made the suffix list a bit easier to read

* fix traits.dm
2019-05-02 19:48:38 +12:00
Time-Green
35738909fc Fixes some inconsistencies in genetics (#43583)
* Adds chromosome interactions with more mutations

* Makes upgrades affect printing cooldown

* Fixes a runtime with monkey dna and human eyes
2019-04-16 21:32:30 +12:00
RaveRadbury
270d76a915 Fix typo in Space Adaptation description (#43476)
INCREDIBLY CRUCIAL BUGFIX

IF IS NOT OF BUT NOW IT IS
2019-04-03 16:28:51 -07:00
Time-Green
6f81c4daa5 fixes laser eyes (#43421) 2019-04-02 16:10:06 -04:00
PKPenguin321
8b8fee0ab5 X-Ray Balance (#43340)
X-Ray vision can no longer be obtained via a random gene sequence at
roundstart. X-Ray now has 35 instability, up from 25. A new gene,
thermal vision, has been added to genetics. You can create X-Ray vision
by mixing Thermal Vision and Radioactive together.

Requiring the gene to be mixed:
- Further timegates it
- Reduces the odds that it will be available in a given round of n length
- Means that you will NOT be able to circumvent the instability, as you
  will never have the gene naturally

Bumping the instability:
- Means X-Ray now takes up a whole 1/3rd of your instability by itself
- Is a serious decision, since you can not circumvent the instability
  (see above)

Thermal vision is just a strictly worse xray
2019-03-27 22:18:20 -07:00
ShizCalev
a43c4acabc Fixes some minor speech replacement stuff (#42783)
cl ShizCalev
fix: Corrected slime mutation not correctly replacing the word douchebag.
fix: Fixed Elvis speech mutation inserting the word "getting" when saying "muh valids"
/cl
2019-02-25 15:01:28 +13:00