Commit Graph

341 Commits

Author SHA1 Message Date
PKPenguin321
3bd3ff20ec adds a couple of naughty missing periods
@cheridan uuuu
2016-03-19 23:11:51 -07:00
Shadowlight213
b5c398a252 Moves SNPC admin buttons to the debug tab 2016-03-05 19:05:54 -08:00
Sawu
3aabb070d8 SNPC Update v4: ;HELP I'M BEING BEATEN TO DEATH BY GIBBERING ROBOTS
* Updates the CustomiseSNPC verb to be less laggy
* Adds a resetSNPC verb to manually reset one.
* Adds a toggleSNPC verb to change between high and low profile mods
* Added a "High Profile" processing mode that can allow the SNPC to tick at custom rates, for special/story SNPCs
* All SNPCs now spawn as Assistants to prevent head spam.
* SNPCs can now be spawned as a doppelganger, and will take the name of a person with the same job as them.
* SNPCs now only hack doors their job doesn't have access to.
* SNPC augmentation values tweaked
* Runtime caused by limbs fixed
* Runtime caused by assigned the SNPC to be a chef fixed.
* Bartender SNPCs now receive a module which allows them to serve drinks to nearby patrons.
* Fixed Chef SNPCs having incorrect modules and home areas.
* Certain modules will now skip being processed if combat is taking precidence.
* Fixed an incorrect emote.
* Clown SNPCs will now drop less items (to prevent massive piles of soap or bananas)
* SNPCs using the healing module will now try to use stackable healing items, and if they are out, instead use their inbuilt tricordrazine hypospray.
* Janitor SNPCs no longer attempt to mop things, and instead use an inbuilt space-cleaner spray
* Chef SNPCs will no longer leave behind uncooked food when trying to process it.
* Chef SNPCs will now use the smartfridge as a source to make custom food.
* Chef SNPCs will no longer run amok, spraying food everywhere.
* Chef SNPCs will attempt to serve up completed food to the Chef's window
* If a Chef SNPC cannot find any viable food source, they will synthesize clones of regular food, which have a lower nutriment count than the real ones.
* SNPCs will no longer explode into items when entering combat, and will no longer throw guns instead of shooting them.
2016-03-04 21:14:02 +11:00
Sawu
a932be993f SNPC verb hotfix 2016-03-02 22:05:23 +11:00
Shadowlight213
c895016caa Adds admin button to change central command's name. 2016-02-27 23:38:21 -08:00
oranges
b6c0aa64b6 Set bomb epicenter after chosing splosion size
:weed:
2016-02-19 11:32:42 +13:00
Bjorn Neergaard
c82fb09ed4 Fix and refactor deadmin/readmin 2016-02-13 13:23:40 -06:00
Bjorn Neergaard
063dd9fb84 Get the code running on 510
* Travis for 510
* Remove json, list2text, text2list, bygex
* Change blind and click catcher to a low plane
2016-02-04 17:19:40 -06:00
Remie Richards
7f7cfa1326 Merge pull request #14838 from tkdrg/stealthmin_improvement_improvement
Stealthmin will no longer make humans invisible
2016-01-31 19:58:13 +00:00
Tkdrg
ddcc552e1c Stealthmin will no longer make humans invisible 2016-01-24 09:07:53 -03:00
Firecage
0cb6814c18 Merge conflict fix 2016-01-17 19:15:30 +02:00
Firecage
332bde0f4f Does the rest of the if()'s/ else's 2016-01-17 19:03:12 +02:00
Leo
92584201f4 Fix indentation
Because I am stupid.
2016-01-12 03:21:18 -02:00
Leo
ea69ea0fef Change so it works as intended
But at least stops triggering the message when you don't have a body
2016-01-12 03:12:42 -02:00
Leo
cb8080dd60 Changed so you can re-enter corpse with normal ghost verb 2016-01-12 02:43:25 -02:00
Lzimann
cb1b91bc9f Fix re-enter corpse message 2016-01-09 19:27:27 -02:00
Cheridan
92ba9dd695 Merge pull request #14147 from tkdrg/steelth
Stealthmin Improvements
2015-12-31 22:24:03 -06:00
Cheridan
a40b732fe4 Merge pull request #13943 from tkdrg/abos
Checking antagonists will now message admins
2015-12-29 15:02:00 -06:00
Tkdrg
2a08622b7e Stealthmin Improvements
Removes stealthmins from the orbit list and makes them invisible.
Remember to always use dsay instead of say to avoid the (F) links!
2015-12-29 15:09:27 -03:00
tkdrg
1dec16cbb9 Merge pull request #13936 from Shadowlight213/AdminAIToggle2
Makes Admin AI interaction a logged toggle. Take 2
2015-12-27 22:01:01 -03:00
Tkdrg
575f47988a Checking antagonists will now message admins 2015-12-24 00:43:06 -03:00
Shadowlight213
deac088c47 Adds a toggle for Admin AI interaction and makes it logged.
Also fixes Admin interaction with emagging borgs via the robotics console
2015-12-22 18:24:18 -08:00
Remie Richards
67c71b5961 Allows admins to upload a map template to be used by themselves or other admins, does NOT persist between rounds. 2015-12-23 02:24:08 +00:00
Remie Richards
5f257aa8fe Admins with +DEBUG can now Load map files in the _map/templates folder where they (or their ghost) is standing. 2015-12-20 21:21:33 +00:00
oranges
134a76cc8f Line ending apocalypse 2015-12-17 14:12:37 +13:00
Bjorn Neergaard
f089428e63 Coffeescript; Bower; Gulp; asset_cache
We now write frontend code in Coffeescript, alongside our LESS.
PostCSS adds hacks to make CSS work on old versions of IE.
Bower is used to manage dependencies.
Gulp is used to build the code.

Images are dropped in favor of SVG or CSS effects.

NanoUI is now a 'simple' asset in the asset_cache
2015-12-15 13:09:51 -06:00
Bjorn Neergaard
97ca70cd34 Rework Master Controller, Failsafe, and Subsystem code 2015-12-04 15:40:58 -06:00
Tkdrg
598fea785e Jobban cleanup & performance improvements
Clients now cache their jobbans to save on DB queries.
Legacy jobbans and "new" (savefile) jobbans have been removed.
These are old cruft that has been unused for years, and since we require
a DB for notes anyway we might as well just get rid of the legacy stuff.

I considered removing legacy bans as well, but I was unsure if that
would go way beyond the scope of this PR (my main goal here is making
jobban_isbanned not awful).

Also note that this was basically untested, as I do not have a test
database. Any help testing this would be much appreciated.
2015-11-28 12:35:54 -03:00
Bjorn Neergaard
6005d54d40 Update NanoUI to use the asset_cache system
Also move a bunch of folders around.
2015-11-28 00:56:30 -05:00
Bjorn Neergaard
588a170c8d Fix NanoUI debug verb 2015-11-26 07:11:32 -05:00
Bjorn Neergaard
5e9c0adc3b Add NanoUI debug verb
A quick tool that helps me reload templates.
Also refactor NanoUI resource code a bit.
2015-11-26 07:11:29 -05:00
Kyle Spier-Swenson
226c92bbca Fixes readmin not working with keys 2015-11-20 21:11:26 -08:00
Tkdrg
35d09e7cc0 Adds Admin-only Antag HUDs
Togglable by a verb in the Admin tab. Only Rev, Cult, Ops and Shadowling
atm because the others don't have huds/have more than one hud and I'm
too lazy to handle it properly here. Also adds a debug verb for huds.
2015-10-24 02:53:38 -03:00
Razharas
acbe87be22 Merge pull request #12186 from MrStonedOne/patch-46
Adds logging and admin announce to admin ghosting.
2015-10-10 03:16:05 +03:00
Razharas
0ad7257a52 Merge pull request #12089 from MrStonedOne/maprotation
HOLY FUCKING SHIT, I'VE DONE IT! Map rotation!
2015-10-07 07:53:42 +03:00
Kyle Spier-Swenson
d1d7fb932c Adds logging and admin announce to admin ghosting. 2015-10-05 20:56:15 -07:00
Razharas
92e5038fba Merge pull request #11919 from Jordie0608/theresagoodreasonwhypollcodeislikethisijustdontknowwhatitis
In game interface for creating server polls
2015-10-03 18:18:09 +03:00
MrStonedOne
29cf9bd265 Some map rotation tweaks.
Adds a config option for the map rotation chance.
Ups default rotation chance from 50% of round length to 75% of round length.
Moves the procs around.
Adds two new admin verbs:
Force map rotation.
Change map.
2015-10-02 10:48:09 -07:00
MrPerson
34cb9943a2 Removes NTSL
Reasoning for why it needs to go:

 - NTSL allows anyone to lag the server or crash it.

 - Doohl being gone, no one is going to maintain or expand NTSL. Very little has been done on it for several years now, certainly not any new functionality besides signalling.

 - The only interesting things that can be done with NTSL have already been done and are on the wiki. Which is what 99% of users do, copy a script off the wiki. Not interesting or fun.

 - Users who actually do scripting are too limited to actually do much besides little chat scripts that are amusing for maybe 2 minutes before becoming annoying.

Fixes #11647
Fixes #10595
Fixes #10445
Technically fixes #10032
Fixes #5779
Technically fixes #4710
Fixes #1974
2015-10-02 01:04:09 -07:00
MrStonedOne
c45a7c7173 MERGE CONFLICTS, MY ONLY WEAKNESS
How did you know?
2015-09-26 23:42:14 -07:00
Jordie0608
895c52b649 in game interface for creating server polls 2015-09-21 16:37:21 +10:00
Xhuis
1178fbe079 Major cult changes
The current code for runes is god-awful. Like, seriously terrible. This PR aims to fix that. Rather than having every rune effect defined in a single attack_hand proc, this PR will separate the runes into subtypes, which supports for more modular runes as well as cleans up the code.

It also separates invocation into a two different procs. The first of these will determine if the rune can be invoked; if that passes, the second will cause the rune's effects. There is also a third proc that will cause effects if the rune fails to invoke.

Research words have been removed, and all runes are now available from the start of the round. This is highly subject to change once some feedback is in from actual cult rounds.

Miscellaneous tweaks:

    Blood boil runes now explode when used
    Convert runes can now work solo, but take time
    Armor runes now only provide the basic armor set
    Tomes now do a static 15 burn damage and play a sound
    If the Escape objective is rolled, the amount of people that must escape will scale with the round population to a factor of 5 (i.e. 50 players = 10 cultists)
2015-09-16 10:04:49 +12:00
AnturK
c2a26c81e7 Adds Create Custom Outfit admin verb
Sechud fix
2015-09-08 14:41:15 +02:00
Jordie0608
b7754d5ed7 announce login message as a config 2015-09-04 21:49:09 +10:00
MrStonedOne
dac8c34e78 Sticky ban in game interface 2015-08-14 08:02:15 -07:00
AnturK
8a1e4435b6 Adds admin verb to reset latejoin spawns 2015-08-08 18:52:57 +02:00
Jordie
9fbabcc305 Merge pull request #10798 from MrPerson/exceptions_to_help_phil_fix_potential_bugs_and_also_aran_maybe
Change many ERROR() calls into thrown exceptions
2015-07-25 19:22:46 +10:00
MrPerson
471d69fcf7 Change many ERROR() calls into thrown exceptions
This requires a 508 beta version to use. If Travis fails this he's a bitch

Exceptions will generate a stack trace, which is way easier to see and more helpful in actually solving this kind of crap. Also logs all the arguments, src, line, and file automatically.
Removed any dubiously helpful information in the exception names so the runtime condenser won't see each one as a different runtime. If the information is critical to solve these bugs (camera one maybe?), then I'll just make these warnings.
Thrown exceptions crash the currently running proc. Yes that means there's useless returns in a bunch of these, sue me. spawn()'s are to let the proc continue.

Almost all of these are difficult to trigger, but I did test playsound. And frankly even if they do cause bugs by crashing procs, big whoop
2015-07-23 08:19:08 -07:00
Jordie
99814bc1b9 Merge pull request #10737 from Incoming5643/end_my_suffering
Adds a server admin version of end round now
2015-07-23 22:33:47 +10:00
Jordie
82534bb828 Merge pull request #10577 from Aranclanos/dellog
del log verb no longer inside of the show debug verbs
2015-07-23 21:17:56 +10:00