Commit Graph

2097 Commits

Author SHA1 Message Date
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
f096307c20 Generates messages when xeno eggs are delivered (#24852)
* Generates messages when xeno eggs are delivered

🆑 coiax
add: The egg spawner on Metastation will generate a station message and
inform the admins if an egg is spawned. (It's only a two percent chance,
but live in hope.)
/🆑

Metastation has a 2% egg spawner. If it picks the xeno egg, it does so
silently, telling no one. Now it informs the station and also admins and
the game log.

To reiterate, this behaviour is already in the map, I'm just generating
logging and messages. If admins want to simulate this, they can spawn a
`/obj/effect/spawner/xeno_egg_delivery` in any location they like.

* Xeno delivery makes a command report instead

I also refactored command report to avoid the duplication of the SECRET
COMMAND REPORT announcement.
2017-03-13 21:58:20 +13:00
Lzimann
2d59366ae4 More fixes to incorrectly changed outputs(mainly files) 2017-03-10 13:33:03 -03:00
Lzimann
3dd6722c07 Fix conflict 2017-03-10 01:39:22 -03:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Cyberboss
e48564d941 Arrivals Ferry (#24694)
* Highlight docking ports in TESTING

* Buckle arrivals to their seats

* Fixes shuttle/Initialize not calling the base

* Arrivals docking

* Use forceMove so the shuttle effect starts

* Forgot this check

* Fixes

* Needful

* Fix this shit

* Line endings?

* Double check, fix sound

* Remove empty if

* Fucking lists

* Fix parallax and ghosts

* Ghost fix

* GHOST

* Fix shit

* Fix parallax + config

* I lied slightly

* Hyperspace sound refactor

* Finish fixing the maps + doors

* Fix the sound not playing

* Consoles + area fix

* Updates default config

* Fix line endings

* Safety checks

* Damage checks

* This should be down here

* Clean some stuff up

* Fix a few things on Delta and Omega

* Delete the useless air alarm on Pubby's shuttle

* Fixes #24727

* Always the fucking line endings

* Fix this negative check

* LINE ENDINGS!!!!!

* Revert to master

* Redo the changes

* Fix the sound not repeating

* Readds the shuttle door

* Fix people disabling latejoins
2017-03-10 14:19:34 +13:00
Cyberboss
a55f36ebe9 Moves cross_address/allowed to the config. Merges the protected config into the regular. (#24584)
* Moves cross_address/allowed to the config

* Protect it against modifications

* I'll do you one better

* Merge in the protected configuration
2017-03-10 11:10:08 +13:00
Cyberboss
07e917109a Makes SDQL use vv_edit_var (#24854)
* Makes SDQL use vv_edit_var

* Fix shit
2017-03-10 11:01:12 +13:00
Jordie
cd7c06816d pagination for banning panel (#24833) 2017-03-09 21:19:35 +01:00
Cyberboss
f6f5d9af4b AHH A DEL! (#24796)
* AHH A DEL!

* HELP!

* MORE OF THEM!
2017-03-09 09:16:49 +01:00
oranges
12e6d6c64c Merge pull request #24650 from coiax/admin-renaming-tools
Admins have more tools for renaming the station
2017-03-08 09:23:36 +13:00
bgobandit
a3c4a7d5a6 Reject ahelp and IC issues have a short cooldown (#24663)
* Reject Adminhelp and IC Issue buttons have a cooldown.

* placates the lzimann cat
2017-03-08 09:18:59 +13:00
Jordie
63b3699cdd MySQL Execute error handling (#24738)
* wip commit

* mysql execute proc now handles errors itself

* adds log_sql()

* implements log_sql()
2017-03-07 10:55:42 +01:00
Cyberboss
1bbc640afe Runtime Dynamic Station Loading (#24171)
* Dynamic map loading prototype

* Get the title screen working

* Fixes the random pod bugs

* map configs

* Add back the asteroid

* Ignore the rotate file

* Fix some shit

* More shit fixes

* Babby's first json

* Cyberboss confirmed shitcoder

* Makes map rotation great again

* Moves the map defines

* Delete tgstation2.dm

* Convert runtimestation

* Convert PubbyStation

* Convert OmegaStation

* Convert Metastation

* Convert Delta Station

* Lol file extensions

* Reee line endings

* Take out the trash

* Fix loadallmaps.dm

* Deltaassssssstation?

* Fix travis

* Did I ASK you to change the line endings?

* Remove votable maps

* Cleanup

* Previous config. Load configs in New. Fix splash

* Fix this

* More generic minetype

* STOP TOUCHING THE LINE ENDINGS!!!

* Add some flexibility to /obj/screen/splash

* Fix the shit

* Update gitignore

* Smooth transition from last map

* Better check

* Missed this map rotate check

* Remove these checks too

* Prep for a future request by @kevinz000

* Fix z2 line endings

* Solution for custom .dms

* Rename some things, trim some fat

* Fixes default map_config

* Remove stale comment

* Delete the previous config after loading

* Don't try to open a non-existent file

* Delete the old rotator script

* And references to it

* Line endings

* More line endings

* Del checks from when m-config may have not existed

* LINE ENDINGS

* Update the default map config

* Map load error checking for what it's worth

* Small cleanup

* For case sensitive

* File systems

* Strip maprotate stuff from build script

* Spruce up the _maps tree. Compile some empty space

* Make travis simpler

* LINEARU ENDARU!!!

* tgstation TWO!!!

* Lowercase mine type

* Dummy dm's for testmerging

* Fixes job ordering

* If ghosts wanna watch the map load so be it

* Let them know what's going on

* Fixes z-transitions

* Optimize z expansion further

* Remove this old var

* Fix wiznerd teleportation

* Rmove butt

* Does the thing

* Moved temp configs to the data dir

* Un-touch gitignore

* Forgot templates.dm

* Forgot to include the includer

* Fair enough

* SILENCE IMBECILE!

* @Cyberboss still a fuckboi

* Speed things up a bit

* Fix a potential bug with the error message

* Whatever
2017-03-07 10:45:31 +13:00
Joan Lung
d5c870e714 Merge pull request #24662 from lzimann/individuallog
Adds a way to see a persons's individual logs for the round.
2017-03-05 11:57:37 -05:00
Lzimann
df90fcfc0b Properly re-adds the renamed file 2017-03-04 19:39:01 -03:00
Lzimann
c9021c65be Fixes attack log on VV being sanitized 2017-03-04 15:06:11 -03:00
Lzimann
e58ee1724f Refactors logging into a single var for all mobs and adds a wrapper for proper logging. 2017-03-04 13:32:35 -03:00
coiax
7b3fe757d7 Some CTF changes (#24595)
* Some CTF changes

🆑 coiax
add: CTF players start with their helmet toggled off, better to see the
whites of their opponents eyes. Very briefly.
fix: Existing CTF barricades are repaired between rounds, and deploy
instantly when replaced.
tweak: Healing non-critical CTF damage is faster. Remember though, if
you drop into crit, YOU DIE.
add: Admin ghosts can just click directly on the CTF controller to
enable them, in addition to using the Secrets panel.
/🆑

- @Cyberboss also look at all my New->Initialize conversions.

* Procifies toggle_ctf

* Whoops, two procs with the same name
2017-03-04 23:37:00 +13:00
Lzimann
15e8b7e5f7 Adds a way to see a persons's individual logs for the round. 2017-03-03 22:03:13 -03:00
Jack Edge
7ab0bd5400 Admins have more tools for renaming the station
🆑 coiax
add: Admins have a "Rename Station Name" option, under Secrets.
add: A special admin station charter exists, that has unlimited uses and
can be used at any time.
/🆑

I think station renaming has to include the special server config tag,
so I've made a global proc to handle that. I have other changes, but
these ones should be uncontraversial.
2017-03-03 18:46:31 +00:00
Cyberboss
311ba7b7f0 Fixes admin uploaded map templates (#24581) 2017-03-02 15:12:40 +01:00
Cyberboss
114704b97c You can now smite ahelpers 2017-02-28 21:36:12 -05:00
oranges
f70c5f6c62 Merge pull request #24503 from Jordie0608/itsagoodthingwedontneedtousethepollsforanythingimportantsoonright
Fixes poll_question
2017-03-01 09:11:23 +13:00
Leo
88785f7f86 Changes the button order in the note's menu (#24489)
* Changes the button order in the note's menu

* Fixes spacing
2017-02-28 15:01:52 +11:00
Jordie0608
97733d8dcf fixes poll_question 2017-02-27 23:58:18 +11:00
Jordie
72a93bae7d Continues to add default sql indexes and table optimisations (#24456)
* adds default sql indexes and table optimisations

* fixes warnings

* edits to text and better update queries

* wrong table

* superior copypaste skills

* who has

* names

* that long

* add inet

* fix for badmins giving 2 billion brainloss

* fixes rank name and adds sanitizing
2017-02-27 22:44:26 +11:00
MrPerson
f4e768c895 Ion storm improvements (#24223)
* Ion storm improvements

Ion storms have several new additions:
25% chance to flatly replace the AI's core lawset with something random in the config. Suddenly the AI is Corporate, deal w/ it.
10% chance to delete one of the AI's core or supplied laws. Hope you treated the AI well without its precious law 1 to protect your sorry ass.
10% chance that, instead of adding a random law, it will instead replace one of the AI's existing core or supplied laws with the ion law. Otherwise, it adds the generated law as normal. There's still a 100% chance of getting a generated ion law.

All of these stack so you could wind up going from Asimov to Paladin w/o the first law and w/ the last law replaced with THE SHUTTLE CANNOT BE CALLED DUE TO FIVE NINJAS. All the values are easy to tweak if you guys want them higher or lower or whatever.

Custom admin-sent and other fake ion storms (devils) will just add the law and have no chance of doing any of the bonus stuff.

Removed the admin verb to send an ion storm since you can just use the events panel.

Cleaned up some of the law-adding backend. Hopefully there's no double showing of the AI's laws after a lawchange as a result of this.

* Everyday I'm shufflin'
2017-02-22 13:31:04 +01:00
Xhuis
dd9ef0dd0f Small Highlander patch (#24175)
* Enforces honorable combat

* Now with compiling!

* someBODY once told me the WORLD is gonna roll me

* DOES THE NEEDFUL
2017-02-22 12:00:06 +13:00
oranges
cd1e9ea6c8 Easier stripping of admin private information from public logs (#24222)
A new admin log proc, admin_log_private that appends a different prefix,
to make it easy to filter the logs that are shown publically
2017-02-21 10:56:25 +01:00
oranges
17a7c01e36 Revert "Adds default sql indexes and table optimisations" 2017-02-21 17:53:41 +13:00
Jordie
62da82fcd9 Adds default sql indexes and table optimisations (#24277)
* adds default sql indexes and table optimisations

* fixes warnings
2017-02-21 09:49:48 +13:00
kevinz000
784d594dde Check Antagonists player counting now excludes CTF and living players on central command. (#24249)
* Update player_panel.dm

* Update player_panel.dm

* Update player_panel.dm

* Update player_panel.dm
2017-02-20 09:54:53 +13:00
Cyberboss
1365ab99d8 Merges map templates and map loader (#24140)
* Reorganize the mapping code

* Finish this up

* Reee line endings

* FUCKING LINE ENDINGS

* LINARU ENDARU

* >PLS SET REPO LINE ENDINGS

* Comments

* Hoisted by my own travis.yml changes
2017-02-19 16:55:02 +13:00
Cyberboss
2d424cf6be Moves some stuff that belongs in dbcore to dbcore (#24145)
* Moves some stuff that belongs in dbcore to dbcore

* Wew garbage

* Ree

* Fixed
2017-02-19 14:21:53 +13:00
oranges
4349508853 Merge pull request #24128 from Cyberboss/JobTicker
Lobby timer won't be delayed by subsystem initializations
2017-02-17 14:34:12 +13:00
oranges
94802f48b3 Merge pull request #24075 from Cyberboss/DestroySleep
Adds logging for path that slept in Destroy
2017-02-17 14:14:37 +13:00
Cyberboss
17bc8038f1 Roundstart no longer delayed by initializations 2017-02-14 23:47:01 -05:00
oranges
2cfd92f764 Merge pull request #24077 from Cyberboss/DestroyTurfsAgain
Cleans up ChangeTurf/Destroy
2017-02-15 15:55:04 +13:00
Cyberboss
f2f26c1984 Merge branch 'master' into DestroySleep 2017-02-14 09:32:31 -05:00
kevinz000
17fd29690c Update player_panel.dm 2017-02-13 17:01:01 -08:00
Leo
9c6803ae19 Ports Paradise error handler, with in game runtime viewer! (#24036)
* Ports paradise error handler, with in game runtime viewer!

* Changes to the old runtime error and removes inerror reference

* Oops

* Adds a wrapper for world.log so it displays both in the runtime diary and in DD window
2017-02-14 11:39:31 +11:00
uraniummeltdown
57c89e3dae More Window Flashing (#23923)
* added window flashing pref, added windowflashing to notify_ghosts, pollCandidates and similar procs

* disabled window flash for golem shells, ash walker eggs, drone shells and posibrains

* ignorepref var for ahelp/apm and roundstart
2017-02-14 10:49:06 +11:00
Cyberboss
5efad4b9a0 Adds logging for path that slept in Destroy 2017-02-13 16:53:41 -05:00
Cyberboss
af67d13a74 Fixes admin turf deletion 2017-02-13 14:53:41 -05:00
Joan Lung
36c392948a Merge pull request #23940 from lzimann/namedarg
Allows in-game proccalls to have named arguments
2017-02-11 13:41:45 -05:00
Lzimann
db19d6b2d0 Named args will now go to the end of the list 2017-02-11 02:14:01 -02:00
kevinz000
fbf9e46e60 Fix brains breaking checkantags 2017-02-11 16:23:57 +13:00
oranges
8cda3a7675 Merge pull request #23891 from Jordie0608/errorlocationspecifiedisnotavalidUNCpath
Adds distinct server sql name config
2017-02-11 15:26:20 +13:00
Lzimann
2ea2c44504 Removes positional var 2017-02-10 20:31:17 -02:00