Commit Graph

3056 Commits

Author SHA1 Message Date
Gary Lafortune
f89efa0935 [admin] Adds an +ADMINverb that allows sending SMs to entire factions & antag types (#5115)
* Adds "SM to Faction" to +ADMIN
2019-04-17 14:26:23 -05:00
Gary Lafortune
ef8f814ac4 Allows admins in lobby to hear admin deadsay (#5126) 2019-04-17 14:21:36 -05:00
Nichlas Pihl
0469c0d503 probably lets donors bypass the popcap (#5112) 2019-04-16 00:30:58 -05:00
Gary Lafortune
85ff619de4 Adds "Begin Nerf War" verb (#5100) 2019-04-11 16:42:40 -05:00
yogstation13-bot
b97faa602b [MIRROR] Improve cancellability of Run Weather admin verb (#5081)
* Improve cancellability of Run Weather admin verb (#43528)
2019-04-08 23:38:02 -05:00
yogstation13-bot
67337a1c01 [MIRROR] Fix runtime when lightning smiting non-humans (#5084)
* Fix runtime when lightning smiting non-humans (#43537)
2019-04-08 23:37:40 -05:00
yogstation13-bot
e00e489364 [MIRROR] [READY] Darkmode fixes (#4873)
* [READY] Darkmode fixes (#43252)
2019-04-08 04:22:50 -05:00
yogstation13-bot
25a1dad23e [MIRROR] Adds toggleable darkmode to the game! (#4857)
* Adds toggleable darkmode to the game! (#43072)
2019-04-08 02:13:33 -05:00
Gary Lafortune
5086418467 [admin] Slightly Improves the Admin Viewrange Verb, Allows for Custom Viewranges (#5040)
* Connects the ghost viewrange verb with the admin one
2019-04-07 19:23:48 -05:00
yogstation13-bot
0caf289290 [MIRROR] removes unused secrets panel button, fixes a button in the global player panel (#5054)
* removes unused secrets panel button, fixes a button in the global player panel (#43427)
2019-04-05 18:09:06 -05:00
yogstation13-bot
e3f807cbe7 [MIRROR] removes small text formatting from investigate log (#4926)
* Remove small text formatting from investigate log (#43273)
2019-04-04 23:27:55 -05:00
Gary Lafortune
937f089f9b [admin] Admins are now warned if they try to change the roundendsound if another admin has already set it to something (#4954)
* Adds a confirm to setroundendsound
2019-04-04 16:54:58 -05:00
Kyle Spier-Swenson
80ec91eb54 Made mode selection better (#43334)
Now you can set the mode after the round starts, to be saved as the
default for next round and on

Otherwise you can now choose rather or not the mode change is for the
current round only or saved as the new default mode.
2019-03-28 15:05:42 +01:00
yogstation13-bot
514918454e [MIRROR] Exempts current players from the extreme pop cap (#4913)
* Exempts current players from the extreme pop cap
2019-03-25 14:02:15 -05:00
Nichlas Pihl
4edacdcbf7 Merge pull request #4907 from yogstation13/upstream-merge-43215
[MIRROR] Replace 'throw EXCEPTION' with CRASH or WARNING
2019-03-24 14:14:21 +01:00
ShizCalev
2d77dbc7aa Fix admin follow runtime (#43282)
Fixed a minor runtime caused by admins clicking a follow link while in
the lobby.
2019-03-24 12:43:42 +01:00
yogstation13-bot
50a1af22cb [MIRROR] If both the extreme and hard caps are active, extreme popcap applies to connected players, not living players. (#4856)
* If both the extreme and hard caps are active, extreme popcap applies to connected players, not living players. (#43181)
2019-03-23 18:56:10 -05:00
ShizCalev
fa4ce61979 Merge pull request #43215 from AutomaticFrenzy/patch/throw-exception
Replace 'throw EXCEPTION' with CRASH or WARNING
2019-03-23 12:16:22 +01:00
Nich
09307ae7d9 Merge branch 'upstream-merge-42899' of https://github.com/yogstation13/yogstation-tg into upstream-merge-42899 2019-03-21 16:23:09 +01:00
ShizCalev
f1ce713899 Fix stealthmin adminpm issue (#43167) 2019-03-19 23:55:26 +01:00
oranges
d8ab6375c0 Database backed stickybans. 2019-03-17 14:27:34 +01:00
ShizCalev
36dfb72774 Merge pull request #43076 from AutomaticFrenzy/patch/kwarg-calls
Fix several incorrect keyword argument calls
2019-03-12 15:07:13 +01:00
JJRcop
a7d44cf3a7 Internet midi respects start and end times (#43021)
* Play Internet Sound respects start time
For example, adding &t=400 to youtube links.
Doesn't try to parse the start time, youtube-dl does that for us already. Will probably work on most sites not just youtube.

* [Play Internet Sound] now supports end time too

Switched event handler for start to loadeddata from canplay

loadeddata fires when the first frame is available
this is quicker and more consistent than canplay, which tries
to predict at least a few moments of playability being
available before it fires

* [Internet Sound] music_extra_data now starts null
2019-03-09 23:28:42 +01:00
Nichlas Pihl
d074a33783 Merge pull request #4726 from yogstation13/upstream-merge-43037
[MIRROR] Adds missing logging for admin tickets.
2019-03-08 15:18:04 +00:00
Menshin
46a1e9c6e5 Fixes advanced proc calls not working + various code cleaning (#42952)
* Fixes advanced proc calls not working + various code cleaning

* Reverted Destroy() call protection.
2019-03-08 11:33:01 +01:00
ShizCalev
580a552cd3 Merge pull request #43037 from AnturK/missingticketlog
Adds missing logging for admin tickets.
2019-03-08 10:31:22 +01:00
Nichlas Pihl
72781bc0bb Update sql_ban_system.dm 2019-03-07 18:04:18 +01:00
Jordie
d1d49f487c fix some faulty last conn logic (#42984) 2019-03-07 15:38:15 +01:00
yogstation13-bot
62123b3198 [MIRROR] Bans now only default to banning ip if a permaban. (#4567)
* Merge pull request #42861 from tgstation/MrStonedOne-patch-1

Bans now only default to banning ip if a permaban.

* Bans now only default to banning ip if a permaban.
2019-02-25 18:24:13 -05:00
yogstation13-bot
3be86a6f07 [MIRROR] Move GLOBAL_PROTECT statements after their globals (#4554)
* Move GLOBAL_PROTECT statements after their globals

* Merge pull request #42870 from AutomaticFrenzy/patch/global-protect

Move GLOBAL_PROTECT statements after their globals
2019-02-24 13:30:27 -05:00
yogstation13-bot
4880ef6e7b [MIRROR] Fix some incorrect list/ type annotations (#4532)
* Merge pull request #42862 from AutomaticFrenzy/patch/cant-believe-dm-accepts-this

Fix some incorrect list/ type annotations

* Fix some incorrect list/ type annotations
2019-02-21 11:32:25 -05:00
81Denton
bf129cb0d6 Add cancel button to ahelp and asay popup (#42835) 2019-02-19 04:56:53 +01:00
nichlas0010
fab0c3ca19 Merge pull request #4466 from Altoids1/admin-verb
[admin] Allows admins to use the AI Vox system
2019-02-13 12:50:54 +00:00
Gary Lafortune
4779d7f58b Implements cookies for *all* mobs, spawning cookies at feet (#4444)
This also allows for the admin to spawn an infinite number of cookies at the feet of the prayer.
2019-02-12 12:03:36 -05:00
Gary Lafortune
69002d9eb0 Implements AI vox for admins 2019-02-12 00:53:47 -06:00
Gary Lafortune
97b4119780 NanoTrasen Scripting Language [READY-ER THAN PREVIOUSLY] (#4217)
* First go at /machinery/telecomms/

* Dumps in /modules/scripting/

* Fixes most of the compiletimes in traffic_control.dm

Except for the ones about the server not having all these NTSL-ly procs; that I'll handle in the next commits.

* Fixes most of the compiletimes in /scripting/

Again, the other compiletimes are related to the tcomm servers. Next commit.

* Fixed server stuff, plus other misc bullshit. IT COMPILES!!!!

HOLY FUCK IT COMPILES

* Fixes the Traffic Control computer's UI

* Makes NTSL actually run on the server and work

This is a blessed day

* Makes Travis complacent

Apparently he was complaining about all the var/const 's there are in this code, so, I dealt with them.

* Fixes ``broadcast()``, hopefully

* Cleans up the interal code, clears out more const's

The majority of the code in /scripting/ is not at all within the tg guidelines, which is fuckin garbo

If Ling forces me to convert the all of this to be tg-CONTRIBUTING compliant I'm deleting this PR

* Fixes bug involving $content

Fixes a bug where the message would not be broadcasted if $content were set to a number value.

* Makes broadcast() work slightly more than it did before

Fixes a bug where broadcast() was not sending its message to any machine.

This doesn't apparently fix broadcast(), but it gets closer.

This also makes it so that broadcast() returns how many machines heard the broadcast directly.

* Makes the IDE dark-themed

So edgy

* Makes broadcast() work! For real!

We're GETTING SOMEWHERE, ladies and gentlemen!

That only took, y'know, 6 hours of on-and-off labour, by itself.

* Fixes $source and $sector

I... guess this fixes $source? I'll do more tests on this later.

Also, this makes $sector a vector now, I think. Was it one before? I'unno. It's 5 in the morning.

* Adds clearmem(), tweaks mem()

mem() now, when used to set a value, now returns TRUE if it worked and FALSE if it didn't.

* Fixes $say, $ask, $yell, & $exclaim

That GetSource thing is going to bite me in the ass eventually, I just don't know exactly when.

* Re-adds Signal Technician

* Makes $language work

So in NTSL the languages are set by bitflags.

That isn't really how language works anymore in the game, so I've put some wrapping around that so that the scripter can still treat them like they're still bitflags, sorta.

This should generally maintain backwards compatibility while also making all this actually work.

* MODULARIZATION!

If you want to actually see a play-by-play on what I've done to make NTSL work, look at the diffs of the earlier commits.

* Fixes the dme, puts script computer in Yogstation map

* Removes UUID

Can I be merged now

* First Hotfix

-Fixes Signal Techs not being able to get out/into Engineering
-Fixes the HoP's computer not being able to give out the Signal Tech job
-Adds an admin verb that lets +ADMINs kill all NTSL scripts

* Fixes SecHUD w/ Signal Techs

* Fixes language, adds Clown span

- Non-Common languages can now be spoken on NTSL-enabled comms channels
-SPAN_CLOWN is now an allowed span, although I am not adding a variable for that in NTSL.

* Pretty filter for variables output by NTSL

Also implements isnotpretty() , a boolean version of pretty_filter().

* Fixes Signal Techs not being able to leave, again.

* First attempt at fixing AI tracking

We would be merged by now but nooooo gotta merge me some file changes says ol' nich

* I don't know how to fix this

* Update YogStation.dmm

* Mostly fixes the .dmm

One of the doors that lead to telecomms is part of the randomly-changing engine area, so, gimme a sec on that.

* What the fuck happened

* I DON'T UNDERSTAND

* Fixes my isnotpretty proc

* ?????

* Alphabetizes the .dme

* Fully fixes Signal Techs not being able to leave the satellite

So one of these doors *is* part of the engine sector, so, just saying.

* Fixes runtime @ CheckToken(), fixes MaxCPU

I dunno exactly why it even got to this point in the first place, but, *shrug

Also, this makes the runtime about not having enough CPU cycles actually say exactly what the maximum number of lines is, instead of just spouting a (wrong) magic number.

* Changes newlines from \r\n to \n

Maybe this'll fix the conflict, maybe?
2019-02-10 18:59:52 -05:00
ShizCalev
c51206c28a Fix incorrect var passed to admin makeAI AIize (#42677)
Second param is for the client.
2019-02-06 02:55:31 +01:00
nichlas0010
1d6a19a208 Merge pull request #4394 from yogstation13/upstream-merge-41535
[MIRROR] [Ready] Outputs datum
2019-02-05 20:07:08 +01:00
vuonojenmustaturska
32d6d731a5 [READY] playsound performance (#40045)
tl;dr: we have lists of playermobs on the z-level, which generally have fewer player mobs to iterate through. If we use them, we can get rid of the z-level checks too. On the off-chance that something plays a sound in nullspace, we can skip pretty much everything. The client-check can go too, there are no playermobs without a client.
2019-02-05 19:47:45 +01:00
nichlas0010
bd28f4df91 Merge pull request #4380 from yogstation13/upstream-merge-42562
[MIRROR] Banning panel fixes
2019-02-04 21:22:14 +01:00
nichlas0010
f54c158d9a Update sql_ban_system.dm 2019-02-04 19:25:17 +01:00
oranges
30597e05b0 Species types sources refactor (#42523)
There is now a bitflag that controls all the ways a species can be
selected from the different methods of changing species, xeno spawn,
pride mirror, magic mirror etc.

The soviet and capitalist golems are no longer selectable from the pride
or magic mirrors (just the badmin one)

interesting thing I found, androids and synths (including military
synth) are acheivable via xeno extracts!
2019-02-03 13:46:39 +01:00
oranges
b99ae016a2 Banning panel fixes 2019-02-03 13:46:30 +01:00
nichlas0010
2633ca1395 Update IsBanned.dm 2019-02-01 18:06:48 +01:00
nichlas0010
2dfa322dfe Update IsBanned.dm 2019-02-01 18:04:20 +01:00
Ling
63545b1649 Merge pull request #4302 from yogstation13/upstream-merge-42529
[MIRROR] [s]Advance proc call no longer allows you to call world/datum procs as global procs
2019-01-27 00:37:06 +01:00
monster860
5a77934085 Fixes word salad in admin logs for VV 2019-01-26 18:19:56 -05:00
Kyle Spier-Swenson
f0143d936f [s]Advance proc call no longer allows you to call world/datum procs as global procs (#42529)
* [s]Advance proc call no longer allows you to call world/datum procs as static procs

* Update debug.dm
2019-01-26 21:21:13 +01:00
coiax
66df5546ee Refactors NODROP flag into TRAIT_NODROP (#42109)
* Refactors NODROP flag into TRAIT_NODROP

🆑 coiax
fix: Anti-drop implants can no longer be used to drop objects that they
were not responsible for sticking to a person's hand.
fix: Backfiring with a Barnyard spellbook will now play a spooky horse sound.
refactor: Refactors the way that "NODROP" items work to a new system,
there should be no change in functionality.
/🆑

Various items in the codebase were doing weird hoop jumps in order to
preserve the nodrop flag's state when it also wanted to change it, so I
moved it to a trait system.

I may have gone overboard with the type of unique trait sources, but
those can be changed later. My long term plan is make a general "CURSED"
nodrop origin, which means you can unlock cursed items by being hit with
a bolt of door opening or something. But that's for another PR, this has
no functionality changes, apart from some slightly modified descriptions
on cursed masks.

- Removed a bunch of redundant voice changing code for all the voice
changing animal masks, used two new clothing flags for this purpose.
- Also refactored a bit the animal masks, making new cursed subtypes that play
the sound when created.

* Drop location
2019-01-17 21:22:38 +01:00
oranges
1dedce778d Merge pull request #42332 from Jordie0608/nowyoucanalsopretendyourebanningabstractart
Banning panel change and two fixes
2019-01-14 02:46:14 +01:00