Commit Graph

2973 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
AnturK
424df99363 Fixes action transfer (#26356) 2017-04-19 13:07:13 -06:00
Cyberboss
5d61c5b64e AHelp improvements (#26092)
* Ahelp refactor

* Same ticket nagging

* Remie review

* Dead code

* Require tickets for PMs + other fixes

* Remove full monty redundancy

* Stylesheet

* Listings refresh

* Add ban logs to tickets

* Tickets can stay associated after reconnect

* Don't show active disconnected tickets in the main list

* Ticket titles

* More beautiful + fixes

* Needful

* IC issues close the ticket, feedback, and other stuff

* Move shit around

* IC issue -> resolve. Inline with the meaning of resolve. Documentation

* Classic style + fixes

* Width

* Formatting

* Whoops

* Formatting

* That top note

* That cream

* Pure vanilla

* move to status panel

* Fix the listing

* Sleep checks

* Stay frosty

* Allows close/resolve of disconnected players

* Ban logging will work if the player logs out.

* Sorted closed and resolved lists

* Fixes

* IRC commands

* More feedback

* Small fix

* Unfix

* Just witnessed a memetide of tickets

* Make the timer unique for good measure

* Fix

* Make it use QDEL_LIST

* Fix

* colorful

* Fix

* No more name prompt

* Retitling

* Fix

* Fix

* < CANT CODE

* Phrasing

* The better

* Better linking and stuff

* Language

* Bluh

* This may have broke things, let's back up

* Ticket reopening

* Admin panel verb for viewing a ticket list

* Slightly better refreshing

* Improve reject and IC issue wording

* Log client disconnects and reconnects

* Hopefully fixes the same issue issue

* This should be here

* Almost a terrible idea

* More feedback

* Better timing

* Better timing and logging

* Adding notes

* Improves teleport logging

* saddest commit in history

* Fix feedback counters for reopened tickets

* Fixed
2017-04-19 18:54:26 +02:00
Cyberboss
6a9fa3d35a Adds a proc to check if the current thread is from an admin advanced proc call (#26191)
* Admin proc call guards

* Adds a db warning

* Better this way

* leftover

* )=

* Fix

* Wew

* Better runtime handling

* Make callback use it if var_edited
2017-04-15 11:24:35 -06:00
Cyberboss
0fdeb3680d VV drop down selection resets when the page is refreshed (#26189) 2017-04-14 12:34:41 -06:00
Militaires
401fdd3a22 fixes shit formatting and grammar with human piggyback riding (#26170)
* fixes shit formatting and grammar with human piggyback riding

* removes because their
2017-04-14 01:52:12 -06:00
Robustin
7db828644c EngiMarket Part Four - Ranged RCD and Rapid Lighting Device (RLD) (#25263)
Two new items, one brand new, the other an RCD that works at range without any other bells and whistles.

The RLD allows you to create floor and wall lighting along with temporary (they use fuel like flares) glowsticks at range. It can also deconstruct lights. The best part of this feature (besides the visual "ammo" updating icons) is the ability to select absolutely any color you desire.

🆑 Robustin
add: Ranged RCD added to the game
add: Rapid Lighting Device (also ranged) has been added. It can create wall, floor, and temporary lights of any color you desire.
/🆑
2017-04-14 09:31:43 +12: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
Davidj361
5751c31f81 Fixes issue #25061 with krav maga (#26103)
* Fixes issue #25061 about krav maga
- Krav maga now gets its abilities toggled if you click the same ability twice

* Fixes issue #25061 about krav maga
- Krav maga now gets its abilities toggled if you click the same ability twice
2017-04-12 18:55:19 -06:00
Cyberboss
a8cc3cd6c2 [s] Fixes datum var hiding (#26027)
* .

* Buildmode

* SDQL global. now refers to GLOB

@kevinz000

* Another SDQL thing

* Fix
2017-04-12 11:20:46 +12:00
Lzimann
61f917294d Fixes datacore icons 2017-04-09 14:08:06 -03:00
octareenroon91
18b55740cf Fix wire randomization (#26018) 2017-04-09 12:23:14 -03:00
Profakos
7f8baa1131 CQC disarms respects no drop (#25954) 2017-04-08 11:29:21 -03:00
Iamgoofball
49b58e2e53 Remembers the Basics (#25958) 2017-04-07 22:40:51 -05: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
coiax
e7d7445eb3 Removes prisoner crash ruin (#25866) 2017-04-05 12:46:41 -03:00
duncathan
55c1dffee1 Merge remote-tracking branch 'upstream/master' into reactiondatums 2017-04-03 17:27:18 -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
3ac178c57b Merge pull request #25690 from Profakos/doublesin-technique
Prevents being added twice to the list of Sintouched
2017-04-02 02:00:53 -06:00
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Joan Lung
48f5e9d943 Merge pull request #25675 from Cyberboss/patch-18
Fixes an imaginary number
2017-04-01 23:13:29 -04:00
Cyberboss
0a1d2b8214 Fix ebeams not GCing (#25695) 2017-04-01 21:40:39 -03:00
duncathan
9269e0fdbb adds gas reaction datums, converts existing reactions to the new system 2017-04-01 15:05:37 -06:00
Cyberboss
5646c736c8 Merge upstream 2017-03-30 19:18:59 -04:00
Profakos
a76861c61c Prevents being added twice to sintoucheds
The influenceSin() proc already adds the player to the list of people
who are sintouched. Alas, the secret doublesin technique is nomore.
No known issue reports.
2017-03-30 23:09:19 +02:00
Cyberboss
968d185433 Fixes an imaginary number 2017-03-30 16:14:44 -04:00
Cyberboss
575440c12f Fix map_config validation (#25542) 2017-03-28 20:17:25 -03:00
Cyberboss
2fd142959a Merge upstream 2017-03-28 18:52:59 -04:00
Cyberboss
7ad4aa7a19 Improve SStitle. No delay icon loading (#25541) 2017-03-28 15:40:37 -03:00
Cyberboss
69558f7196 Merge branch 'master' into TiredOfTheInconsistency 2017-03-28 09:23:27 -04:00
Cyberboss
2027392ee8 Kills more spawns (#25528)
* Die

* Die

* Die

* Fix

* Die

* Die

* Alright

* Whoops

* bluh

* < can't code
2017-03-28 13:32:20 +02:00
Cyberboss
05e1ef69e1 Merge upstream 2017-03-27 09:32:08 -04:00
MrPerson
a6ea346b8c Fixes rad storms making space black (#25482) 2017-03-26 14:04:01 -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
coiax
a31ad34b81 Explosive implant action button can always be activated (#25389) 2017-03-23 20:41:11 -03:00
Joan Lung
3b38202b44 Vanguard and Linked Vanguard are much more powerful when Ratvar is up (#25398) 2017-03-23 20:36:04 -03:00
Cyberboss
db99403313 Merge branch 'master' into TiredOfTheInconsistency 2017-03-23 09:21:20 -04:00
Iamgoofball
8b8b2b6dec Acid Rain Weather (#25222)
* Planetstation: RCD Rewrite

* asd

* defines

* fixes

* clock cult thanks joan

* ASDASDADSASDDSASD

* hdjjhadjhdasjhkasd

* Planetstation: Acid Rain

* ddashshg

* Adds Cuboos Sounds

* afdafhdjfadsjhhfdws

* fixes immunity
2017-03-22 18:02:23 -04:00
Cyberboss
d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
kevinz000
51d3cd11f5 [READY]Refactors beams to use timers for recalculation, and new beam proc after drawing (#25252)
* now with timers!

* woops

* hmm this is better

* stoppable timers

* more timer stuff

* fix

* fix
2017-03-22 22:19:16 +13:00
Joan Lung
15c70b0cb8 Clockwork slabs will update less in places they didn't need to 2017-03-20 11:46:14 -04:00
XDTM
6f184513a0 Runic golems (#25028) 2017-03-18 08:04:47 -03:00
Militaires
0e67b7ad0c new speedwagon sprites: car now runs people down easier (#24961)
* new sprite and """hitbox"""

* new overlay glass cover

* fixes offsets for new speeduwagon sprites

* rogue white line and steering wheel

* MISSING pxl
2017-03-16 20:15:51 +13:00
Cyberboss
82b2e000f9 Fix force_dismount (#25069)
* Fixes #25067

* asdf
2017-03-14 20:47:12 -04:00
Cyberboss
4bc503b2be Maybe fixes minds failing to GC (#25032) 2017-03-14 19:30:11 +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
Haevacht
ed5990a8e3 Cutsier -> cruiser. (#25017)
robustin is more intrested in pointing out how much he tests rather than fixes honk also i would give it a 1% chance to always be cutsier but i am LAZY
2017-03-13 03:25:35 -04:00