Commit Graph

477 Commits

Author SHA1 Message Date
Shadowlight213
b4b21842db Sending adminpms from IRC. (#19097)
* Sending adminpms from IRC.

* added limit of 2 messages sent to irc per irc message recieved.
2016-07-13 11:40:18 +12:00
Kyle Spier-Swenson
f8e4304d95 Instant Runoff Voting! (#19153)
* Instant Runoff Voting!

This adds the game code required for voting IRV style

* Fixes votes not working for non-admins

* spans and databases

* this is a silly commit, you should never go here again.

* That explains why some people couldn't drag until they re-opened the page.

* Prevent window focus fuckary with voting.
2016-07-06 16:03:43 +12:00
X-TheDark
2b8e30ae1b Reverts implementing server side hotkey tracking (and also reverts the renaming of hotkey names).
Reverts TAB changes.

Renames hotkey verb to "Set Hotkeys" and makes it hidden (since it uses a parameter, trying to call it in-game is ass).
2016-07-03 13:07:23 +03:00
X-TheDark
dbbef9408f Current client hotkey settings (not preferences) are now respected during the round.
Refactors hotkey toggling to be done with just one function, instead of hardcoded stuff.

Moves client verbs (who/suicide/etc) to modules/client/verbs
2016-07-02 16:36:55 +03:00
Xhuis
8a852f196b Removes shadowling (#18951) 2016-06-27 20:53:35 -04:00
SnipeDragon
ef2bb16777 findJoinDate only procs if a client is not a Guest and the DB is connected. As Jordie requested. 2016-06-22 06:33:32 -05:00
SnipeDragon
8bdf81ff84 Guest keys no longer trigger findJoinDate (Fixes #18749) 2016-06-22 06:00:21 -05:00
oranges
eaa85a4931 Merge pull request #17069 from MrStonedOne/XKeyscore
Automatic Proxy Detection
2016-06-19 01:17:59 +12:00
MrStonedOne
d220416ed3 Makes ipintel only warn, fixes some cache things. 2016-06-17 03:54:42 -07:00
NikNakFlak
43193e8e4c Cat ghost cat ghost does whatever a cat ghost does 2016-06-17 01:10:50 -07:00
Xhuis
527dddd95d Complete Revenant Rewrite (#18522)
I'm unhappy with the way revenants are right now, and my code for them is pretty unsatisfactory in comparison to what I know now. Although revenants will still fill the same role of just being spookier ghosts, they'll be a bit more passive - incapable, for instance, of giving diseases to people. The new revenants will be called umbras and will use vitae instead of essence.

Total change list:

    Revenants have been renamed to umbras. Essence has been renamed to vitae. This may be temporary.
    Umbra spawn events are now weighted higher and spawn an unoccupied umbra. Ghosts are alerted to the umbra's position and may interact with it to take control of it.
    Umbras' health is not based on vitae but has a hard cap at 100.
    Umbras have a passive vitae drain each tick, defaulting at 0.01. If the umbra runs out of vitae, they will die irrevocably. They also slowly regenerate health by doing this.
    When an umbra dies, they leave behind umbral ashes that reform after one minute. They're difficult to see and can be scattered by activating them, although they also have high research levels if you're fast enough.
    Harvesting vitae from critical targets no longer kills them. Harvesting a target in general prohibits them from being harvested until five minutes later, but they can be drained again after that.
    EMPs revitalize umbras and give them hefty amounts of vitae due to their physical nature.
    Umbras have four abilities: Toggle Nightvision, Discordant Whisper, Possess, and Thoughtsteal.
        Toggle Nightvision is self-explanatory.
        Discordant Whisper is identical to the original revenant's transmit.
        Possess allows the umbra to slip into a human's body unnoticed. While in their body, umbras will slowly drain vitae from the human at a tiny rate - not enough to cause harm, but enough to induce adverse effects in the clueless human. These effects intensify over time and eventually lead to the umbra being forced out of their host.
        Thoughtsteal paralyzes a living human for several seconds while the umbra steals their memories. After several seconds, the umbra copies the notes of the target's memories and turns invisible - the hapless victim is stunned for several seconds afterwards and can't be Thoughtstolen by the same umbra again. Umbras have an objective to steal the memories of 25% of the station's population.
    Salt piles have been added, created by salt shaker or just by splashing salt. These piles will prevent an umbra from passing and reveal them briefly if they try.
2016-06-17 10:58:07 +12:00
Remie Richards
b3b60b187b Manual repair of some edge cases. 2016-06-11 23:11:54 +01:00
Remie Richards
fda2c699fc Automatic conversion via Regex 2016-06-11 18:37:48 +01:00
Remie Richards
a041255b80 Adds setDir(), a hook to for running code when a dir change occurs, replaces "dir = X" statements 2016-06-11 18:26:53 +01:00
oranges
611151d25f Merge pull request #18278 from coiax/somebody-at-the-door
Ghosts are notified when someone joins
2016-06-12 00:40:57 +12:00
Jack Edge
beeced08be Ghosts are notified when someone joins
🆑 coiax
rscadd: Ghosts are notified when someone arrives on the Arrivals
Shuttle. This is independent of the announcement system, and the (F)
link will follow the arrived person.
/🆑

Also I got rid of a trailing return.
2016-06-10 17:17:26 +01:00
Jack Edge
5bb5d56ac3 Deathrattle preferences fix; ignores Z2 deaths
Fixes #18351. Deathrattle preferences are now saved.

Deaths on Z2 are now no longer printed to deadchat.
2016-06-10 13:13:28 +01:00
oranges
d7d43fbf2f Improved and safer check for localhost admin
My paranoia makes me worry that byond can be tricked into setting a
null address
2016-06-07 11:15:40 +00:00
oranges
0187de935d Merge pull request #18300 from JJRcop/localhost_is_always_admin
Localhost and .dmbs opened with dreamseeker always get admin
2016-06-07 22:43:11 +12:00
oranges
c62e2ba11f Merge pull request #18264 from coiax/deathrattles
Deadchat listeners will hear when people die
2016-06-07 13:08:52 +12:00
Jack Edge
1c4e91d8b1 Deadchat listeners will hear when people die
🆑 coiax
rscadd: Deadchat is now notified when a sentient mob dies.
/🆑

Includes the area name, because why not, I guess?
2016-06-07 01:26:00 +01:00
JJRcop
9721bdb4a9 Admin granted to loopback connections or opening .dmb with DS 2016-06-06 01:23:36 -04:00
phil235
b482764a19 - I made human/handle_blood() less shitty.
- We no longer leave a blood trail if blood_volume is below a certain level which depends on the brute damage received. This way dragging a wounded player does have a bad effect.
- We no longer give humans a second reagents var containing blood, and we don't put exotic blood in the mob's reagents. Now we don't store any blood substance inside the mob, we only have a blood_volume var. When we draw blood with syringe we create the reagent that match the type (blood reagent, or an exotic blood reagent)
- can't draw blood from mob if it's low on blood, so we can't empty a mob of its blood entirely.
- Removed the blood type preference appearing in character setting.
- blood pack automatically show blood type, unless manually labeled.
- removed bloody_hands_mob human var and same name glove var.
- Some animals now have blood (pets, goat, cows)
- hitting and dragging mobs with actual blood in their veins leaves blood on you and a trail on the floor.
- probably other stuff that I'll mention in the PR.
2016-06-04 17:33:16 +02:00
Shadowlight213
ce01058e7c Fixes merge conflicts 2016-05-27 15:36:56 -07:00
Jack Edge
7f49175967 Renames files under code/ with naughty characters
Like seriously, don't use spaces in file names, this is a codebase,
they're annoying. Hopefully Github will show these renames correctly.
2016-05-24 12:16:19 +01:00
Shadowlight213
86cbe14d15 Conflict fixes 2016-05-19 20:42:26 -07:00
Shaps
cbc7a8b654 Fixes announcement prefs, fixes SOUND_ANNOUNCEMENTS (#17626)
* Actually fixes announcements the right way

* Flips the SOUND_ANNOUNCEMENTS bitflag so that having it means you hear announcements

* Updates the save file version
2016-05-14 00:55:50 +02:00
AnturK
b9304901c6 Merge pull request #17435 from Shadowlight213/volumefix2
Removes volume control for admin midis
2016-05-13 19:31:04 +02:00
Shadowlight213
6191cf0add Merge conflict fix 2016-05-08 16:43:51 -07:00
Joan Lung
c028be9c9c Merge pull request #17382 from Incoming5643/badmins_doing_shit
Fixes var editing clients
2016-05-06 20:00:03 -04:00
Shadowlight213
afb7a878d1 Fixes merge conflicts 2016-05-06 16:52:30 -07:00
Shadowlight213
9c5733d374 Removes volume control for admin midis 2016-05-06 15:36:02 -07:00
phil235
68da092009 Dismemberment port from Hippie code, based on RemieRichard's work. Big thanks to RemieRichards and crystalwarrior. 2016-05-05 18:17:51 +02:00
Incoming
299f2b0d02 clients aren't datums so I'm forced into this slightly scummy situation. If at some point in the future byond makes clients datums this will need to be reverted. 2016-05-04 12:14:30 -04:00
Shadowlight213
0ccc96f2b8 More WIP with changing to species. 2016-04-29 13:10:26 -07:00
Razharas
d8232cbf33 Revert "Adds player preference to hide irrelevant tablecraft recipes" 2016-04-29 17:47:31 +03:00
Razharas
7b49961371 Merge pull request #16978 from nullbear/tablecraft-tweak
Adds player preference to hide irrelevant tablecraft recipes
2016-04-29 15:26:14 +03:00
Shadowlight213
ece8e79550 Merge branch 'master' of https://github.com/tgstation/-tg-station into Archangel 2016-04-28 15:31:02 -07:00
Joan Lung
d9bc4e0040 Merge pull request #16914 from MrStonedOne/clientversionconfig
Adds a config for client versions
2016-04-27 19:29:11 -04:00
Kyle Spier-Swenson
c3bcf0adfc Adds a download link. 2016-04-26 01:43:48 -07:00
Shadowlight213
6d6e9818cb More WIP
Initial work on spacemove in atmosphere
Getting stunned now launches you and doubles the stun.
2016-04-24 17:41:10 -07:00
KorPhaeron
c771988284 Gatling Autoclick 2016-04-23 13:47:05 -05:00
Shadowlight213
303bdec6f5 Angel WIP commit 1
Added basic angel wing Mutant parts
2016-04-22 13:36:43 -07:00
nullbear
b8a5871f84 Gets rid of the config portion of this UI 2016-04-19 09:10:25 -07:00
MrStonedOne
859714bfe6 Adds a config for client versions 2016-04-16 07:56:41 -07:00
Shadowlight213
ab25f840e9 Adds detecting newly made byond accounts (#16269)
* Adds age checking for byond accounts.

* WIP. moved to regex.

* Actually works now.

* local vars

* Changes to use sql.

* Fixes

* Removes unused var
2016-04-15 11:04:52 +10:00
Remie Richards
984afed89f Adds a priority system for client.color effects 2016-04-07 21:55:31 +01:00
MrStonedOne
5098a3c884 Made more sleeps use stoplag
This buffs a few things, but makes them handle lag better and tick at the rate of world.tick_lag without causing lag
2016-04-05 11:08:28 -07:00
duncathan salt
3315717ef9 Merge pull request #16348 from Shadowlight213/adminsoundvolume
Adds client volume control for admin sounds.
2016-03-31 11:59:52 -06:00
Ricotez
8d84097d50 Fix Preference toggles and button name.
+Fixes a bug where using the buttons in the Preference menu to change your Ghost Accessories or Ghosts of Others preference wouldn't save to your savefile.
+Changes the name of the "Ghost Display Settings" preference toggle to "Ghosts of Others" to fit in line with what the preference is called in the code and in the setup window.
2016-03-28 03:29:31 +02:00