Commit Graph

925 Commits

Author SHA1 Message Date
Cyberboss
abf59e153f Moves tips from config to strings tree (#26722)
* Moves tips and deadmin names from config to strings tree

* Just the tip
2017-05-01 10:51:10 -06:00
Leo
89e60cb88f Changes a lot of ticker and ticker.mode checks to SSticker.hasRoundStarted (#26720) 2017-04-30 23:35:13 +02:00
coiax
3a577221d0 Adds new debug verb for highlighting roundstart ATs (#26492)
* Adds new debug verb for highlighting roundstart ATs

Debug -> Debug Verbs enable
then
Mapping -> Show roundstart AT markers

Will highlight AT turfs, for easier location and comprehension rather
than looking at the list of coords. List of coords still works fine
though.
2017-04-28 12:58:34 -03:00
Leo
f263c4884a Merge pull request #26521 from AnturK/template-turret-control
Fixes templates/ruins not updating area list
2017-04-27 19:02:09 -03:00
Leo
4b9288028d Merge pull request #26612 from ChangelingRain/shuttletimer
Even admin-called shuttles will be affected by alert level
2017-04-27 18:54:54 -03:00
Cyberboss
c9686983f0 Small fix (#26581) 2017-04-27 11:35:51 -03:00
Leo
c2d5bd2a6f Merge pull request #26548 from Cyberboss/patch-56
Fixes map rotation with disabled voting
2017-04-27 11:20:02 -03:00
oranges
2bed29bb39 Merge pull request #26570 from MrStonedOne/patch-353
Fixes some edges cases in the garbage controller
2017-04-27 10:43:48 +12:00
Cyberboss
c086dab047 Fixes master 2017-04-26 18:34:04 -04:00
Cyberboss
6c6fc719ec Refactors roundstart checks slightly (#26131)
* Refactors roundstart checks slightly

* Fix
2017-04-27 10:05:40 +12:00
Cyberboss
729010bbb2 Unorphans the blackbox (#26129)
Moved sql_poll_population from server_maint to this new SS. Moved few remaining server_maint tasks to SSping and deleted it.
2017-04-27 10:04:57 +12:00
Cyberboss
5ace376e4a Initialize Refactor (#25981)
Shouldn't break anything, stops warning spam, logs errors qdel style at the end of the game.

Initialize now expects a hint to be returned, one of:
INITIALIZE_HINT_NORMAL - Does nothing, returned by the root proc
INITIALIZE_HINT_LATELOAD - Call atom/proc/LateInitialize
INITIALIZE_HINT_QDEL - Calls qdel on the atom

LateInitialize currently defaults to the old re-calling behavior so there should be no issues with that.
Things that didn't return a hint or fucked up somehow will be logged less loudly than they were before

No more world start warnings!
2017-04-27 09:02:29 +12:00
Joan Lung
3da3063e82 Even admin-called shuttles will be affected by alert level 2017-04-26 11:58:17 -04:00
Kyle Spier-Swenson
8da8c74dfb >caps 2017-04-25 12:14:49 -07:00
Kyle Spier-Swenson
127bda2042 Compile errors. 2017-04-25 12:10:17 -07:00
Kyle Spier-Swenson
d8208efaff Fixes some edges cases in the garbage controller
We no longer pause when we use up a tick, instead making us wait the delay between fires. (to cut down on lag from consecutive hard deletes) In a later pr I'll also make the MC punish subsystems who go over their allocated tick time with delayed fires and lower tick allotments.

Long hard delete logging moved to HardDelete proc so it can take effect on QDEL_HINT_HARDDEL items as well.

QDEL_HINT_HARDDEL_NOW uses the HardDelete proc now.
2017-04-25 11:49:53 -07:00
MrPerson
ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Cyberboss
e266551346 Merge branch 'master' into ITKEEPSHAPPENING 2017-04-25 01:13:14 -04:00
Cyberboss
01efacfe4c Fixes map rotation with disabled voting 2017-04-24 23:33:53 -04:00
Cyberboss
a050b0db6e >We still let old code in the codebase (#26506) 2017-04-24 22:21:55 -04:00
oranges
7f2b0d0b05 Merge pull request #26397 from coiax/stops-easter-loot
Fixes easter eggs spawning during non-easter; SSevent now inits before SSticker
2017-04-25 11:06:28 +12:00
AnturK
ff4596a6ba Fixes templates/ruins not updating area list 2017-04-24 10:47:45 +02:00
Cyberboss
7ddea10cd7 Exploit whack-a-mole 2017-04-23 21:16:10 -04:00
Jack Edge
5d5f99e062 While we're here, regenerate station names on holidays 2017-04-22 22:08:31 +01:00
Jack Edge
a76d4374c1 Moves init_order to defines, moves SSevents above ticker. 2017-04-22 22:08:31 +01:00
Cyberboss
681f5e10c8 Copies the loaded titelscreen into the rsc 2017-04-20 16:29:11 -04:00
oranges
2ae659a60d Merge pull request #26319 from Cyberboss/SlowDownMobs
Moves simple animal automation from SSmob to SSnpc
2017-04-20 09:47:39 +12:00
oranges
02bcec36d1 Merge pull request #26324 from Cyberboss/MC_SPLIT_TICK
Adds defines for evenly splitting up a subsystem's time to fire
2017-04-20 09:47:18 +12:00
Cyberboss
e7cd4c4bc8 Fixes SSdbcore showing the incorrect ErrorMsg (#26352) 2017-04-19 13:08:24 -06:00
oranges
c948f55c2d Merge pull request #26315 from Cyberboss/LifeMicroOpt
Micro optimization for handle_breathing
2017-04-19 11:13:11 +12:00
Joan Lung
17f1536f05 Merge pull request #26322 from Cyberboss/LightingGC
Normalizes how some lighting things GC
2017-04-18 19:02:11 -04:00
Joan Lung
b9e512915a Merge pull request #26323 from Cyberboss/LightingSetupSpeedup
Speeds up lighting initialization
2017-04-18 19:01:46 -04:00
Kyle Spier-Swenson
0829bba0f2 fixes the garbage subsystem not working, at all. 2017-04-17 13:27:01 -07:00
Cyberboss
f490386a51 Moves simple animal automation from SSmob to SSnpc 2017-04-17 14:32:24 -04:00
Cyberboss
2e41fc6ef3 Adds defines for evenly splitting up a subsystem's time to fire 2017-04-17 13:50:22 -04:00
Cyberboss
0c5011934f Makes this use the right list 2017-04-17 13:37:43 -04:00
Cyberboss
72d0271f94 Normalizes how some lighting things GC 2017-04-17 13:15:39 -04:00
Cyberboss
8f2505f1a1 Micro optimization for handle_breathing 2017-04-17 12:02:44 -04:00
coiax
f30163b365 Configuration option for number of roundstart mice (#26133)
This was actually requested, because it turns out testing powernets is
hard if mice randomly chew wires sometimes.
2017-04-17 02:09:36 -06:00
Cyberboss
3c3f7d3b60 Refactors dbcon into a subsystem (#26134)
* Refactors dbcon into a subsystem

* Swear I got that already...
2017-04-17 15:18:17 +10:00
Cyberboss
944fd9463c Afk fixup (#26181)
* Fixes inactivity/afk semantics and config

* Fixes people in the lobby not getting afk kicked

* Bluh

* Fax

* Doy

* Yes
2017-04-15 13:11:03 -06:00
Kyle Spier-Swenson
d688553d4c Tweaks some procs in garbage to make profiling it better (#26210)
Having soft delete overhead and queued hard delete overhead merging in the profile was confusing me.
2017-04-15 10:37:42 -06:00
Cyberboss
bc72b2e288 Refactors dellogging into SSgarbage/Shutdown (#26135)
* Refactors dellogging into SSgarbage/Shutdown

* list
2017-04-13 16:22:56 -06:00
Kyle Spier-Swenson
11d504e93a Removes hacky see in darkness invisibility bullshit, uses planes. (#25931)
* Removes hacky see in darkness invisibility bullshit, uses planes.

Also removed the use of invisibility for ghosts of others, instead using override images.

Per client lighting visibility now has 4 levels, all on, all off, and two midways, this allows for things to be able to see in the dark while still being able to see what is dark and what has light, ghosts and aliens and other shit can cycle between all 4, other things were given one of the 3 values depending.

* Remove qdel global var search.

* Cleans up code, makes changing lighting/NV level easier.
2017-04-11 21:01:24 +12:00
oranges
240b6ab14c Merge pull request #25841 from Cyberboss/patch-8
Fixes throwing with low speeds
2017-04-11 20:59:27 +12:00
GunHog
801634c32f AI Deployment Fixes (#26036)
- Fixes deployed AIs not counting as active for auto shuttle calls.
- Fixes deployed clockwork AIs counting as unconverted.
- Fixes runtime when attempting undeploy a ghosted AI shell.
2017-04-10 18:06:19 -03:00
Cyberboss
709ec2da87 Fixes throwing at low speeds 2017-04-09 22:21:31 -04:00
Lzimann
d40760ad71 Fix conflicts 2017-04-07 09:12:36 -03:00
Lzimann
a2008ff8c6 Fixes stupid idea 2017-04-07 09:00:22 -03: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