Commit Graph

287 Commits

Author SHA1 Message Date
Food
e961199fdb Initial beach-language commit 2017-05-21 21:49:32 -04:00
Joan Lung
074727555d Merge pull request #26677 from coiax/codespeak
Codespeak language and manual
2017-05-17 22:04:16 -04:00
QualityVan
b27665d293 Adjusts ear/eye protection based on missing organs (#27291) 2017-05-16 09:07:35 +02:00
Jack Edge
089d7ccde9 Fixes everyone having codespeak 2017-05-15 15:10:01 +01:00
KorPhaeron
752e25d417 Zombies can see in the dark (#27152) 2017-05-12 17:57:07 -03:00
Mike Long
4687dd0117 Devil refactor+small revamp (#26815)
Hello, with PR #26717 merged, I think it's a good time to add devils to the standardized antag datum system.

This PR is mostly a refactor, which shouldn't be noticed by the playerbase. Changes that might be noticed are below.

🆑
tweak: Modified chances for returning someone's soul using an employment contract. Now everyone has a chance, not just lawyers and HoP.
add: Particularly brain damaged people can no longer sign infernal contracts properly.
tweak: Infernal contracts for power no longer give fireball, and instead give robeless 'lightning bolt' spell.
add: Devils can now sell you a friend, for the cost of your soul.
tweak: The codex gigas should now be easier to use, and less finicky.
del: The codex gigas no longer sintouches readers.
/🆑
2017-05-10 22:02:17 +12:00
Joan Lung
5ce91a8230 Cultists of Nar-sie have their own language (#26952) 2017-05-07 08:06:38 -03:00
coiax
d0b8044b24 Follow links on adamantine vocal cords now work (#26991)
🆑 coiax
fix: Fixed adamantine vocal cord (F) links not working for observers.
/🆑
2017-05-06 17:11:34 -03:00
Jack Edge
0ddb4fbcf8 Sprites 2017-05-05 18:08:40 +01:00
Jack Edge
be7b49422e Adamantine golem leadership
🆑 coiax
add: Adamantine golems have special vocal cords that allow them to send
one-way messages to all golems, due to fragments of resonating
adamantine in their heads. Both of these are organs, and can be removed
and put in other species.
add: You can use adamantine vocal cords by prefixing your message with
":x".
del: Xenobiology is no longer capable of making golem runes with plasma.
Instead, inject iron into the adamantine slime core to get an incomplete
golem shell, then complete it with 10 sheets of a suitable material.
/🆑

Adamantine Golems are the starting Free Golem spawns, and they are
previously just as ordinary as Iron Golems, which are strictly worse
than a variety of other golem materials. This gives them limited one way
telepathy, to act as leaders and communicate to the other golems.

They're vocal cords because it's a suitable fit for the vocal cord code,
and recieving it is organ based because more organs are always fun.

Making "leadership" slave golems is somewhat of a contradiction, and
they're also somewhat easy to spam. This requires xenobio to at least
have some spare materials lying around (remember, you can use metal and
glass or plasteel).
2017-05-05 18:08:40 +01:00
coiax
b633cd6ba2 Moves languages to a holder datum, gives mind its own language holder (#26776)
* Ghosts now have a language menu

🆑 coiax
add: Ghosts can now modify their own understood languages with the
language menu.
/🆑

- Language menu is now on /atom/movable, and can be opened by any atom
with the `open_language_menu` proc.
- Used for testing, and simulating what various station members hear.

* Language holders, I

* Language holder, II

* Dos line endings

* MIND LANGUAGES

* Fixes some mobs not having language holders in their minds

* Shadow languages

* How did you lose the holder?

* Mob level IC->Open Language Menu verb

* Gives draconic to silicons

* Lazy breeki

* Use of pre-initialized global lists for languages

* Fixes bugs with lazy holders
2017-05-05 15:12:27 +02:00
oranges
12822a29c7 Merge pull request #26828 from coiax/mutanttongue-var
Moves tongues to `mutanttongue` var
2017-05-04 23:04:28 +12:00
coiax
9931a1a335 Draconic language, for lizards (#26780)
* Lizard language

🆑 coiax
add: Restrictions on Lizardpeople using their native language on the
station have been lifted by Centcom, in order to maximise worker
productivity. The language's key is ",o".
/🆑

- The language is added as part of the job equipping code, changing your
species to lizard via xenobio will not magically teach you the language.
- Normal human tongues are capable of speaking Unathi.
- pAIs with translator and Librarians are capable of speaking and
understanding Unathi.

The design lead has instructed me to grant lizardpeople their own
language, in order to increase paranoia in the crew. Also, it'll be
funny to see how much people overreact to this.

* Rename unathi to draconic
2017-05-03 12:47:52 -03:00
Joan Lung
4d1e3ce607 Merge pull request #26813 from KorPhaeron/librarian
Curator Update
2017-05-03 11:18:15 -04:00
QualityVan
f3016645ca Gives ears, eyes, and vocal cords plural gender (#26803) 2017-05-03 09:50:56 -05:00
KorPhaeron
b7864be38a Curator 2017-05-03 08:08:14 -04:00
Jack Edge
9fa9673c15 Moves tongues to mutanttongue var
Moves tongues from mutant_organs list to a specific var, in line with
mutant eyes, lungs and ears.
2017-05-03 12:56:30 +01:00
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