Commit Graph

270 Commits

Author SHA1 Message Date
Leo be4edbf8c3 Merge pull request #26706 from XDTM/TiredVoice
Removes Rest from Voice of God
2017-04-30 13:22:52 -03:00
XDTM daf10acbf1 Removes Rest from Voice of God 2017-04-29 10:53:50 +02:00
QualityVan ede45fdc9f Prevents GODMODE mobs from dying to organ removal 2017-04-28 16:20:09 -04:00
oranges d95e859e5d Merge pull request #26386 from ChangelingRain/initialnew
New() goes in the trash, we've gotta Initialize()
2017-04-27 10:15:10 +12:00
coiax b7768c3b95 Fixes monkey transformation instantly killing a person (#26584)
🆑 coiax
fix: You no longer die when turning into a monkey.
/🆑
2017-04-25 22:44:52 +02:00
Joan Lung 228df13447 Merge branch 'master' of https://github.com/tgstation/tgstation into initialnew
Conflicts:
	code/modules/mob/living/simple_animal/hostile/megafauna/dragon.dm
	code/modules/station_goals/bsa.dm
	code/modules/vehicles/atv.dm
2017-04-25 07:32:06 -04:00
MrPerson ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Joan Lung dc0e007a23 A bunch of Initialize()s now have return values (#26464) 2017-04-25 10:51:40 +02:00
QualityVan 39113655eb Fixes flashlight eyes (#26497)
* Fixes flashlight eyes

* jesus that's a lotta light

* Rebasing

* test

* nothing to see here
2017-04-25 10:50:44 +02:00
coiax 9bae54c45c Plasmamen tongues, plasmaman lung sprites (#26441)
* Plasmamen tongues, plasmaman lung sprites

🆑 coiax, WJohnston
add: Plasmamen lungs, also known as "plasma filters" now look different
from human lungs.
add: Plasmamen now have their own special type of bone tongue. They
still sound the same, it's just purple. Like them.
/🆑

Thanks to @WJohnston for the sprites.

* Actually uses new tongue sprite
2017-04-24 05:05:41 -04:00
QualityVan 12406125a8 Braining/debraining fixes (#26346)
* Changes ling brains to be more completely fake

* whoops forgot to convert this

* Fixes cloned changelings having the wrong sort of brain, prevents brains from holding onto brainmobs for too long, renames brains as soon as they're inserted rather than on removal so you can't remove an item called B's brain from A's head

* travis pls fix

* Safeties in case a brain inside someone is destroyed.
2017-04-23 21:48:19 +02:00
coiax ae8b22c49e Fixes runtime when carbon mobs have no earwear (#26442)
My bad.
2017-04-22 12:52:34 -04:00
Joan Lung 59b905f5ef reeeeeeeeeeee 2017-04-22 10:01:50 -04:00
coiax f993f9ce36 Refactors ear damage into ear organs (#26044)
* Refactors ear damage into ear organs

🆑 coiax
add: Centcom would like to inform all employees that they have ears.
add: Adds "ear" organs to all carbons. These organs store ear damage and
deafness. A carbon without any ears is deaf. Genetic
deafness functions as before.
/🆑

- `ear_damage` and `ear_deaf` vars removed from /mob.
- All mobs have a `can_hear` proc, which returns TRUE always except for
carbons.
- Carbons need to have an ear organ that has 0 `deaf` var.

- Explanation of how ear damage works is in the code, it hasn't been
changed from previously. Deafness is applied in number of Life ticks
until you regain hearing, while damage is long team, heals slower, and
when high enough, can cause flashbangs to make you go permamently deaf,
as before.

- Wearing earmuffs halves the healing time of deafness, and promotes
healing long term ear damage, as before. Earmuffs now have a secondary
flag HEALS_EARS, which currently only they own.

* Changes how soundbang deafness works slightly

* Ear organ icon

* Code review I

* Makes fully healing carbons not dependent on having a dna and species

* Gives monkeys and aliens ears

* Whoops

* Split organs into seperate files

* Tweaks.

* Un-removes brain damage lines

* Moved procs onto /mob for ear stuff

* Massages things into compiling

* Replacement of spam_flag with world.time tracker
2017-04-22 08:51:03 -04:00
Cheridan 5476503717 Merge pull request #26388 from QualityVan/armlasers
Fixes armlasers breaking on retract
2017-04-20 20:38:52 -05:00
QualityVan 3f646d9564 Fixes armlasers breaking on retract 2017-04-19 19:12:56 -04:00
Joan Lung 52cb6f9c06 some failures are just overchanging stuff 2017-04-19 18:43:14 -04:00
Joan Lung db9d86a39e New() goes in the trash, we've gotta Initialize() 2017-04-19 18:22:26 -04:00
XDTM c593f689cf Fixes flashlight eyes 2017-04-17 19:10:15 +02:00
oranges 66af2bc853 Merge pull request #26025 from kevinz000/patch-124
Nerfs CNS rebooters with a bugfix
2017-04-12 11:21:27 +12:00
Kyle Spier-Swenson 11d504e93a Removes hacky see in darkness invisibility bullshit, uses planes. (#25931)
* Removes hacky see in darkness invisibility bullshit, uses planes.

Also removed the use of invisibility for ghosts of others, instead using override images.

Per client lighting visibility now has 4 levels, all on, all off, and two midways, this allows for things to be able to see in the dark while still being able to see what is dark and what has light, ghosts and aliens and other shit can cycle between all 4, other things were given one of the 3 values depending.

* Remove qdel global var search.

* Cleans up code, makes changing lighting/NV level easier.
2017-04-11 21:01:24 +12:00
kevinz000 88e1dbc3d7 Update augments_internal.dm 2017-04-09 08:13:29 -07:00
Cyberboss 9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Cyberboss 22fe5b12f1 Merge upstream 2017-04-02 22:27:22 -04:00
coiax 7554b5f454 Language datums; removes the talk wheel (#25333)
* Initial burst of languages

* Scratchings of beginnings

* Code review I

* Compilation!

* You can now understand your own speech

* Fixes whispering

* Gets typecaches working again

* Remie's `PASS`ing

* Back to pass() to stop the compiler whining

* Why can't drones check their languages

* Everyone speaks how they should

* Removes world string debug stuff

* Currently failing to massage radio code into working

* The radio transmits the languages!

* ,0 to talk common

* Replaces speech wheel with language menu

* Observers can speak all languages

* pAIs now speak languages FOREVER

* New action button for language menu

* pAIs have an action button to open their language menu

* AIs can talk and all that

* AIs have a language menu button

* Fixes supermatter making strange noises

* Fixes AI holopads

* Fixes request consoles

* Fixes bots making strange sounds

* Meaningless MMI change

* Some caching of datums

* Brains in MMIs speak common

* Ratvarian AIs can only speak Ratvarian

* Tables can speak common, apparently

* Removes var in args

* Fixes the (AI Eye) problem

Thanks to Shadowmobile for their help with this one.

* Fixes tape recorders

* Fixes humans being able to speak in languages they did not know

* Adds some new posibrain names

Honk.

* The voice analyzer replies in the language you spoke to it

* Gives swarmers only swarmer language

* `initial_languages` var.

* OMNITONGUE, clockwork restrictions

* Fixes barmaid and bardrone language abilities

* Code review I

* Omnitongue correction

* Code review II

* Removes force_compose var
2017-04-02 21:03:40 +02:00
Cyberboss 5646c736c8 Merge upstream 2017-03-30 19:18:59 -04:00
coiax 000e923a87 Autoimplanters renamed to autosurgeons; nuke op autosurgeon fix (#25549)
* Autoimplanters renamed to autosurgeons; nuke op autosurgeon fix

Fixes #24443.

🆑 coiax
add: Autoimplanters have been renamed to autosurgeons. Currently only
the CMO and nuclear operatives have access to autosurgeons. What is the
CMO hiding?
fix: All upgraded organs for purchase by nuclear operatives now actually
come in an autosurgeon, for speed of surgery.
/🆑

- Autosurgeons now insert any type of organ put in
- Replaced organs are dropped on the floor by default, and if told not
to, will GC, rather than just disappearing through lack of references
- Makes autosurgeons have a `starting_organ` type, where it'll make an
internal organ to be dispensed.
- Autosurgeons now change their name depending on their internal organ
- Nuke ops now just buy the autoimplanter with the organ already inside
it.

* Fixes naming and sprite
2017-03-30 22:09:35 +13:00
Cyberboss cd050a38f0 Merge branch 'master' of https://github.com/tgstation/tgstation into TiredOfTheInconsistency 2017-03-24 16:34:20 -04:00
Iamgoofball 361d4f7547 Removes the undertale skeleton toy (#25422)
* GOOFBALL'S OUTDATED MEME PURGE #2: Undertale

🆑 GOOFBALL'S OUTDATED MEME PURGE
fix: Remember when undertale was the popular meme with le Sans and le Paprika and le doggos? xddddDDDDDDD
fix: Removes their shitty meme toy that no one uses. Again.
/🆑

* Update arcade.dm

* Delete papyrus_1.ogg

* Delete papyrus_10.ogg

* Delete papyrus_2.ogg

* Delete papyrus_3.ogg

* Delete papyrus_4.ogg

* Delete papyrus_5.ogg

* Delete papyrus_6.ogg

* Delete papyrus_7.ogg

* Delete papyrus_8.ogg

* Delete papyrus_9.ogg

* Delete sans_1.ogg

* Delete sans_10.ogg

* Delete sans_2.ogg

* Delete sans_3.ogg

* Delete sans_4.ogg

* Delete sans_5.ogg

* Delete sans_6.ogg

* Delete sans_7.ogg

* Delete sans_8.ogg

* Delete sans_9.ogg

* Update organ_internal.dm

* Update packs.dm
2017-03-25 09:16:20 +13:00
Cyberboss 089e145ce6 SSmob -> SSmobs 2017-03-22 11:41:52 -04:00
MrPerson ece7b0f247 Fixes everyone having white eyes
#25244
2017-03-18 19:03:37 -07:00
AnturK 0fcfa0b61f Fixes few runtimes. (#24930)
* Fixes regenerate organs runtime on simple animals

* Status display initialize

* Security records runtime (this code is bad)

* Moves record removal to destroy
2017-03-13 11:33:58 +13:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
PJB3005 a63608d023 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-03-03 16:31:00 +01:00
XDTM 34aafab401 Fixes Voice of God (#24328) 2017-02-23 20:20:25 +01:00
coiax 05026eee88 Taste (#24323)
* Adding taste to reagents

* Toxins mostly taste bitter.

* The taste of medicine is mostly bitterness

* Drugs taste bitter too

* It turns out pyrotechnics mostly taste like burning

* Alcohol and blob tastes

* Drinks taste mostly of drinks

* And the food reagents are the last, but not least

* Actual taste code

* You can now taste freshly spawned carrot cake

* Bread, burgers

* Debugging tasting

* Always add the reagents properly, I guess

* Finally got nutriment scaling working

* Finally got all the stuff working and mixing

* PEOPLE CAN NOW TASTE THINGS

* Mouthful only has one L

* Meat n dough

* Eggs and cakes

* Meat dishes taste of meat

* Others...

* Pastry... there is no end to the food

* PIE AND PIZZA

* SANWHICHES, SALAD, SOUP

* THE LAST OF THE FOODS ARE COMPLETE

* Weird indentation issues fixed

* Remove dat debug code

* Hydroponics and sugar is less strong

* Replaces carrot cake reagents

* Code review

* Fixes bad flavours
2017-02-23 00:59:34 -06:00
coiax de0b29dea6 Partially grown clones are horribly disfigured + cardiac arrest refactor (#24106)
add: Refactors heart attack code, a cardiac arrest will knock someone unconscious and kill them very quickly.
add: Adds corazone, an anti-heart attack drug, made by mixing 2 parts Phenol, 1 part Lithium. A person with corazone in their system will not suffer any negative effects from missing a heart. Use it during surgery.
add: Abductor glands are now hearts, the abductor operation table now automatically injects corazone to prevent deaths during surgery. The gland will restart if it stops beating.
fix: Cloning pods always know the name of the person they are cloning.
add: You can swipe a medical ID card to eject someone from the cloning pod early. The cloning pod will announce this over the radio.
del: Fresh clones have no organs or limbs, they gain them during the cloning process. Ejecting a clone too early is not recommended. Power loss will also eject a clone as before.
del: An ejected clone will take damage from being at critical health very quickly upon ejection, rather than before, where a clone could be stable in critical for up to two minutes.
add: Occupants of cloning pods do not interact with the air outside the pod.


After @Cyberboss 's multi-pod cloning got merged, I scrapped the multi-pod stuff from my own work, and brought back the maiming.

Early ejected clones being partially disfigured is a cool feature.

This penalises (but does not completely remove) speed cloning, as there is a window where the clone can be ejected without missing any limbs or organs. Otherwise the clones will probably die due to lack of lungs or heart.

Heart attacks are more lethal, there's an easy medicine for treating them, if chemistry have it on hand.

Clones not reacting to the air around them is a buff to plasmamen (although they'll still burn to death once they're ejected in an oxygen atmosphere).
2017-02-21 11:13:54 +13:00
BroseidonMOO f6a91ce346 Prevents Voice of God from sleeping non-organics (#24280)
* Prevents Voice of God from sleeping non-organics

* Update vocal_cords.dm

* Update vocal_cords.dm

I am really dropping the ball on this stuff.
2017-02-20 22:47:26 +13:00
XDTM 44c16a3448 Refactors VoG into a proc/spell (#24117)
* Makes VoG into a spell

* conflicts

* ARE YOU QDELETED
2017-02-20 09:49:53 +13:00
Pieter-Jan Briers b5b93e51f7 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-02-18 16:52:07 +01:00
oranges f3f5b44e20 Merge pull request #24064 from KorPhaeron/eyes4
Fixes alien eye toggle
2017-02-15 15:55:42 +13:00
KorPhaeron 854d84d03c Fixes alien eye toggle 2017-02-13 10:35:05 -06:00
MrPerson 9dd81f1da8 Puts files in single quotes like they belong
This means they're included into the rsc and sent out althogh almost all of these files were already included elsewhere. Also DM will yell if the file couldn't be found for whatever reason like if someone moves or renames it.

I left out some file types for various reasons
dmis used in overlays: I have another pr I'll do later which will fix all of them and I don't want to conflict with myself
text files: they would get included in the rsc, which is completely unnecessary. However they're small, so they might be worth including anyway
2017-02-12 07:15:18 -08:00
PJB3005 3c8b98a3aa 9/11 2017-02-08 15:07:58 +01:00
PJB3005 8ce6ae2b87 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-02-08 14:30:23 +01:00
swindly bc5937cb03 makes organs robotic (#23756) 2017-02-06 15:16:29 -06:00
KorPhaeron 858e2950b1 Revert "Luminosity"
This reverts commit 57ae996d89.
2017-02-03 22:57:23 -06:00
KorPhaeron 57ae996d89 Luminosity 2017-02-03 22:57:01 -06:00
KorPhaeron 3d5443212b Fixes a runtime 2017-02-03 21:58:45 -06:00
KorPhaeron 0b79d25b9d Undoes a fix that somehow broke everything instead 2017-02-03 21:17:51 -06:00