Commit Graph

580 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
Leo 64d7b1af99 Merge pull request #26693 from QualityVan/brainfixes3
Prevents GODMODE mobs from dying to organ removal
2017-04-29 18:55:10 -03:00
XDTM daf10acbf1 Removes Rest from Voice of God 2017-04-29 10:53:50 +02:00
oranges 7cfef759af Merge pull request #26527 from QualityVan/mutanthands
Zombie/limb refactors/fixes
2017-04-29 14:03:53 +12:00
oranges 721fb45ebe Merge pull request #26622 from swindly/organ_storage
Adds organ storage containers
2017-04-29 13:55:59 +12: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
Cyberboss 729010bbb2 Unorphans the blackbox (#26129)
Moved sql_poll_population from server_maint to this new SS. Moved few remaining server_maint tasks to SSping and deleted it.
2017-04-27 10:04:57 +12:00
swindly fe56063011 icon fix 2017-04-25 21:05:48 -04: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
swindly 1288176b6d Merge branch 'master' of https://github.com/tgstation/-tg-station into organ_storage 2017-04-25 13:30:27 -04: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
QualityVan 6590860250 Refactors zombie organs
Fixes mounted chainsaws leaving a limb if acided
Adds species support for mutanthands, basically hard-equipped items like zombie claws
Fixes zombies not having claws on new arms
Mobs manually set to zombie species revert to human when their infection is removed
Inserts organs back into the mob when a bodypart is reattached
No longer generates eyes or ears when a mob changes species without having a head

Todo:
fix the initial problem of zombies being able to not have claws due to having a nodrop item before zombification and losing it
2017-04-24 15:32:00 -04: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
Profakos 67b0a7293e Fixes invisible robotic limbs (#26073)
* Fixes invisible surplus right leg

* New argument for change_bodypart_status

* I am not an admin

* Changes change_bodypart_status arguments to boolean
2017-04-12 19:07:00 -06:00
oranges 3a816d43e9 Merge pull request #26096 from AnturK/awful
Cleans up embedding link a bit.
2017-04-13 11:22:09 +12: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
AnturK 080da5b0a5 Cleans some embedding shitcode. 2017-04-11 14:05:20 +02: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
QualityVan cf33dac52b Pseudolimbs refactor (#25804)
* Moves checks for psuedolimbs(chainsaws, armblades) into dismemberment

* Introduces psuedoparts for limbs, which some surgeries don't work on. Prevents silly things like putting a toolset in an armblade.

* Spelling, TRUE/FALSE defines, and removal of unnecessary setter.
2017-04-09 13:28:34 +02:00
Cyberboss 46191c5c8f Fixes surgery feeback 2017-04-07 13:26:04 -04: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 05e1ef69e1 Merge upstream 2017-03-27 09:32:08 -04:00
KorPhaeron 41f5ece330 Fixes augmetic surgery resulting in invisible limbs (#25446) 2017-03-25 10:01:00 -03:00
swindly cbe9204060 adds organ storage bags 2017-03-24 18:51:02 -04: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
jughu 5d40e40a4f Update robot_bodyparts.dm (#24988) 2017-03-12 16:13:19 -04:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Joan Lung e2c7cda4bb Aliens now properly take double burn damage (#24655) 2017-03-06 11:58:41 +01:00