Commit Graph

1004 Commits

Author SHA1 Message Date
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
oranges
61b93ce182 Merge pull request #26337 from Core0verload/picture_frame
Refactors picture frames to use wall frames system
2017-04-22 10:54:19 +12:00
Leo
c91ff0e35a Merge pull request #26284 from AnturK/ilookedatstacktraceabyssanditlookedback
Fixes DVIEW runtimes in preferences.
2017-04-20 08:02:37 -03:00
oranges
3f0331c698 Merge pull request #26287 from MrStonedOne/patch-345
Removes 7 seconds from world init
2017-04-19 11:03:39 +12:00
Cyberboss
5a9f4906d0 Moves a temp file to the data tree (#26281) 2017-04-18 10:46:36 +02:00
c0
5c6b32cbc3 Refactors picture frames to use wall frames system 2017-04-17 15:37:05 +03:00
Jordie
76b2a70835 Merge pull request #26228 from Cyberboss/ShutdownOrder
Standardizes subsystem Shutdown order
2017-04-17 15:21:54 +10:00
Cyberboss
3c3f7d3b60 Refactors dbcon into a subsystem (#26134)
* Refactors dbcon into a subsystem

* Swear I got that already...
2017-04-17 15:18:17 +10:00
Kyle Spier-Swenson
f3cc52a5be Removes 7 seconds from world init 2017-04-16 17:42:50 -07:00
AnturK
b814e36883 Fixes DVIEW runtimes in preferences. 2017-04-17 00:10:01 +02:00
Cyberboss
e8567cd7c9 Fix 2017-04-16 17:04:39 -04:00
Cyberboss
4f14ca7a49 Proximity sensing refactor (#26260)
* New proximity monitor datum

* Replace the old systems

* Fixes #26254

* Ports a New and spawn to Initialize

* Switch to Moved

* Remove unused var

* Speedup and fixes

* More speed

* qdel in movable

* Uneeded now

* Fix

* Use the faster RANGE_TURFS
2017-04-16 14:48:29 -06:00
Cyberboss
944fd9463c Afk fixup (#26181)
* Fixes inactivity/afk semantics and config

* Fixes people in the lobby not getting afk kicked

* Bluh

* Fax

* Doy

* Yes
2017-04-15 13:11:03 -06:00
Cyberboss
652a655e29 Standardizes subsystem Shutdown order 2017-04-14 19:04:32 -04:00
Cyberboss
909c75c5e5 Moves AStar and priority_announce into __HELPERS (#26136) 2017-04-13 16:22:11 -06:00
Cyberboss
d9944b6dec Adds QDEL_LIST helpers (#26101)
* QDEL_LIST

* QDEL_LIST_ASSOC

* Wew
2017-04-13 11:20:42 +12:00
Cyberboss
a1403bc424 [s] Moves sensitive data out of GLOB (#26039)
* Moves sensitive data out of GLOB

* Make it a real boy

* Whoops
2017-04-12 19:53:13 +02:00
Lzimann
61f917294d Fixes datacore icons 2017-04-09 14:08:06 -03:00
Joan Lung
a10ad0f4c4 Improves shield generator code (#25994) 2017-04-08 21:42:03 -03:00
4dplanner
d8935d755a Fixes analyzers not detecting non-hardcoded gases in pipes (#25976) 2017-04-08 19:19:52 -03: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
duncathan salt
a96bfebc68 Merge pull request #25738 from coiax/minor-time-tweaks
Minor changes to some time procs
2017-04-02 02:10:32 -06:00
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Jack Edge
e31f7ba6ba RR I 2017-03-31 22:30:33 +01:00
Jack Edge
fc0d29b956 Minor changes to some time procs
- Lets you pass any value to gameTimestamp, allowing you to work out
what IC time it would be in (world.time + 3000).
- Puts the gametime_offset (currently 12 hours) in ticker, so it's not
just a fucking magic number in a function.

This would allow us, at a later date, to have the starting station time
randomised to be something other than 12:00.
2017-03-31 22:17:03 +01:00
Cyberboss
083abc9124 Fuck 2017-03-29 13:10:50 -04:00
Cyberboss
240b86f95e Fixes the dview runtimes 2017-03-29 13:10:08 -04:00
Cyberboss
2fd142959a Merge upstream 2017-03-28 18:52:59 -04:00
Cyberboss
21f5a1a472 world.log -> log_world (#25540) 2017-03-28 15:24:52 -03:00
Cyberboss
05e1ef69e1 Merge upstream 2017-03-27 09:32:08 -04:00
Cyberboss
621ecdcd4e Fix some shit with dview (#25452) 2017-03-25 19:43:38 -03:00
oranges
60a9891994 Tweaks to logging around disarms, general code cleanup (#25329)
The mob add_log helper has been improved to be more readable and do less
work over and over

Disarms now log the item they disarmed if applicable
Some found old code was chopped out and improved
2017-03-25 19:29:49 +01:00
GunHog
ac4d69254b Revival of "Allows AIs to deploy to borgs" by Shadowlight213 (#25184)
The AI may now deploy to cyborgs prepared as AI shells. The module to do this may be research in the exosuit fabricator. Simply slot the module into a completed cyborg frame as with an MMI, or into a playerless (with no ckey) cyborg.
2017-03-24 21:42:48 -03:00
Cyberboss
cd050a38f0 Merge branch 'master' of https://github.com/tgstation/tgstation into TiredOfTheInconsistency 2017-03-24 16:34:20 -04:00
Cyberboss
faa7b03833 Makes the do_* family check QDELETED on stuff (#25397) 2017-03-23 20:35:47 -03:00
Cyberboss
73fa1e61f8 SSevent -> SSevents 2017-03-22 11:26:01 -04:00
Cyberboss
d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
bgobandit
bbab8f5062 Fixes oversight resulting in ALLCAPS traitor codewords; expands corpus (#25300) 2017-03-22 07:50:23 -03:00
Leo
cae016603a Merge pull request #25198 from Cyberboss/patch-18
Removes an annoying testing message
2017-03-18 14:27:41 -03:00
coiax
6c6254fc5c Fixes deadchat not being notified of random events (#25203)
My bad.
2017-03-18 18:18:08 +01:00
Cheridan
7430c2ff1a Merge pull request #25156 from MrStonedOne/patch-333
Make get_turf_pixel always take icon size into account
2017-03-17 14:44:50 -05:00
Cyberboss
b15f98766d Removes an annoying testing message 2017-03-17 11:42:51 -04:00
Leo
387b44d4be Href logs now use time_stamp() so it properly logs the seconds aswell (#25153)
* Href logs now use time_stamp() so it properly logs the seconds aswell

* Updates time_stamp to show decisseconds

* Href logs now display decisseconds
2017-03-17 14:15:39 +13:00
Kyle Spier-Swenson
92ed15b0dc Make get_turf_pixel always take icon size into account
because nobody uses bounds
2017-03-15 20:15:08 -07:00
Kyle Spier-Swenson
99002e25a3 Fixes lighting of pixel shifted objects and reverts the hacky memleak fix + other lighting fixes (#24963)
* Revert "Lighting micro optimizations and fixes (#24939)"

This reverts commit 78bbbfe20a.

* vg refactor stage 1

* Fix runtime in get_turf_pixel

* fix lighting on turfs

* Fix certain things reading light levels wrong.

* Made SS faster/better by making it split its tick allotment up between it's 3 tasks

* istypeless loops @pjb3005

/proc/typed_loop    6.826        6.830        6.858       190761
/proc/typeless_loop 5.582        5.586        5.620       190435

* lazy init lists
2017-03-14 19:27:23 +01:00
Cyberboss
012eaec1b9 Mob Initialization (#24840)
* Mob Initialization

* new_player Repath

* Fix the dme

* Fix the shit

* Fix a loc

* Fix another loc

* But, in my haste, I forgot the cola!

* Another loc

* ANOTHER LOC

* Further docs

* Where'd that s come from

* Fix shit

* Better
2017-03-13 20:21:12 +01:00
coiax
4b38a438de Additional deadchat fixes (#25012)
* Additional deadchat fixes

Fixes #25008.

- People who are dead but not observers can hear deadchat.
- Follow links will try to follow first, then attempt a turf jump,
rather than always doing the turf jump.
- By using coordinates rather than /ref it'll stop the malformed (F)
links to jump to the turfs.

* text2num is my friend
2017-03-13 22:05:28 +13:00
AnturK
0349af6232 Fixes deadchat for real (#24973) 2017-03-11 15:47:32 +03:00